I have made no changes to the blog since I installed it 4 months ago, been working fine until yesterday, now I can log in and type the posts out, then when I click publish or schedule, I get the 500 error with 400 error! I have contacted my hosting company with no response...any advice what to do? Or how to resolve this. PS I have checked the permissions and they are correct at 755. The .htaccess is also fine, it is below. # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /news/ RewriteRule ^(sitemap\.xml|sitemap\.xml\.gz)$ /news/wp-content/sitemaps/$1 [L] </IfModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /news/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /news/index.php [L] </IfModule> # END WordPress Any help is appreciated!
500 error with 400 error? Either it's one or it's the other, not both. You will have to check the php error log for more info. If you do not have access, you can edit a wordpress file (config.php or whatever) and add this: ini_set('display_errors', 1); error_reporting(E_ALL); PHP: Then reload the page and it should show the error if it is php related. If it's apache related, it won't and you'll need to see the apache error logs.
Also check with the webserver's error logs. Your webhosting interface should provide a link to it. The 500 error will usually drop an error in there.
Might be some issue with your .htaccess or config.php, Upgrade your Wordpress version to the latest one and update the forum if something happens.
The error is below: [Wed Aug 19 10:16:52 2009] [error] [client 82.159.178.6] File does not exist: /home/XXXXXX/public_html/500.shtml, referer: http://www.domain.co.uk/news/wp-admin/post-new.php [Wed Aug 19 10:16:17 2009] [error] [client 82.159.178.6] File does not exist: /home/XXXXXX/public_html/500.shtml, referer: http://www.domain.co.uk/news/wp-admin/post-new.php [Wed Aug 19 10:15:17 2009] [error] [client 82.159.178.6] File does not exist: /home/XXXXXX/public_html/500.shtml, referer: http://www.domain.co.uk/news/wp-admin/post-new.php [Wed Aug 19 09:56:48 2009] [error] [client 81.140.4.196] File does not exist: /home/XXXXXX/public_html/404.shtml [Wed Aug 19 09:56:48 2009] [error] [client 81.140.4.196] File does not exist: /home/XXXXXX/public_html/favicon.ico [Wed Aug 19 09:56:17 2009] [error] [client 81.140.4.196] File does not exist: /home/XXXXXX/public_html/404.shtml [Wed Aug 19 09:56:17 2009] [error] [client 81.140.4.196] File does not exist: /home/XXXXXX/public_html/favicon.ico [Wed Aug 19 09:45:57 2009] [error] [client 208.226.210.206] File does not exist: /home/XXXXXX/public_html/404.shtml [Wed Aug 19 09:45:57 2009] [error] [client 208.226.210.206] File does not exist: /home/XXXXXX/public_html/favicon.ico [Wed Aug 19 09:41:07 2009] [error] [client 82.159.178.6] File does not exist: /home/XXXXXX/public_html/500.shtml, referer: http://www.domain.co.uk/news/wp-admin/post-new.php [Wed Aug 19 09:40:20 2009] [error] [client 82.159.178.6] File does not exist: /home/XXXXXX/public_html/500.shtml, referer: http://www.domain.co.uk/news/wp-admin/post-new.php [Wed Aug 19 09:39:20 2009] [error] [client 82.159.178.6] File does not exist: /home/XXXXXX/public_html/500.shtml, referer: http://www.domain.co.uk/news/wp-admin/post-new.php [Wed Aug 19 09:38:20 2009] [error] [client 82.159.178.6] File does not exist: /home/XXXXXX/public_html/500.shtml, referer: http://www.domain.co.uk/news/wp-admin/post-new.php [Wed Aug 19 09:38:09 2009] [error] [client 82.159.178.6] File does not exist: /home/XXXXXX/public_html/500.shtml, referer: http://www.domain.co.uk/news/wp-admin/post-new.php [Wed Aug 19 09:34:56 2009] [error] [client 72.52.255.82] PHP Fatal error: Class 'xml_sitemap' not found in /home/XXXXXX/public_html/news/wp-content/plugins/xml-sitemaps/xml-sitemaps.php on line 110 I have deleted the xml plugin and it is still occuring? Any ideas??
@geester1 You deleted your wordpress plugin but the error occurred from the .htaccess aslo remove these lines from .htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /news/ RewriteRule ^(sitemap\.xml|sitemap\.xml\.gz)$ /news/wp-content/sitemaps/$1 [L] </IfModule> PHP: