Announcement

#1 2012-07-25 04:23:55

developer
Member
Honolulu, HI (United States)
2010-06-19
79

Something wrong with permissions

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!


400+ Magento Themes, each Magento template includes PSD file. See our gallery!

Offline

 

#2 2012-07-25 08:31:55

developer
Member
Honolulu, HI (United States)
2010-06-19
79

Re: Something wrong with permissions

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?


400+ Magento Themes, each Magento template includes PSD file. See our gallery!

Offline

 

#3 2012-07-25 08:35:23

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Something wrong with permissions

Hi :)

Have you Antivirus ?
delete cookie ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#4 2012-07-25 08:40:33

developer
Member
Honolulu, HI (United States)
2010-06-19
79

Re: Something wrong with permissions

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.


400+ Magento Themes, each Magento template includes PSD file. See our gallery!

Offline

 

#5 2012-07-25 12:10:37

geoffschultz
Member
Marlborough, MA, USA
2012-07-01
148

Re: Something wrong with permissions

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

 

#6 2012-07-25 21:04:21

developer
Member
Honolulu, HI (United States)
2010-06-19
79

Re: Something wrong with permissions

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.


400+ Magento Themes, each Magento template includes PSD file. See our gallery!

Offline

 

#7 2012-07-26 00:00:30

developer
Member
Honolulu, HI (United States)
2010-06-19
79

Re: Something wrong with permissions

I can't find any other .htaccess files.
Do you know any other location of this file, besides root folder?

Thank you!


400+ Magento Themes, each Magento template includes PSD file. See our gallery!

Offline

 

#8 2012-07-26 00:16:15

flop25
Piwigo Team
2006-07-06
7037

Re: Something wrong with permissions

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


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#9 2012-07-26 00:23:13

developer
Member
Honolulu, HI (United States)
2010-06-19
79

Re: Something wrong with permissions

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)


400+ Magento Themes, each Magento template includes PSD file. See our gallery!

Offline

 

#10 2012-07-26 20:22:17

developer
Member
Honolulu, HI (United States)
2010-06-19
79

Re: Something wrong with permissions

resolved this issue by adjusting modsecurity rules on the server.


400+ Magento Themes, each Magento template includes PSD file. See our gallery!

Offline

 

#11 2016-08-13 16:04:26

wordwarrior
Member
2016-08-13
4

Re: Something wrong with permissions

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

 

#12 2016-08-13 18:20:28

eliz82
Member
Romania
2016-04-27
281

Re: Something wrong with permissions

that seems a classic no execute permission error. use chmod from ftp or ssh to give execute permission to that file for everyone

Offline

 

#13 2016-08-13 18:29:15

wordwarrior
Member
2016-08-13
4

Re: Something wrong with permissions

in cPanel the admin.php file is set to 0755 which I think is already 'everyone'

Offline

 

#14 2016-08-13 18:44:42

flop25
Piwigo Team
2006-07-06
7037

Re: Something wrong with permissions

therefore check out other modules which regulates security such as modsecurity mentioned in this present thread


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#15 2016-08-13 18:54:08

eliz82
Member
Romania
2016-04-27
281

Re: Something wrong with permissions

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

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact