Jump to content

[SOLVED] 500 internal server error when enter to the Admin Panel


Iboom

Recommended Posts

I changed config/defines.inc.php file

set '_PS_MODE_DEV_' to true

after this i have error

The file ...doctrine.yml does not contain valid YAML: The constant "PDO::MYSQL_ATTR_INIT_COMMAND" is not defined at line 19 (near "!php/const PDO::MYSQL_ATTR_INIT_COMMAND: "SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''))"") in ...doctrine.yml (which is being imported from "...app/config/config.yml").

Exceptions 3

Symfony\Component\Config\Exception\LoaderLoadException

in ...vendor/symfony/symfony/src/Symfony/Component/Config/Loader/FileLoader.php (line 180)

my doctrine.yml is

image.thumb.png.358cb0230efea989cc77a256cb829bdd.png

PHP Version: 8.3.12; PrestaShop Version: 8.2

P.S. I cleared cache folder (var/cache), but it didn't help

Edited by Iboom
[SOLVED] (see edit history)
Link to comment
Share on other sites

  • Iboom changed the title to [SOLVED] 500 internal server error when enter to the Admin Panel

I have a similar issue and can't resolve it. Since yesterday, I can no longer access the admin page:
http://prosport.it/admin123/index.php

As soon as I try to log in, I get the error: HTTP ERROR 500.
I haven’t made any changes or updates.

CAN YOU PLEASE HELP ME?

 

tks

Schermata 2024-12-09 alle 12.08.41.png

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