Error copying website to localhost via XAMPP phpMyAdmin
Permalink
Hi, I recently lost my work on XAMPP localhost so I had to do a fresh install of XAMPP and C5. I copied my database and files from my web server and successfully imported the database onto the new C5 localhost database through phpmyadmin, but I get an error on the c5 page saying
"Symfony\Component\ClassLoader\MapClassLoader::loadClass(): Failed opening required 'C:/xampp/htdocs/gnyce/packages/login_block/controller.php' (include_path='C:\xampp\htdocs\gnyce\concrete\vendor;C:\xampp\php\PEAR')"
What could I have done wrong (or not done) and how do I fix it?
"Symfony\Component\ClassLoader\MapClassLoader::loadClass(): Failed opening required 'C:/xampp/htdocs/gnyce/packages/login_block/controller.php' (include_path='C:\xampp\htdocs\gnyce\concrete\vendor;C:\xampp\php\PEAR')"
What could I have done wrong (or not done) and how do I fix it?
Solved it, had missing packages
it looks like C5 is expecting that login package to be installed but can't find the controller.
Did you copy all the packages over as well?
Did you copy all the packages over as well?
Yes, copied all the packages then uninstalled them due to some other errors the packages' registerAssets() functions were causing when I want to edit a page.