Quantcast
Channel: 500 – WordPress.org Forums
Viewing all articles
Browse latest Browse all 2443

Gwen Rhys on "500 Internal Server Error after upgrading to Wordpress 4.0"

$
0
0

I updated 3 websites with 4.0 a couple of days ago and had the 500 Internal Server Error message on all sites which seemed to come and go.
2 sites are now fine but one (the most important of course) seems to have "crashed". When I try to login to wp-admin I get a message to repair wp-config.php file by adding define('WP_ALLOW_REPAIR', true);

I've done that and over-written file on server. No change.

The following code is in the file repair.php and Microsoft expression Web is highlighting the code $_GET as being an error.

Is this the problem? It's rather troubling to say the least especially as I'm not an expert, just a gifted amateur!!!

if ( ! defined( 'WP_ALLOW_REPAIR' ) ) {
echo '<p>' . __( 'To allow use of this page to automatically repair database problems, please add the following line to your wp-config.php file. Once this line is added to your config, reload this page.' ) . "</p><p>define('WP_ALLOW_REPAIR', true);</p>";
} elseif ( isset( $_GET['repair'] ) ) {
$optimize = 2 == $_GET['repair'];


Viewing all articles
Browse latest Browse all 2443

Trending Articles