Admin Access Issues After Migrating PrestaShop Site to a New Host

After migrating my PrestaShop store to a new AWS EC2 host with manual PHP installation, the admin panel gives a 404 and FatalError.

FatalError: Loader cannot find '/srv/app/vendor/newfile.php'

hey alex, did u check your vendor file perms? sometimes migrashun can mess deps up. any extra logs you can share? kinda curious how u solved it if more tweaks were needed…

hey alex, seems u might have a bad path config. try checkng your vendor files and make sure composer is setup correctly on the new host. hope dis helps!

Having experienced similar issues when migrating a PrestaShop site, I recommend verifying that all required dependencies are present and correctly installed on the new host. In my case, re-running composer helped resolve file path discrepancies that were causing your admin panel error. It appears that some vendor files might not have been transferred or configured correctly during the migration. Adjusting the file permissions and ensuring that the vendor directory is intact proved to be an effective solution in my situation.