glennlawre Posted August 10, 2016 Share Posted August 10, 2016 (edited) Guys, After updating my site from v1.6.1.1 to v1.6.1.5, all seemed to be ok as I spent a couple of days configuring via the back office. However, now when I try to access the site I get the below error. Notice: Use of undefined constant _PS_CONFIG_DIR_ - assumed '_PS_CONFIG_DIR_' in /domain-folder/config/config.inc.php on line 64Warning: require_once(_PS_CONFIG_DIR_autoload.php) [function.require-once]: failed to open stream: No such file or directory in /domain-folder/config/config.inc.php on line 64Fatal error: require_once() [function.require]: Failed opening required '_PS_CONFIG_DIR_autoload.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /domain-folder/config/config.inc.php on line 64 At first I was only getting this on the front end and could still access the back end, but now I am getting it at both ends and cannot access the admin area. Can anyone offer any assistance? Many thanks in advance... Glenn Edited August 11, 2016 by glennlawre (see edit history) Link to comment Share on other sites More sharing options...
rocky Posted August 11, 2016 Share Posted August 11, 2016 Check to make sure you have config/defines.inc.php on your server and it contains the following: define('_PS_CONFIG_DIR_', _PS_CORE_DIR_.'/config/'); Link to comment Share on other sites More sharing options...
glennlawre Posted August 11, 2016 Author Share Posted August 11, 2016 rocky, Something very strange happened with this file for me! I compared it to one from a fresh version of PS and it was missing a lot of information. I replaced it with the fresh copy and problem was solved Many thanks for your help... 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now