Jump to content

Error in Index.php


Recommended Posts

Now I have this problem:

Warning: require_once(/Applications/XAMPP/xamppfiles/htdocs/config/../vendor/autoload.php): failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/config/autoload.php on line 26

Fatal error: require_once(): Failed opening required '/Applications/XAMPP/xamppfiles/htdocs/config/../vendor/autoload.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in /Applications/XAMPP/xamppfiles/htdocs/config/autoload.php on line 26

And in the autoload.php I have:


since line 26:
require_once __DIR__.'/../vendor/autoload.php';

define('_PS_VERSION_', AppKernel::VERSION);

require_once _PS_CONFIG_DIR_.'alias.php';
require_once _PS_CLASS_DIR_.'PrestaShopAutoload.php';
spl_autoload_register(array(PrestaShopAutoload::getInstance(), 'load'));

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...