Errors like this are logged. Check the error log on your server. If you can’t find the log, please contact your host.
Meantime, enable wp_debug and wp_debug_log and after an error, look at wp-content/debug.log to see if anything gets logged there. https://codex.wordpress.org/Debugging_in_WordPress
You can also try this: Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.
If you cannot access wp-admin, there are other ways to deactivate plugins.
I tried renaming the .htacess couldn’t get login to admin.
Then I tried doing that with the plugins, I got in and it was the WordFence plugin that was making the problem. So I tried to delete it. Idoesn’t delete completely. And because I’m concerned with security I freshly installed it again… and my site was working.
Then when I tried a few days later to login, I got the http error 500 messages again!
This time my ISP sent me this message:
We have investigated on our end and found that the issue is with your code.
Please see below the errors that point to part of the code that is causing the website not to function properly.
[Sun Nov 11 07:50:19.319491 2018] [:error] [pid 19762] [client 159.20.215.254:3097] PHP Warning: require_once(/var/www/adafagan.co.za/www/html/wp-config.php): failed to open stream: Permission denied in /var/www/adafagan.co.za/www/html/wp-load.php on line 37
[Sun Nov 11 07:50:19.319554 2018] [:error] [pid 19762] [client 159.20.215.254:3097] PHP Fatal error: require_once(): Failed opening required ‘/var/www/adafagan.co.za/www/html/wp-config.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/adafagan.co.za/www/html/wp-load.php on line 37
I don’t know how to fix that! I’ve googled and got no help on that.
So I’ve changed permissions on directories and files to 750 & 644 (including wp-config.php, .htaccess & wp-load.pnp) ….but still can’t login to my admin!
Please how do I fix this problem with error 500 and wp-load.php on line 37 ???
Please I need simple un-complicated instructions. No high IT stuff. Because I can’t find line 37 in the file (when I downloaded it) and if I did, I won’t know what to find there or how to make changes!!!
Directories should be 755. See if that helps.
Hi. Also tried (permissions 755) that too. Still can’t login in.
How do you fix the wp-load.php on line 37 problem?
Ask your host to review your file ownerships and permissions.
Thank you for trying to help. Sorry to take so long to get back to you.
Since your reply, I tried changing ftp permissions, but got `Forbidden 403′ on trying to login.
I tried speaking to my ISP (Vox Telecom South Africa) support, but they refuse to help in any way. They say I must do the website designing myself!
I then deleted WordPress files from my FileZilla ftp (thinking to get rid of the offending file in someway in the system) and downloaded a new WordPress to my laptop. Then unzipped it and inserted it into my ftp connection.
But that’s where I got stuck. My ISP doesn’t provide an auto installer! And can’t connect with my database there.
And because I’m not fully IP, I can’t re-install my website properly: I tried every instruction I could find on the internet, but configuring files is too complicated for me.
Please is there anything else I can do, to re-install my Website?
Please review the installation instructions;
https://codex.wordpress.org/Installing_WordPress
As you already have a database, it would be best to copy wp-config-sample.php to wp-config.php and edit in your database information, then upload the file along with the rest of WordPress.
Hi, thank you for replying.
The reason I didn’t get back to you straight away, is that: Vox Telecom has now decided to help me. So the site is up and running…
Except: I can’t upload images into the media library!
I found there a no wp-upload file in the WordPress download I got off the internet!
That’s very strange…why would WordPress offer a free download if there aren’t all the files in it!
When you properly install WordPress, it will create wp-content/uploads and any necessary subdirectories.