Simple Machines Community Forum

SMF Support => Converting to SMF => Topic started by: Skuggi on December 24, 2004, 02:13:46 PM

Title: Successful conversion but index.php not accessible.
Post by: Skuggi on December 24, 2004, 02:13:46 PM
Ok, i did a successful coversion from phpBB2 everything looked nice, I did the repair setting file too. but when someone goes to login they get the error after putting in there info:
Forbidden
You don't have permission to access /cf/index.php on this server.

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


this is resolved by just retyping in the url then the cookie takes and your able to use the forums regularly.  any clue how to fix this?
Title: Re: Successful conversion but index.php not accessible.
Post by: Skuggi on December 24, 2004, 02:15:12 PM
oh yea this may help here is the URL it points to.

http://www.sarcasm-inc.net/cf/index.php?action=login2;sa=check;id=2

the forum is installed to http://www.sarcasm-inc.net

with phpBB2 getting hacked and virused etc. I really need this conversion to work so any help would be awesome.
Title: Re: Successful conversion but index.php not accessible.
Post by: Trekkie101 on December 24, 2004, 02:47:11 PM
Try chmodding index.php to 777
Title: Re: Successful conversion but index.php not accessible.
Post by: Skuggi on December 24, 2004, 03:07:27 PM
was the first thing i tried, stil no luck.
Title: Re: Successful conversion but index.php not accessible.
Post by: Trekkie101 on December 24, 2004, 03:48:50 PM
The default theme works fine with the registration   :-\ anyone got an answer?
Title: Re: Successful conversion but index.php not accessible.
Post by: Skuggi on December 24, 2004, 04:30:38 PM
Quote from: Trekkie101 on December 24, 2004, 03:48:50 PM
The default theme works fine with the registration   :-\ anyone got an answer?

Nope this happened with the default theme too.  Dunno about registration but the login is where the problem is cause i get them dumb errors.  I can access the index.php directly its something in the redirect after you select login, is there a list of the chmods on the files anywhere so i can go over all of them?
Title: Re: Successful conversion but index.php not accessible.
Post by: Skuggi on December 24, 2004, 05:53:17 PM
This error happens anytime the forum trys to access somethign through index.php.

I just tried to modify a category title and got the same error the url was
http://www.sarcasm-inc.net/cf/index.php?action=manageboards;sa=cat;ID_CAT=2
Title: Re: Successful conversion but index.php not accessible.
Post by: Jerry on December 24, 2004, 05:56:00 PM
It does not look like your server likes the ;'s in the url
Title: Re: Successful conversion but index.php not accessible.
Post by: Skuggi on December 24, 2004, 06:32:59 PM
um, thats not good, how would i ask my provider to fix that?
Title: Re: Successful conversion but index.php not accessible.
Post by: Skuggi on December 24, 2004, 06:34:21 PM
ok, that gave me an idea, it works if i use a colon : how would i go about switching the semis to fulls?
Title: Re: Successful conversion but index.php not accessible.
Post by: Jerry on December 24, 2004, 06:36:01 PM
I don't think its colons you need to use ;) try &. I am not sure how to change the ;'s to &'s instead we would have to wait for unknown or some one with similar knowledge to find this topic. Sounds like your host does not have their server configured correctly though. . .
Title: Re: Successful conversion but index.php not accessible.
Post by: Skuggi on December 24, 2004, 06:45:39 PM
yea your right about the and the : didnt work exactly how I thought :p I'm rummaging through the index.php and settings.php to hope and find where it says how the URLs work and then if I find that i can set it to &s which work perfectly.  Hopefully a SMF genius will pop up round here before new year if i cant find it  :)
Title: Re: Successful conversion but index.php not accessible.
Post by: [Unknown] on December 24, 2004, 10:27:32 PM
This is another SNORT problem.  If you search for "snort" I'm pretty sure you'll find a topic about a fix ;).

-[Unknown]
Title: Re: Successful conversion but index.php not accessible.
Post by: Skuggi on December 26, 2004, 12:16:19 AM
Just got this back from my provider:

We do not use the SNORT operating system or the SNORT software. Our techs don't have any ideas. Does the developer?
Title: Re: Successful conversion but index.php not accessible.
Post by: [Unknown] on December 26, 2004, 02:18:29 AM
Essentially, you're getting a 403 because there's a ";id=" in the URL.  This is caused by an antiquated SNORT rule... I suppose it's possible it could be caused by other security/firewall software, but I haven't heard of it.

I mean this software:
http://www.snort.org/
The Open Source Network Intrusion Detection System

-[Unknown]
Title: Re: Successful conversion but index.php not accessible.
Post by: Skuggi on December 28, 2004, 05:44:09 PM
the host says they dont use SNORT and that theres nothing that they can find blocking ";id="  ::)

where is it in the code that puts in the ";id="  so i can change it over to "&id="
Title: Re: Successful conversion but index.php not accessible.
Post by: Skuggi on December 28, 2004, 06:32:29 PM
Ok, got at least the main login bug fixed by going in all the files looking for ;id and changing it to &id. 

Files changed were:
Sources/
Load.php
Display.php
LogInOut.php
ManageMembers.php
Register.php
Subs.php
Themes.php

Thats all working fine now, but I am still having the bug with when I goto modify category topics the url is:

http://www.sarcasm-inc.net/cf/index.php?action=manageboards;sa=cat;ID_CAT=2

I cant find in sources/ManageBoards.php the spot where that damned semicolon is to change it and that should finish up all the converting.
Title: Re: Successful conversion but index.php not accessible.
Post by: [Unknown] on December 28, 2004, 07:08:48 PM
Probably in Themes/default/ManageBoards.template.php.

-[Unknown]
Title: Re: Successful conversion but index.php not accessible.
Post by: Skuggi on December 28, 2004, 07:43:44 PM
Yup thats where the bugger was. Have yet to find any more problems relating to the ;id so I zipped up all the modded files since I dont believe they are changed at all durring installation and have it available for download for anyone else that encounters this problem.

http://sarcasm-inc.net/download/IDBypass.zip
Title: Re: Successful conversion but index.php not accessible.
Post by: natem345 on February 04, 2005, 11:48:19 PM
I'm trying to use your patch, but something in your sources folder is causing my board not to display the copytright message (thus saying it's illegal). Any ideas? Thanks in advance!
Title: Re: Successful conversion but index.php not accessible.
Post by: [Unknown] on February 05, 2005, 12:30:00 AM
I believe there's a mod on the mod site for this.

-[Unknown]
Title: Re: Successful conversion but index.php not accessible.
Post by: natem345 on February 05, 2005, 09:03:51 AM
Well apparently I was unzipping the files wrong or something; when I installed it (http://mods.simplemachines.org/index.php?mod=71) from the admin panel, it doesn't remove the copyright. Thanks for pointing that out!