Post by wildtech » Fri Feb 03, 2012 9:38 am

HI

I have written an interface to OC from Our Stock system via http SOAP commands and all working fine when looking at the data in the database, just that the web pages are not reflecting changes immediately. Currently I need to manually delete the cache files.

Is there a more elegant way to refresh the web page views as like when you update data via the Admin section it is immediate in any changes?

Php is not the language I know enough to fix this.

I have tried after Commiting the data the follwoing code that should work, but doesn't.

$dir = '/system/cache/'; - FIX is $dir = './system/cache/';
foreach(glob($dir.'*.*') as $v){
unlink($v);
}

Any help appreciated.

Brenton

Newbie

Posts

Joined
Mon Nov 14, 2011 1:22 pm
Who is online

Users browsing this forum: No registered users and 5 guests