Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cache problems


golith

Recommended Posts

Posted

Warning: preg_match() [function.preg-match]: Unknown modifier 'a' in /clientdata/zeus-dynamic-1/c/i/cictradinggroup.com.au/www/catalog/admin/includes/functions/general.php on line 963

 

this is the error i am getting

 

can someone break this whole concept down for me as im not sure y using cache is good

 

and i do have it turned on in configuration/cache ...&& using /tmp/ as the location (but as this is on a webserver should i be creating the foler first???

 

here is the error it is throwing

 

in case my moded file is different here is the line

962 $cached_file_unlink = preg_replace('/-language/', '-' . $languages[$j]['directory'], $cached_file);

963 if (preg_match('/^/' . $cached_file_unlink, $cache_file)) {

964 }

 

Regards

Golith

  • 4 months later...
Posted

 

963 if (preg_match('/^/' . $cached_file_unlink, $cache_file)) {

 

 

Hi,

 

Change to

if (preg_match('/^' . $cached_file_unlink . '/', $cache_file)) {

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...