cancel
Showing results for 
Search instead for 
Did you mean: 

Magento Autoload Error

SOLVED

Magento Autoload Error

After extracting Magento to htdocs in Xampp, I typed 127.0.0.1/magento in browser. I got this:
"Warning: require(D:\xampp\htdocs\magento\vendor/magento/module-require-js/registration.php): failed to open stream: No such file or directory in D:\xampp\htdocs\magento\vendor\composer\autoload_real.php on line 60

Fatal error: require(): Failed opening required 'D:\xampp\htdocs\magento\vendor/magento/module-require-js/registration.php' (include_path='D:\xampp\htdocs\magento\vendor/magento/zendframework1/library;D:\xampp\htdocs\magento\vendor/phpunit/php-file-iterator;D:\xampp\htdocs\magento\vendor/phpunit/phpunit;D:\xampp\htdocs\magento\vendor/symfony/yaml;D:\xampp\php\PEAR') in D:\xampp\htdocs\magento\vendor\composer\autoload_real.php on line 60"

 

Please suggest.

2 REPLIES

Re: Magento Autoload Error

Try after renaming you folder name under htdocs/magento to htdocs/magento2.

 

Thanks,
Tarandeep
Magento 2 Certified Solution Specialist (x2). Follow me on Twitter

Re: Magento Autoload Error

Thanks a lot. Worked perfectly