Articles of 500 internal error

Unable to access website admin page – 500 error – how to change landing page

Help is required to solve a problem created by a stupid mistake. Our website is hosted by Godaddy and created with WordPress. It had been set up and running smoothly for long. Recently We wanted to keep the website down for some time as we wanted to modify some contents. So with a “brilliant-idea-moment”, using […]

How to solve 500 Error on WordPress Admin Dashboard due to time-out on getdirsize

problem: Only some blogs did not show the dashboard (but did show all other admin pages). I have left this problem for some time (months) since Googling did not bring up anything relevant and I was too lazy to investigate (and could work around it by logging in, getting a 500 error and then press […]

500 Internal Server Error when updating htaccess

I’m using a quiz plugin for WP which caused a 504 Gateway Timeout after adding too many questions. The developer told me to update my .htaccess file with the following code: php_value max_input_vars 5000 php_value 5000 php_value suhosin.request.max_vars 5000 This is the .htaccess code before I added the 3 lines of code: # BEGIN […]

get_home_path() returning error 500

I’m using get_home_path() because i need to store a file from a temporary directory to an archive folder (i’m doing this using php’s copy() function). The problem is that get_home_path() returns me an error 500 (internal server error). If i comment that function, the script works. Any idea on why is this happening? UPDATE as […]

What might cause a POST to wp-admin/async-upload.php to return JSON >and< HTML?

In the media tab, upload of a valid image file results in display of “HTTP error”. Reload of the media tab shows that the image did upload and resize, though. Browser debug tools show that on upload, browser is making a POST to wp-admin/async-upload.php. The server responds with a 500 error. The body of the […]

Getting a 500 internal server error ONLY on wp-admin/options-permalink.php

I have access to the admin panel, and everything works fine. I can click settings->reading and change anything I want to. But if I click settings->permalinks I get a 500 internal server error. Here’s what I’ve tried: I deleted the .htaccess file – nothing changed. I edited the .htaccess (because I am migrating this site […]

.htaccess and 500 error, extra character added

I am having a weird problem. Every few days I go to my website and get an “Internal Server Error” – Or 500 error. I go into the .htaccess file of the site and notice it’s been altered. One character is added at the end of the file. It’s easy to fix and continue on, […]

.htaccess file redirecting to parent directory

I am creating separate WordPress installations in several subdirectories of one domain. At first I was getting a 500 Server Internal error.. so I created the .htaccess file and uploaded it to each WordPress installation root. .HTACCESS file: # BEGIN WordPress RewriteEngine On RewriteBase /zingery/wordpress/ RewriteRule . /zingery/wordpress/index.php [L] # add a trailing slash to […]

Calling a wp_query $posts causes a 500 error

I had a very basic wp_query, below: // WP_Query arguments $args = array ( ‘post_type’ => array( ‘post’ ), ‘post_status’ => array( ‘draft’ ), ‘posts_per_page’ => ’15’, ); // The Query $posts = new WP_Query( $args ); This caused a 500 error. When I changed $posts back to the more traditional $query, everything was fine. […]

Why is a 500 error generated by admin-ajax.php not going into the Apache error log?

I’m getting 500 errors with AJAX on the admin side. However, these errors aren’t being logged in the Apache logs so they’re rather hard to debug. Is there some way I can find out what they are? Thanks