Problem Updating and Uploading to Wordpress website on ISPConfig3 - Fedora 13
I actually resolved this issue. I thought I would post the results because it took most of my day to get this figured out! Maybe posting this here will save others some time.
I have joomla sites on the same server and they run without any problems.
The server is on my local 100MB LAN and there is one connection from the router to the Internet through a cable modem.
The settings for the website are:
While shelled in as 'root' run the command:
More description of the problem and sysmptom:
I can FTP (FilaZilla) to upload unzipped themes and plugins to the Wordpress website.
I can use the Wordpress admin interface to install plugins from the web.
I can use the Wordpress admin interface to install themes from the web.
I can use the Wordpress admin interface to install plugins from zip files on my PC.
I can use the Wordpress admin interface to install themes plugins from zip files on my PC.
I cannot auto-update my Wordpress website.
When I try I get the error message: 'Could not create directory.: /web'
The image I am trying to upload is named hfbt.jpg and is 164KB.
I cannot add images to posts or pages when I try, I get the error message:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, email@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.17 (Fedora) Server at hyper-facebook-traffic-unleashed.com Port 80
NOTE: if this site is using 'Own Error-Documents' then this error message will have error number 500 in it.
OK, now on to troubleshooting the problem...
I had another issue with Wordpress sites causing a lot of errors to be written to the error.log file. This made it difficult realize these were two different problems. After realixing there were at least two problems, I finally saw the error message for this problem.
I Googled for:
The Syntax of the directive is -
I knew the name of the file to update ISPConfg3 from other issues I dealt with and searched on this forum for.
From the shell prompt to find a file you may need to update the file database first by running
I checked the file size of the Wordpress update and found that it's compressed file size is over 2MB, so I changed the apache directive FcgidMaxRequestLen from 2000000 to 5000000.
Now I can update my Wordpress site from the admin panel!
To summarize, the default value for the 'HTTP Request length' which is 'FcgidMaxRequestLen' is only 131072 bytes. This is changed using the apache directive 'FcgidMaxRequestLen bytes' which can be done through the ISPConfig management console.
Wordpress 2.000.000 hits How to
!!Uau, MrCompTech this is very usefull.
I will facebook this now!!!
Twitt this NOW!!!
thank you sir!!!!! you're the fu**** MAN! :D:D:D
ive been at this for 3 days now then i came accross your post
YOU ARE THE MAN!!!
i dont think i would have ever found that and in thre mean time i learnt where the log file was too
Many thanks, saved me hours of head scratching. :)
Can the next release of ispconfig3 make the default value slightly higher to avoid this symptom and save many a late night? Ive got to find time to watch Game of Thrones too you know :-)
Thanks again all.
i had this problem long ago.
I set the param in /etc/apache2/mods-enabled/fcgid.conf and added:
Problem solved for all Webs
After 2 years and you are still F*CKN THE MAN OF THE DECADE YOU ARE AWESOME :D :D :D :D
Very useful post.
Saved me hours of Googling, tests and etc...!!!
Thanks - was very useful ! New Wordpress 3.4 - ISPConfig 22.214.171.124
Only to add in the apache directives of ISPConfig was the shortest way,
but I was thinking around earth :D
|All times are GMT +2. The time now is 13:43.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.