• Resolved ckpicker

    (@ckpicker)


    I keep getting ‘HTTP ERROR 412’ when I try to upload photos using the flash-based uploader. Here are the settings in my php.ini file, which I suspect might be the culprit:

    file_uploads = On
    upload_max_filesize = 25M
    post_max_size = 25M
    max_execution_time = 600
    max_input_time = 600
    memory_limit = 20M
    safe_mode = 0

    Has anyone else run into this problem before?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ckpicker

    (@ckpicker)

    This solved my issue:

    SOLUTION:
    If you’re happy editing your blog’s .htaccess file, try adding this to the end of the file:

    <IfModule mod_security.c>
    <Files upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    NextGen uses a file called upload.php for handling uploads, and this code should disable mod_security on that file.

    I am having a smilar problem. Can you please post your entire .htacess file here and version of php? I managed to screw mine up and I don’t have a backup.
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: NextGEN Gallery] HTTP ERROR 412 while uploading photos’ is closed to new replies.