Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: jayson_yates - joulukuu 08, 2005, 03:54:26 IP

Otsikko: index.php
Kirjoitti: jayson_yates - joulukuu 08, 2005, 03:54:26 IP
I am the admin to the board, but when I try to add a board, I get this:

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

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

what do I have to do to correct this?
Otsikko: Re: index.php
Kirjoitti: JayBachatero - joulukuu 08, 2005, 04:00:34 IP
Can you please provide a link to your phpinfo.php?
What is phpinfo.php? (http://www.simplemachines.org/community/index.php?topic=18250.0)

Also chmod your forum dir to 755.
How do I use chmod? (http://www.simplemachines.org/community/index.php?topic=23690.0)
Otsikko: Re: index.php
Kirjoitti: jayson_yates - joulukuu 08, 2005, 04:21:14 IP
Lainaus käyttäjältä: JayBachatero - joulukuu 08, 2005, 04:00:34 IP
Can you please provide a link to your phpinfo.php?
What is phpinfo.php? (http://www.simplemachines.org/community/index.php?topic=18250.0)
did what it said to do, I checked it out got this error:
Warning: phpinfo() has been disabled for security reasons in /home/jaysarah/public_html/phpinfo.php on line 1
I used the code: <?php phpinfo(); ?>

Also chmod your forum dir to 755.
How do I use chmod? (http://www.simplemachines.org/community/index.php?topic=23690.0)

Forum is set to 755
Otsikko: Re: index.php
Kirjoitti: Oldiesmann - joulukuu 08, 2005, 04:32:43 IP
It's most likely due to mod_security - see Having problems with mod_security? (http://www.simplemachines.org/community/index.php?topic=34270.0). However, if your host has phpinfo disable then chances are they might not let you do that.