Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: taha116 - marraskuu 30, 2008, 12:06:28 IP

Otsikko: Getting 403 forbidden
Kirjoitti: taha116 - marraskuu 30, 2008, 12:06:28 IP
Ok first i was jsut getting it like mad for alot of things... then it stopped after a while and right now the only thing i have it in is at features and options-options every time i attempt to save changes it get that dam forbidden thing.  I found topics for 1.1.x and tried thier solutions , no dice, please tell me what  to do ive been stuck for a while now

I also cannot accesss file permissions  it just give me a blank page

I am also getting internal server errors when i try to upload a package with package managaer and also same thing when i try to post


IM using 2.0 beta 4
Otsikko: Re: Getting 403 forbidden
Kirjoitti: swtdivalove - marraskuu 30, 2008, 12:19:02 IP
Check your file/folder permissions using an FTP Client or through cPanel File Manager.
Otsikko: Re: Getting 403 forbidden
Kirjoitti: taha116 - marraskuu 30, 2008, 12:47:10 IP
I believe i used cp file manager and fixed them according to instilation instructions on trhe doc site, still no dice
Otsikko: Re: Getting 403 forbidden
Kirjoitti: greyknight17 - marraskuu 30, 2008, 12:48:23 IP
Try the suggestion in this post (http://www.simplemachines.org/community/index.php?topic=34270.msg1025267#msg1025267) to see if it fixes that issue. You need to create a .htaccess file and copy/paste that information mentioned in that post.
Otsikko: Re: Getting 403 forbidden
Kirjoitti: taha116 - marraskuu 30, 2008, 12:53:20 IP
Lainaus käyttäjältä: greyknight17 - marraskuu 30, 2008, 12:48:23 IP
Try the suggestion in this post (http://www.simplemachines.org/community/index.php?topic=34270.msg1025267#msg1025267) to see if it fixes that issue. You need to create a .htaccess file and copy/paste that information mentioned in that post.

I already tried

<IfModule mod_security.c>
   # Turn off mod_security filtering.  SMF is a big boy, it doesn't need its hands held.
   SecRuleEngine Off

   # The below probably isn't needed, but better safe than sorry.
   SecRequestBodyAccess Off
</IfModule>


But i think it might be case sensitivity cuz i had a case sensitivity problem before with my server, any idea what it should look like to be acceptable to a case sensitive server ?
Otsikko: Re: Getting 403 forbidden
Kirjoitti: greyknight17 - marraskuu 30, 2008, 01:54:57 IP
Use repair_settings.php (http://docs.simplemachines.org/index.php?topic=663) and make sure that the database information is correct. Then click on the Recommended values. Save the changes. Delete the repair_settings.php file once you are done. See if that will fix the issue.
Otsikko: Re: Getting 403 forbidden
Kirjoitti: taha116 - marraskuu 30, 2008, 04:05:00 IP
after about 4-5 hours after editing htaccess things started runing smoothly not sure if it was code or not but im leaving it that way, ill keep the repair thing in mind though

I still cant change anything at the features  & options- Options section it keeps giving me forbidden.... any ideas... i have a feeling that repair_settings might be risky


Maybe somone can teach me manual editing.... like wich file and what to look 4 and how to change it or sumthing? Or any othr ideas?
Otsikko: Re: Getting 403 forbidden
Kirjoitti: greyknight17 - tammikuu 29, 2009, 05:51:41 IP
Is this issue resolved now?

Running repair_settings.php will not cause any damage unless you change a setting incorrectly and save the changes. You can take a look now to see if you can spot any discrepancies in the paths.

Double check the permissions again for your files and folders. Files in the root SMF directory should be 644 and folders should be 755.