Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: xertech on August 19, 2008, 09:31:55 PM

Title: You don't have permission to access /index.php on this server.
Post by: xertech on August 19, 2008, 09:31:55 PM
Hello All and thanks in advance for any support for the following problem.

I have 2.0 Beta 3.1 ...
Last night i was responding to a post and when I hit the "post" button a

Forbidden

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

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


popped up.

Did a complete deinstall and reinstall but encountered the same problem.

what am I missing ?

All the post's are still there and I don't see any other problems with the site, it seems to be a permission problem but have know idea where...
Title: Re: You don't have permission to access /index.php on this server.
Post by: ccbtimewiz on August 19, 2008, 09:48:55 PM
Does this problem occur all the time?
Title: Re: You don't have permission to access /index.php on this server.
Post by: xertech on August 19, 2008, 09:50:48 PM
no _ only when posting...   
Title: Re: You don't have permission to access /index.php on this server.
Post by: ccbtimewiz on August 19, 2008, 09:51:24 PM
No, I meant does this occur every time you attempt to post?
Title: Re: You don't have permission to access /index.php on this server.
Post by: xertech on August 19, 2008, 09:53:18 PM
Sorry, yes everytime .  And thanks for the help!
Title: Re: You don't have permission to access /index.php on this server.
Post by: ccbtimewiz on August 19, 2008, 09:57:30 PM
Usually this error occurs because of the host-- not the forum itself. I suggest contacting the host and presenting them the issue.

However just to be sure, make sure all your forum directories are CHMODED to the correct intervals and that index.php exists in the main SMF directory (check the contents and make sure it has code in it).

How do I chmod? / What is chmod? (http://docs.simplemachines.org/index.php?topic=477)

Likewise, it could (small chance) be a path problem. So try to run repair_settings.php (http://www.simplemachines.org/download/index.php?thanks;filename=repair_settings.php) in your main directory and click the recommended values.

What is repair_settings.php? (http://docs.simplemachines.org/index.php?topic=663)

Also, what version of PHP are you running? What server environment? Did you recently move your forum to another host?
Title: Re: You don't have permission to access /index.php on this server.
Post by: xertech on August 19, 2008, 09:59:27 PM
Cool _ I will check the permissions and run the repair script , again thanks for the advice and will let you know how it goes...




cPanel Version 11.23.4-STABLE
cPanel Build 26138
Theme x3
Apache version 1.3.37 (Unix)
PHP version 4.4.2
MySQL version 4.1.22-standard-log
Architecture i686
Title: Re: You don't have permission to access /index.php on this server.
Post by: xertech on August 20, 2008, 02:23:03 PM
UPDATE  .    All the permissions are correct, ran the repair script and checked for any errors on my database but still having the same problem..

This morning I logged on with my Blackberry and was able to post !  Thought the problem went away but as soon as I logged on with my laptop I was given the same error message.   

Thanking it was a cookie problem, i phoned one of the members in Orlando Fl and he had he same error message ..

So Blackberry OK ,  PC not OK ...  I left a service ticket with my host provider and waiting for their return message, so i hope its something on the host side and not the SMF side..

FYI  _  just installed another forum in a different location on the same server (different dbase also) and the same problem occurs __ it has to be a problem with the hosting company and not the SMF forum... I'll let you know what their answer is after I finally get one.

Title: Re: You don't have permission to access /index.php on this server.
Post by: RL Joneson on August 21, 2008, 02:16:25 PM
When you say "another forum" do you mean a completely new one? Or are you using altered .temps from the forum you are having trouble with?

Title: Re: You don't have permission to access /index.php on this server.
Post by: xertech on August 21, 2008, 08:58:56 PM
Yeh _another forum with a different database.    The hosting company fixed the problem, they haven't gotten back to me yet but it was the hosting company that caused the problem and not the forum software.
Title: Re: You don't have permission to access /index.php on this server.
Post by: RL Joneson on August 25, 2008, 12:36:45 PM
Did they mention what the issue was??
Title: Re: You don't have permission to access /index.php on this server.
Post by: Rumbaar on September 05, 2008, 07:00:47 PM
Probably some kind of mod_security or security setting.  It hard when they do things like this to troubleshoot.

If this is solved feel free to mark it as solved otherwise reply.  To mark an issue solved please change the first post message icon to the 'tick' icon.
Title: Re: You don't have permission to access /index.php on this server.
Post by: N3RVE on February 08, 2009, 09:32:07 AM
Marked as solved, if you're still experiencing issues, feel free to respond with details of what isn't working :)

-[n3rve]
Title: Re: You don't have permission to access /index.php on this server.
Post by: liamtoo on November 29, 2011, 08:19:34 AM
I know this is an old topic but my experience might help anyone searching for a solution. I too had this problem. In my case it was an overzealous mod_security. My host was blocking certain words and word strings. So try changing your message content line by line and select preview each time. If that is the problem it'll be obvious.