500 Internal Server Error - Alter PHP Config

Hello,
I get 500 Internal error. I tried to alter PHP Config, in order to be able to see the errors but I get the next error:

Configure php directives Error, 9385928349285635786 please contact support

I’m hosting on a free hosting.

I would apreciate it, when someone answers me
Thank you

If the feature in cPanel is not working, just create a .htaccess file in your /htdocs folder and put these contents on the first line:

php_value display_errors 1
4 Likes

Where do you define $this->pdo? Can you share that? Make sure to hide your password, though!

1 Like

If I am correct, you will need to use $this->dbo as it is the actual PDO.

I don’t really know though, because I use don’t use classes in PHP,
and I don’t use PDO, I use mysqli.

3 Likes

:person_facepalming: i think, iknow where’s the problem. I will check it and tell it hier.

The variable name is $dbo but in the function i used $pdo. I solved now the problem, but I got another problem :see_no_evil: :grin:

1 Like

Thank you so much again. I fixed all the problems and the plattform works now.
I wish you a nice day :slight_smile:
best regards

This Topic can be closed. Thank you

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.