Author |
Topic |
Crokus
Starting Member
8 Posts |
Posted - 26 March 2007 : 09:12:16
|
I recently installed a forum on Brinkster and have run into a login loop error. Initially I was unable to login because I was recieving a 404 error. After manualy accessing admin_home.asp I was able to change the url to the correct setting ("<my domain>.brinkster.net/forum/"). I also changed the security settings so that only members could access the forum contents.
Now every time I try to login it goes to the "login successful" page and if you click the "click here to continue" link it boots you back to the login screen. It also boots you back automatically if you wait for a bit.
I am now unable to manualy access any of the admin_xx.asp pages. Is there a way I can change the code to fix this error, or is there another solution?
I am running the most recent version of Snitz Forum on Win Xp Pro. My database is Access but I don't know the version When I was initally uploading the files to my database there was an error with the inc_func_member.asp file. Brinkster uploader said that a line of commented code on line 187 was improperly used,('on error resume next) which I removed to allow the file to upload. Could this be the problem?
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
Crokus
Starting Member
8 Posts |
|
gary b
Junior Member
USA
267 Posts |
Posted - 26 March 2007 : 13:37:13
|
Giant disclaimer: I am not an expert. So please treat my observation accordingly! Perhaps one of the other members would comment on this observation.
My working copy of register.asp has the following lines:
<form action="register.asp?mode=DoIt" method="Post" id="Form1" name="Form1"> <input name="Refer" type="hidden" value="http://www.xyz.com/forum/default.asp">
When viewing 'source code' for your registration page, I noticed that you have no "value". Could this be the problem? It would be easy to check... simply put URL to forum 'home page' in for value.
Remember... this is just a guess, but it appears that the forum does not know where to go after successful login.
register.asp Approximately Line 669 Response.Write " <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""" & chkString(Request.Form("refer"),"refer") & """>Back To Forum</a></font></p>" & vbNewLine
|
Edited by - gary b on 26 March 2007 13:43:23 |
|
|
Crokus
Starting Member
8 Posts |
Posted - 26 March 2007 : 15:18:11
|
I fixed those lines of code but I still get the loop. |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 26 March 2007 : 16:11:22
|
I thought 3.4.06 already had that? or had some similar changes? |
|
|
Crokus
Starting Member
8 Posts |
Posted - 26 March 2007 : 17:05:42
|
I added the referer mod and still no luck. |
|
|
gary b
Junior Member
USA
267 Posts |
Posted - 26 March 2007 : 20:12:57
|
Have you tried taking a "clean" copy of register.asp and (after editing only what is absolutely necessary) see if you have the problem. If a "clean" copy works, the problem then stems from any code you added. That might narrow the problem down.
Going to your website only allows people to see the html code... We can't see the asp code. So nobody on the forum really knows what code you have on that page.
FWIW...
|
|
|
Crokus
Starting Member
8 Posts |
Posted - 26 March 2007 : 23:44:16
|
I removed the old register.asp and loaded a fresh unaltered copy and still have the same issue. Perhaps it's best that I simply start over from the very beginning. |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 27 March 2007 : 04:27:31
|
Um ... isn't the problem that Crokus can't log in rather than not being able to register?
Can you provide us with a test account we can use?
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
gary b
Junior Member
USA
267 Posts |
Posted - 27 March 2007 : 07:23:30
|
Thanks, Shaggy...
Blinded by the light... |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
Crokus
Starting Member
8 Posts |
Posted - 27 March 2007 : 16:21:47
|
I created a test account that you are free to use.
U: test p: test
|
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 27 March 2007 : 16:32:09
|
Try accessing admin_home.asp directly and set the cookies to website. I suspect, however, that your problems won't go away. Currently, the forum is trying to create the cookie for this path: fkclub.brinkster.net/a/f/k/afkclub/forum/
This will "haunt" you even after the login issue is sorted, so either get a different forum package or get a decent host. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
|
|
Crokus
Starting Member
8 Posts |
Posted - 27 March 2007 : 19:03:40
|
What line of the code in admin_home.asp or other admin_xx.asp deals with the cookie settings? |
|
|
Topic |
|