Hello everyone,
Any time I am trying to submit modifications, I get this screen (see attachment).
1) plugin pages (updates)
2) picture modify pages, such as admin.php?page=picture_modify&cat_id=5&image_id=113
Please help!
Offline
To my best knowledge permissions for files and folders set correctly and still it doesn't work, what could it be?
Folders 755, files 644. I tried to set files to 755 too, but it didn't helped.
Any thoughts?
Offline
Hi :)
Have you Antivirus ?
delete cookie ?
Offline
Very funny, but it's not helping.
How is antivirus affects permission? no virus on server. What do cookie have to do with it?
Thanks, but those are not close to what it is.
All other websites work file, permissions there, etc.
I just did a roll back to backup, so just recovered from backup, everything should be working....but it isn't.
Offline
I had a problem with a rewrite rule in .htaccess which was causing something similar. Did you restore that when you restored your backup?
-- Geoff
Offline
geoffschultz,
Thank you! Good point. may be .htaccess missing from some admin folder.
I have main .htaccess uploaded, but probably some other one missing. Thanks for hint.
Offline
I can't find any other .htaccess files.
Do you know any other location of this file, besides root folder?
Thank you!
Offline
developer wrote:
I can't find any other .htaccess files.
Do you know any other location of this file, besides root folder?
Thank you!
no there is not
Do you have access to your server log ? It might be helpful
Offline
I don't know what happened, but all the sudden it started to work normally without errors for images, still error on plugins.
I'll try to check logs.
Thank you!
Last edited by developer (2012-07-26 00:24:24)
Offline
resolved this issue by adjusting modsecurity rules on the server.
Offline
I'm getting this:-
You don't have permission to access /admin.php on this server.
when trying to add a watermark in administrator.
I have no clue how to resolve it.
I can create albums, add images without any problem.
Offline
that seems a classic no execute permission error. use chmod from ftp or ssh to give execute permission to that file for everyone
Offline
in cPanel the admin.php file is set to 0755 which I think is already 'everyone'
Offline
therefore check out other modules which regulates security such as modsecurity mentioned in this present thread
Offline
yes the 755 is read and execute to everyone, write only the owner
Some ideas:
method 1)
admin.php have many other included php files. maybe if any of that files don't have read/execute permission probably you will get this error. you either open the file in a text editor and check all included files permission , or you can give a 755 on all gallery files
method 2)
try giveit 777 to admin.php and rename the file to something else, then try to access direcly
Offline