PDA

View Full Version : You don't have permission to access /editpost.php


farsgsm
02-03-2011, 06:23 AM
hi friends,
nowadays, whenever i try to edit a post or try to add some image to my post, i get error below.
what's problem?!

Forbidden

You don't have permission to access /editpost.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

farsgsm
02-04-2011, 01:37 PM
anyone can help me solve this issue?!

kh99
02-04-2011, 01:55 PM
Did you check to see if editpost.php has the right permissions?

farsgsm
02-06-2011, 06:47 PM
what is the right permissions for this php

kh99
02-06-2011, 06:56 PM
I don't know - but if that's the only file giving you problems then you could compare it to the other ones that are working. Anyway that's the only thing I can think of that would give you that error. But maybe someone else knows another reason?

Lynne
02-06-2011, 07:19 PM
Check to see if it's chmod 655 or 755. It could also be a mod_security thing if it's not a permissions thing. In that case, you will need to tell your host what is happening and have them fix the mod_security settings.

farsgsm
02-12-2011, 04:49 PM
it's not the only file.
here is get error on another file


Forbidden

You don't have permission to access /newthread.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request

usually this problem happens whenever i try to post many characters in a new thread or while i edit a post and add some more characters in that.

or i think it happens when i post more than 4-5 URL links in my thread.

and how to temporary solve this problem:
i reduce charackters in my post or delete some URL links
and send my thread in two or three post.

then i don't get this error.
i don't know if u understand my problem.
hope u can help me more. :(

--------------- Added 1297537494 at 1297537494 ---------------

it seems i get this error only when i make a new thread that includes 4-5 URL links and some images

Lynne
02-12-2011, 06:05 PM
As I already said, it sounds like a mod_security or suhosin issue and you should talk to your host about it.