You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
$DBCFG["DBdriver"] = "";
/** Dirección IP o nombre del servidor - IP Address of the database server */
$DBCFG["Server"] = "tematres-db-1";
/** Nombre de la base de datos Database name */
$DBCFG["DBName"] = "tematres";
/** Nombre de usuario - login */
$DBCFG["DBLogin"] = "tematres";
/** Passwords */
$DBCFG["DBPass"] = "temates";
...
When i go to localhost it redirects me to localhost/vocab/index.php but it throws a 500 error.
Hi @AbrilJara! 👋
I think the HTTP ERROR 500 message is because you're using the wrong DB password.
Your Dockerfile claims MYSQL_PASSWORD: tematres but in your vocab/db.tematres.php you have $DBCFG["DBPass"] = "temates";.
Yes, thank you. I got really stuck because I couldn't find the logs of the error until I found how to log them. Also i had to insatall some modules that aren't aviable in the php:7.4-apache.
Hi, im trying to run the app using a apache and mysql but it thows a 500 error and can't find in the logs where is the error.
This is my docker compose file:
And this is my db config in the vocab folder:
When i go to localhost it redirects me to localhost/vocab/index.php but it throws a 500 error.
The logs from docker apache container:
172.22.0.1 - - [27/May/2024:16:00:55 +0000] "GET /vocab/index.php HTTP/1.1" 500 211 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
The text was updated successfully, but these errors were encountered: