Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 login 404 problem
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

leonmcd
Starting Member

6 Posts

Posted - 15 July 2001 :  22:58:25  Show Profile
I just installed my forum and the admin stuff works but after I registered my first user I could not login as that person. When I enter the username and password then click LOGIN I get a 404 page not found error. The URL posted is a corruption or my url. It looks like a combination of my actual url and the strCookieUrl value. The page it is trying to access is the page I logged in from. Because of the error I never get logged in.

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 16 July 2001 :  00:24:59  Show Profile
Post a link to your forum.
You haven't changed the default admin username and password have you?

- David
Go to Top of Page

leonmcd
Starting Member

6 Posts

Posted - 16 July 2001 :  06:32:43  Show Profile
www.hfcnaz.org/forum

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 16 July 2001 :  20:44:52  Show Profile
It's a problem with your server you are residing on.
The Server Varaible "URL" and "SCRIPT_NAME" is returning the value "/hfcnaz.org/www/forum/default.asp" when it should return "/forum/default.asp".

I had written some code for another user who had the same problem, where the server variables were returning the incorrect values. Here is the code:
dim strlink
strlink = Mid(Request.ServerVariables("URL"), InstrRev(Request.ServerVariables("URL"), "/")+1)
You can put that script near to the top of your inc_top.asp file. After this bit of code:
dim mLev, strLoginStatus
Then, you will need to do a search for "Request.ServerVariables("URL")" and "Request.ServerVariables("SCRIPT_NAME")" in your forum files and replace them with "strlink".

- David

Edited by - Davio on 16 July 2001 20:45:45
Go to Top of Page

leonmcd
Starting Member

6 Posts

Posted - 16 July 2001 :  22:36:41  Show Profile
quote:

It's a problem with your server you are residing on.
The Server Varaible "URL" and "SCRIPT_NAME" is returning the value "/hfcnaz.org/www/forum/default.asp" when it should return "/forum/default.asp".

I had written some code for another user who had the same problem, where the server variables were returning the incorrect values. Here is the code:
dim strlink
strlink = Mid(Request.ServerVariables("URL"), InstrRev(Request.ServerVariables("URL"), "/")+1)
You can put that script near to the top of your inc_top.asp file. After this bit of code:
dim mLev, strLoginStatus
Then, you will need to do a search for "Request.ServerVariables("URL")" and "Request.ServerVariables("SCRIPT_NAME")" in your forum files and replace them with "strlink".

- David

Edited by - Davio on 16 July 2001 20:45:45



That solved my problem. Thanks!

Go to Top of Page

leonmcd
Starting Member

6 Posts

Posted - 17 July 2001 :  22:40:10  Show Profile
quote:

It's a problem with your server you are residing on.
The Server Varaible "URL" and "SCRIPT_NAME" is returning the value "/hfcnaz.org/www/forum/default.asp" when it should return "/forum/default.asp".

I had written some code for another user who had the same problem, where the server variables were returning the incorrect values. Here is the code:
dim strlink
strlink = Mid(Request.ServerVariables("URL"), InstrRev(Request.ServerVariables("URL"), "/")+1)
You can put that script near to the top of your inc_top.asp file. After this bit of code:
dim mLev, strLoginStatus
Then, you will need to do a search for "Request.ServerVariables("URL")" and "Request.ServerVariables("SCRIPT_NAME")" in your forum files and replace them with "strlink".

- David

Edited by - Davio on 16 July 2001 20:45:45



My StrCookieUrl is also messed up = /hfcnaz.org/www/forum/ do I need to fix this as well? I'm still having problems. I never get the logged on as message.

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 18 July 2001 :  10:40:34  Show Profile
You woul dhave to hardcode the strCookieURL value.
Open your config.asp. On line 88 you shoul dhave this:
strCookieURL = Left(Request.ServerVariables("Path_Info"), InstrRev(Request.ServerVariables("Path_Info"), "/"))
Change it to this:
strCookieURL = "/forum/"
Let me know if it works for you.

- David
Go to Top of Page

leonmcd
Starting Member

6 Posts

Posted - 18 July 2001 :  19:43:32  Show Profile
quote:

You woul dhave to hardcode the strCookieURL value.
Open your config.asp. On line 88 you shoul dhave this:
strCookieURL = Left(Request.ServerVariables("Path_Info"), InstrRev(Request.ServerVariables("Path_Info"), "/"))
Change it to this:
strCookieURL = "/forum/"
Let me know if it works for you.

- David



That seems to have done the trick. As long as I have cookies enabled.

thanks,
Leon

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.28 seconds. Powered By: Snitz Forums 2000 Version 3.4.07