What happend if you disablethe flash uploader ?
Naturally – everything works just fine. I can upload pictures one by one. With the current problem I upload pictures through zip or directly through the server(ftp/cpanel) – no problem for me. Though, since the problem presists my girfriend (less experienced user) cannot add pictures anymore – zip and ftp are to difficult 🙂
There was a time when it worked fine (some previous versions of wp and nextgen). I even did a plugin reset – nothing helps.
Great plugin and great job and thx for your attention.
By the way this is the blog: http://hanne-bronek.broneg.pl
Inspired on other posts regarding “404” problems in NextGEN I switched off permalinks to see what happens. The result is the same. Instead I get only another error:
ERROR HTTP ERROR : imgname.jpg : 403
My permalinks structure when it is switched on looks like this:
/%year%/%monthnum%/%post_id%/%postname%/
Greetz,
Bronek
Hi,
Any new ideas for the source of my problem?
Can you upload images via the wordpress core flash uploader ?
It seems you have restricted HTTP access to the plugin folder including uploader file.
Try to place .htaccess file with following code to ‘nextgen-gallery/admin’ folder:
<FilesMatch "upload.php">
Allow from all
Satisfy Any
</FilesMatch>
@alexrabe With a fix in .htaccess – I can. I found info on this problem here.
It has in general sth to do with mod rewrite. On some Czechish website which I could not understand very well (I am Polish) they suggested placing a searate .htaccess in /admin folder of NextGEN gallery. Though users reported that it didn’t help.
This are the lines which are added in my main WP .htaccess file:
#BEGIN Image Upload HTTP Error Fix
<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
<IfModule security_module>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
<IfModule security2_module>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
#END Image Upload HTTP Error Fix
Can you understand anything of it? Do you see a solution?
Alright, roblem partly solved:
I modified above .htaccess code to exclude form mod_security the file admin/upload.php as well. Modified addition looks like this
#BEGIN Image Upload HTTP Error Fix #2
<IfModule mod_security.c>
<Files upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
<IfModule security_module>
<Files upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
<IfModule security2_module>
<Files upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
#END Image Upload HTTP Error Fix
This finally allows me to upload with flash uploader. It creates a security threat though – and therefore solves problem only partially.