Jump to content

Clear cache error


webspinning

Recommended Posts

Thanks for that.  I do get an error log, it appears to be 500+ copies of the same two lines

16-Jan-2019 08:19:05 UTC] PHP Warning:  file_exists() [<a href='http://docs.php.net/manual/en/function.file-exists.php'>function.file-exists.php</a>]: open_basedir restriction in effect. File(/opt/plesk/php/5.5/share/pear/smarty_internal_data.class.php) is not within the allowed path(s): (/var/www/vhosts/11essence.co.uk/:/tmp/:/var/lib/php/session/) in /var/www/vhosts/11essence.co.uk/httpdocs/shop/classes/autoloader.class.php on line 89
[16-Jan-2019 08:19:05 UTC] PHP Warning:  file_exists() [<a href='http://docs.php.net/manual/en/function.file-exists.php'>function.file-exists.php</a>]: open_basedir restriction in effect. File(/opt/plesk/php/5.5/share/pear/Smarty_Internal_Data.php) is not within the allowed path(s): (/var/www/vhosts/11essence.co.uk/:/tmp/:/var/lib/php/session/) in /var/www/vhosts/11essence.co.uk/httpdocs/shop/classes/autoloader.class.php on line 92

which appears to suggest an issue with autoloader.clas.php

Any clues please?

thank you

 

(update: just spoken with store owner and this is the first time they have used the clear cache option - been on 6.2.2. since last October but was not aware what the clear cache did so left it alone.  Could it be an upgrade issue?)

Link to comment
Share on other sites

You can manually clear the cache folder.

See: https://github.com/cubecart/v6/issues/2051

Otherwise, the error log suggests that there is a server environment configuration mismatch. The PHP.INI file, for "include_path", is including the /pear/ folder, but the open_basedir directive is not allowing that folder to be accessed.

CubeCart joins the established "include_path" with the paths to the various plugins, and then CubeCart's class file "autoloader" uses the result to find class files.

You may need to have your hosting provider get this sorted.

Link to comment
Share on other sites

Hosting provider reset some file permissions and we emptied the cache and all is working beautifully.

Will probably schedule a cron job to clear the cache every month from now just to prevent any future issues but the shop Admin now know what the Clear Cache button is for.

Thanks for  your help, creating the error log was a big step in resolving

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...