When installing this wordpress blog I encountered a problem when trying to upload files. When googling the problem I found that some had been trying to mess around with the .htaccess file. I tried that, but it didn’t seem to do the trick for this version of wordpress. So after a while I found a solution which worked on my version of wordpress.

The fix for wordpress 2.8.2

If you don’t know the full path to your wordpress directory you can create a PHP file in your wordpress directory with the content

<?php echo dirname(\$_SERVER['SCRIPT_FILENAME']) ?>

Run this file in your browser and it will show you the full path to your wordpress directory.

Also make sure that the folder “uploads” exists in your wp-content folder and is writable by Apache.

### 4 Responses

1. meaghan says:

could someone please re write the advice above in english for me ..
I dont understand any of it .. and I have had this problem for 2 weeks now .. with thanks

2. Zaman says:

I was using WordPress 3.4.1 version after upgrading 3.4.2 version i was facing the HTTP Error problem when tried to up load image and activating the plugin, editing the .htaccess file and so on didnt worked for me, problem sucked my 10 hours, this is a bug for 3.4.2 version, i uploaded the older version script 3.4.1 then it worked for me.

3. Solution after Media Temple upgrates on Plesk and PHP.

Edit the following file:
/etc/httpd/conf.d/fcgid.conf

FcgidMaxRequestLen 1073741824

Restart your Apache web-server service with this command:

service httpd restart

Yey!

4. Johnny says:

Great, I have searched for at solution to this upload problem for two days, and then it was so simple.

I was up and running with image uploads in a couple of minutes. Thank you
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.3003859221935272, "perplexity": 2658.2880159676774}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 20, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2020-34/segments/1596439739134.49/warc/CC-MAIN-20200814011517-20200814041517-00421.warc.gz"}