Jump to content

Back Office unavailable, blank page or 500 error


Recommended Posts

Our BO returns a 500 error in newly migrated website. We switched on debug in Defines.inc and get the following alert:

Quote

RuntimeException

Unable to write in the logs directory (/var/www/vhosts/perrytaylor.fr/perrytaylor.eu/var/logs)

in Kernel.php line 769

at Kernel->buildContainer()in Kernel.php line 643

at Kernel->initializeContainer()in Kernel.php line 136

at Kernel->boot()in Kernel.php line 196

at Kernel->handle(object(Request), 1, false)in index.php line 82

Front end works perfectly..

We tried changing php (versions 7.2.28, 7.2.34, 7.1.33) same result.
We emptied var/cache/dev and /prod same result
We increased PHP memory, same result
We changed permissions of /var/logs/, same result
We tried disabling modules manually, same result

Any other suggestions??

PS 1.7.7 CentOS7

Link to comment
Share on other sites

I have solved this error. I installed a fresh version of Prestashop in a sub-folder. I deleted the troublesome /var folder and replaced it with the new one from the sub-folder.

Permissions and ownerships were identical on both /var folders. If anyone has an explanation I am interested, we lost several days trying to understand this one, nothing in the logs except above quote.

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