UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  eUKhost's Official Web Hosting Forum > Technical Support > System Security

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 18-08-2010, 21:13
Senior Member
 
Join Date: Jul 2009
Posts: 238
Default Wordpress admin 500 errors

Hi,
Last night I had no sleep. It took me 9 hours of frustration so I"m posting this here to help anyone else who has the problem.


1. I have several sites using Wordpress hosting services
2. Last night I turned on mod_deflate which compresses files by around 70%, recommended by Google
3. Rebuilt apache.... then couldn't log into any Wordpress admin areas.
4. After alot of pain, my last resort was to turn OFF mod_deflate
5. STILL I get errors.

By now I was stressed, very stressed. The server was exactly as compiled before the errors so I emailed Eukhost dedicated support guys. Angelo rebuilt apache and all was fine.

I found out what caused the error.


- Angelo compiled apache without suhosin php hardening

- To trace the error I recompiled it again WITH suhosin and the error returned, this proved it was not mod_deflate which caused the error. It was Wordpress 3 and suhosin

csf firewall says
Check php for ini_set disabled <<< was not done
Check php for Suhosin

Wordpress version 3 has an ini_set in admin.php which tries to change the php memory allocation, and suhosin doesn't allow this = which meant we got a server error on login

I went to Service Configuration >> PHP Configuration Editor >> advanced mode >> Safe Mode disable_functions

and added ini_set

The server error disappears... and security in csf increases

I'll add this to the forum as I didn't find this information anywhere on the internet last night.
It might help others,

Many thanks to Angelo, by recompiling the server without suhosin, highlighted where the problem was. I"d spent 9 hours thinking it was mod_deflate...which was th eobvious culprit as I'd just turned it on.

Cheers
Simon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 19-08-2010, 19:01
Rock's Avatar
Technical Support (eUKhost.com)
 
Join Date: Oct 2006
Location: localhost
Posts: 3,356
Send a message via MSN to Rock Send a message via Skype™ to Rock
Default

Hi Simon,

Thanks for sharing the solution here, would definitely help others suffering from a similar problem Meanwhile, you can find a complete list of PHP's functions which are considered to be dangerous & can be disabled/added safely through the PHP.ini file.. Disabling Dangerous PHP Functions..
__________________

Rock _a.k.a._ Jack
Windows Hosting || Windows Reseller Hosting
Cloud Hosting 100% UPTIME! || Powerful Dedicated Servers
Follow eUKhost on Twitter || Join eUKhost Community on Facebook

For complaints, grievances or suggestions kindly email our FeedBack Dept.
Proper action will be taken accordingly & instantaneously!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-01-2011, 08:37
Member
 
Join Date: Apr 2009
Posts: 58
Default

I had the same problem. All was well using WP 3.0.1, with the problem starting after upgrading to WP 3.0.3.

As Simon says, adding ini_set to the list of disabled functions in php.ini solves the issue immediately.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT. The time now is 22:49.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
UK Web Hosting by eUKHosting 3.1.0
UK Web Hosting by eUKHosting 3.1.0
Copyright © 2001-2012, eUKhost LTD. All rights reserved.

 


UK VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

VoIP Dedicated Servers
Asterisk, Trixbox Dedicated Servers

Business Web Hosting
100% uptime Hosting

UK Cpanel Hosting
cPanel Shared Hosting

Domain Hosting
Cheap Domains & Hosting Plans

UK Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

ColdFusion Hosting
ColdFusion Web Hosting
 
 

Android and Apple App


knowledgebase articles
eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting

Joomla Hosting
Joomla Web Hosting

Mambo Hosting
Mambo Web Hosting

Magento Hosting
Magento Web Hosting

Wordpress Hosting
Wordpress Web Hosting

 

Web Hosting Affiliate Program
 

popular blog categories

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles