Terru Ku Posted May 18, 2023 Posted May 18, 2023 hi i just uploaded a site that is working on another hosting service. when i try to hit the site i get an internal 500 error but nothing in the logs either the error or the access logs. am i missing something? the site is http://helios1.heliohost.us/
wolstech Posted May 18, 2023 Posted May 18, 2023 Your database settings for the app in env.php are invalid or not supported. I renamed the app/env.php to env.php.out and it now seems to start and want to install. I don't believe we allow connections on port 3307 either, so that remote database likely isn't going to work even if the credentials are right.
Terru Ku Posted May 19, 2023 Author Posted May 19, 2023 thanks. I have changed the DB settings to point to the local database but stil get the error More importantly which log file do i see to debug this myself? there is nothing in the apache error.log
Terru Ku Posted May 19, 2023 Author Posted May 19, 2023 I regenerated the app.env from the install script and it works now.. thanks. but the question about which log file to check still remains
wolstech Posted May 19, 2023 Posted May 19, 2023 PHP errors are logged in error_log in the logs folder in your home folder. That said, when an application produces a 500 error after being moved from another host, the first thing to check is usually the database settings, so I just looked there and immediately found an issue.
Terru Ku Posted May 19, 2023 Author Posted May 19, 2023 I did look at error_log but found nothing there. even when i changed the DB settings manually it was not working... but still nothing in the error_log .... strange
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now