A
A
Alexander2017-11-15 16:06:55
Prestashop
Alexander, 2017-11-15 16:06:55

How to overcome error 500 when entering prestashop admin panel?

I'm transferring the site from a local server to nic.ru hosting,
there was a problem when entering the admin panel, the login
form is displayed normally,
but when I try to authenticate, it gives an error 500
, nothing writes to the logs :) I can't figure out where the reason
is, the debug mode is turned on

/* Debug only */
if (!defined('_PS_MODE_DEV_')) {
    define('_PS_MODE_DEV_', true);
}
// добавил еще для принудительного перехода
define('_PS_MODE_DEV_', true);

/* Compatibility warning */
define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true);
if (_PS_MODE_DEV_ === true) {
    @ini_set('display_errors', 'on');
    @error_reporting(E_ALL | E_STRICT);
    define('_PS_DEBUG_SQL_', true);
}

I don't understand anything :(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2017-11-15
@alexmixaylov

wow, I found
it turns out it was necessary to
enable error logging in the hosting settings php module management
Class 'PDO' not found in .....
turned on the PDO module
and everything worked

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question