Jump to content

Error 500 -Admin panel


Danny23

Recommended Posts

Hi, 

i have apache, mariadb, phpmyadmin etc on my localhost..

i installed latest presta on my pc 1.7.6.3

everything was ok. Perfect.

 

After some time of learning and playing with it, my admin panel crashed - Internal server error 500 ...

Frontend still working. Changes immediately before crash - installed some modules, disable caching for some CSS study, disable apache optimization, javascript cache..

 

This is error from php_error.log from php server

Quote

[13-Feb-2020 12:49:12 Europe/Prague] PHP Fatal error:  require(): Failed opening required 'C:\wamp64\www\presta\var\cache\prod\ContainerQz2yhen\removed-ids.php' (include_path='C:\wamp64\www\presta\vendor/pear/pear_exception;C:\wamp64\www\presta\vendor/pear/console_getopt;C:\wamp64\www\presta\vendor/pear/pear-core-minimal/src;C:\wamp64\www\presta\vendor/pear/archive_tar;.;C:\php\pear') in C:\wamp64\www\presta\var\cache\prod\ContainerQz2yhen\appProdProjectContainer.php on line 1614
[13-Feb-2020 12:49:12 Europe/Prague] PHP Stack trace:
[13-Feb-2020 12:49:12 Europe/Prague] PHP   1. {main}() C:\wamp64\www\presta\admin365qjgvbk\index.php:0
[13-Feb-2020 12:49:12 Europe/Prague] PHP   2. AppKernel->handle() C:\wamp64\www\presta\admin365qjgvbk\index.php:86
[13-Feb-2020 12:49:12 Europe/Prague] PHP   3. AppKernel->boot() C:\wamp64\www\presta\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php:195
[13-Feb-2020 12:49:12 Europe/Prague] PHP   4. AppKernel->initializeContainer() C:\wamp64\www\presta\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php:135
[13-Feb-2020 12:49:12 Europe/Prague] PHP   5. ContainerQz2yhen\appProdProjectContainer->set() C:\wamp64\www\presta\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php:585
[13-Feb-2020 12:49:12 Europe/Prague] PHP   6. ContainerQz2yhen\appProdProjectContainer->getRemovedIds() C:\wamp64\www\presta\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\Container.php:184

 

What i was trying

- disable modules in databse ps_module table (changing 1 to 0 at new installed modules)

- clear var/cache folder

and nothing happen.

I can get back into backend when i allow debug mode (_PS_MODE_DEV_', true) in defines.inc.php, but when i allowed all caching and optimizing back and set debug mode back to false, error 500 still there. So i cant determine where is the change, that trigger into 500 error. 

Ofc, i can install whole new prestashop and start my playing/learning again from start, but its much better understand whats wrong for me.. 

Sorry, my engl not perfect, you can see :)

  • Like 1
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...