Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
IceCore Posted May 1, 2020 Posted May 1, 2020 Hey all, I moved to another server that has installed Plesk. Since I moved and restored the files and the SQL with the new credentials in the conf_global.php, I have Error 500 without any log, or correctly explained what the issue is. Here's the page: Tried the suggested with the .htaccess file, which exists and via SQL to turn off the Friendly URLs, but nothing helps. When I try a new installation, it works. Should I try the new installation and then push the files from the backup?
opentype Posted May 1, 2020 Posted May 1, 2020 Do you get into the ACP? Do you know about the Recovery Mode? Meddysong 1
Miss_B Posted May 1, 2020 Posted May 1, 2020 (edited) 500 error is a general error that usually occurs either when there's a problem with the server or the script that you are using. Personally I think that something might have gone wrong with the move. If you can get to the precise eror message it would be a big help in pointing towards the real cause of the error. Can you access your database? Edited May 1, 2020 by Miss_B
IceCore Posted May 1, 2020 Author Posted May 1, 2020 51 minutes ago, opentype said: Do you get into the ACP? Do you know about the Recovery Mode? I can't get to the ACP, when I try, the same error page appears. 42 minutes ago, Miss_B said: 500 error is a general error that usually occurs either when there's a problem with the server or the script that you are using. Personally I think that something might have gone wrong with the move. If you can get to the precise eror message it would be a big help in pointing towards the real cause of the error. Can you access your database? I posted a screen shot of the error, I went to the uploads -> logs but there's nothing inside except the empty index.html file.
bfarber Posted May 1, 2020 Posted May 1, 2020 It sounds like your database doesn't exist. Open conf_global.php and verify your SQL credentials are correct.
IceCore Posted May 1, 2020 Author Posted May 1, 2020 (edited) 22 minutes ago, bfarber said: It sounds like your database doesn't exist. Open conf_global.php and verify your SQL credentials are correct. I checked that multiple times, I'll do something else right now, I'll try to re-install a fresh one, and try to connect a new DB. if it will work, i'll try to replace the new to backed-up files. It seems like the conf_global.php is the issue here... Update: I performed a new installation and it works properly. Now, i'll check the conf_global file and compare it to the new one which is created in the new installation. Edited May 1, 2020 by IceCore
IceCore Posted May 2, 2020 Author Posted May 2, 2020 (edited) Resolved: conf_global.php, the sql_socket was located in a different place in the system: 'sql_socket' => '/var/run/mysqld/mysqld.sock', instead of 'sql_socket' => '/var/run/mysql/mysql.sock', The error can be more informative, it should be detected and show that this is the issue at the first place. @bfarber Edited May 2, 2020 by IceCore
bfarber Posted May 4, 2020 Posted May 4, 2020 The error message comes directly from MySQL, not from us. We're reporting back to you the error MySQL produced. I agree it could be a bit clearer, but we don't develop MySQL itself.
Recommended Posts