Jump to content

Failed opening required '_PS_CONFIG_DIR_autoload.php' ?


4GLte.eu

Recommended Posts

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 64

Warning: 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 64

Fatal 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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...