HTML error Media Upload -GoDaddy Hosting- [FIX]
First of all, I would like to say that this HTML error from using the flash uploader when uploading media files such as images can have multiple solutions. I am posting this solution because after sifting through countless forums I had only seen it mentioned once and I believe it deserves its own thread. I am not an expert at web design.
Okay, so here is the issue that had to be resolved:
Every time I tried to upload an image above 130kb the flash uploader would stop at 100% crunching and show a red “HTML error” message. Switching to the browser uploader produced an error that looked like this:
Now, after trying numerous ways to fix this issue, including editing the .htaccess file, changing permissions on the upload folder, setting the upload folder in settings within the wordpress dashboard, editing my php.ini file, disabling all plugins, changing picture dimensions, and a few more that I cannot remember, I found myself right where I started… nowhere.
However, while searching for a solution I happened upon this post here:
Now towards the bottom a user reports their pictures were being accepted when their file size was less than 130kb. I tried creating one and to my amazement it went through. Thus, I submitted a ticket to GoDaddy asking for them to relay me the value that maxrequestlen was set to.
Long story short, GoDaddy support is completely useless. Not only did they never get back to me on the value, they started claiming the problem was my code/scripting (if you ever use their support service this is not uncommon). Anyway, I decided to take it upon myself to find a solution.
After searching quite a bit more I happened upon this gem:
In this post, the users report that disabling Fast CGI solved a similar issue. The only remaining thing to figure out was how to do that considering GoDaddy’s terrible admin interface. Well, an hour or two later, I figured it out.
This is what you need to do:
1) Log in to your GoDaddy account
2) Go to My Account
3) On the left sidebar click Hosting
4) In the My Products section click on the green Launch button to launch the control center for the site in question
5) A new window will pop up. Click on Settings to expand the section
6) Go to File Extensions Management
7) A table pops up with a bunch of extensions. Check to see if the .php4, .php, and .php5 extensions have “FastCGI” in the Runs under section.
8) If they do, click on the paper & pencil icon, aka the edit button, and change it to the same extension without FastCGI in it. The settings take a minute to go through.
9) Log out, you are done. Try testing an image for upload.
This workaround only works if you have GoDaddy hosting, and may not solve the problem for all cases. However, if you are like me, anything is worth a shot. Also, I am not an expert at web development, so I do not know what turning off this Fast CGI will do to your site. For some it may cause issues. For my site, I have yet to see any problems.
I just want to give a shout out to all those on these forums that have been providing priceless support to those of us running WordPress. Thank you for your time, and I love you all.
Also, if you are using GoDaddy, you should probably switch hosting. 😛
- The topic ‘HTML error Media Upload -GoDaddy Hosting- [FIX]’ is closed to new replies.