4GLte.eu Posted June 27, 2016 Share Posted June 27, 2016 I cant load the front ena and back office. In dev mode I receive the error: Notice: Use of undefined constant _PS_CONFIG_DIR_ - assumed '_PS_CONFIG_DIR_' in /home/aaaaaaa/domains/domain.com/public_html/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 /home/aaaaaaa/domains/domain.com/public_html/config/config.inc.php on line 64Fatal error: require_once() [function.require]: Failed opening required '_PS_CONFIG_DIR_autoload.php' (include_path='.:/usr/local/php/p53/lib/php') in /home/aaaaaaa/domains/domain.com/public_html/config/config.inc.php on line 64 any hints? Link to comment Share on other sites More sharing options...
rocky Posted June 28, 2016 Share Posted June 28, 2016 Does config/defines.inc.php exist on your server? If not, restore it from a backup or the original PrestaShop archive. If it does exist, make sure it contains the following line: define('_PS_CONFIG_DIR_', _PS_CORE_DIR_.'/config/'); 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