• I just installed WordPress through ISPConfig with Softulicous. I can sometimes upload an image but it works then doesn’t work. Not sure what is going on.

    I am using Ubuntu 14.04 server.

    I have tried the following without any success:

    – Same error with IE, FF, and Chrome
    – added this to .htaccess file:
    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>
    – deactivating all plugins
    – changed themes and it was still an issue
    – another posted suggested this, but I do not have this file:
    Edit the following file:
    /etc/httpd/conf.d/fcgid.conf
    Add this line (just below all of the other lines that start with ‘Fcgid’):
    FcgidMaxRequestLen 1073741824
    – found a post suggesting this:
    You can also add this to your wp-config.php file: define(‘WP_MEMORY_LIMIT’, ’64MB’);
    – uploads directory was 777 anyhow so no need to change to to 755 as suggested in other posts

    It seems to be related to the size of the file I am sending up. If I send up a smaller file, such as 20k it works without any problems. If I send up a file that is 152k it gives me that message.

    Any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Rushin

    (@rushinparmar)

    try to incress your file upload limit there are two method
    1. add following code in PHP.INI file.

    upload_max_filesize = 64M
    post_max_size = 64M
    max_execution_time = 300

    2. add following code in .htaccess file

    php_value upload_max_filesize 64M
    php_value post_max_size 64M
    php_value max_execution_time 300
    php_value max_input_time 300

    Thread Starter techguyalabama

    (@techguyalabama)

    `Thank you for your response. Just to go over what you suggested…

    This is my .htaccess file:

    ## Default .htaccess file

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    php_value upload_max_filesize 64M
    php_value post_max_size 64M
    php_value max_execution_time 300
    php_value max_input_time 300

    # END WordPress

    I made changes to the php ini file:
    sudo nano /etc/php5/apache2/php.ini
    sudo service apache2 restart

    This did not change the problem. Here is a printscreen of the message I am getting:

    http://techguy.ws/imagehosting/f.png

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘infamous WordPress HTTP Error while trying to upload images’ is closed to new replies.