Answer the question
In order to leave comments, you need to log in
Why is wordpress not showing up on nginx (error 500)?
Good afternoon, I stumbled upon one problem, I calmly installed sites on wp on my nginx web server, and then the other day, unexpectedly, at the time of installation, "HTTP ERROR 500" crashes, while I see that a redirect is being created
"site.ru/wp-admin/ setup-config.php", in the site logs:
PHP message: PHP Fatal error: require_once(): Failed opening required '/var/www/host/site.ru/wp-admin/includes/list-table.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/host/site.ru/wp-admin/includes/admin.php on line 65" while reading response header from upstream, client: 127.0.0.1, server: site.ru, request: "GET /wp-admin/setup-config.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "site.ru", referrer: "http://yougotanewdomain.com/"
Answer the question
In order to leave comments, you need to log in
Usually this thing has to do with php error messages being turned off
stackoverflow.com/questions/2687730/how-can-i-make...
are you sure you have the file ? /var/www/host/site.ru/wp-admin/includes/list-table.php
Check the error_reporting, display_errors and display_startup_errors settings in your php.ini file. They should be set to E_ALL and "On" respectively (though you should not use display_errors on a production server, so disable this and use log_errors instead if/when you deploy it). You can also change these settings (except display_startup_errors) at the very beginning of your script to set them at runtime (though you may not catch all errors this way):
error_reporting(E_ALL);
ini_set('display_errors', 'On');
After that, restart server.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question