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 / Classic ASP versions(v3.4.XX)
 New Member email account activation fails
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Jer996
Starting Member

7 Posts

Posted - 25 February 2009 :  09:17:31  Show Profile
I just setup a forum and while some users are able to register just fine - others are getting an error message. I have email activation enabled, and they get an email just fine. When they click on the activation link they get a blank page with "The system cannot find the file specified." error message. Also if I go into Members Pending.. section of the Admin area, I can see their pending registration and when I click on Activate Account I get the same error.

I can't see a pattern to when/why it happens but for a new forum I'm getting complaints about it not working. Any help would be appreciated.

Thanks,
J<

Podge
Support Moderator

Ireland
3775 Posts

Posted - 25 February 2009 :  09:20:07  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
What is your forum url ? I'll try to test registration for you.

Made any changes to the forum ? Added any mods ?<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Jer996
Starting Member

7 Posts

Posted - 25 February 2009 :  09:33:45  Show Profile
Thanks, no mods at all, straight DL, install and start posting. And some users have no problems registering and activating. I would say out of the 20 or so attempts, 15 could activate just fine.

Forum - http://www.mobcodes.com/forum

One of the failing activation links - http://www.mobcodes.com/forum/register.asp?actkey=34vh7b0x8xx3z44zur1u14k04j4g44q0

<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 25 February 2009 :  09:50:56  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Nothing wrong with the url. Do you have access to the server ? I think it could be a config issue on the webserver. IIS might not be able to find the correct error page to return. Its not looking for 404.htm as register.asp exists.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Jer996
Starting Member

7 Posts

Posted - 25 February 2009 :  10:02:15  Show Profile
It's a shared host, so my access is not full.

If IIS can't find the correct error page to return, is the issue then why are we being directed to an error page during the activation?

I do recall a setting with the host that allowed "custom 404 error pages, basically showing their ads on pages that couldn't be displayed on your domain, but I checked and that feature was/is not enabled.

From the host - "Typically, an error page will be displayed (for example, 404 Error) if one of your web pages does not display correctly. When using this service, a page from our webserver will be displayed instead. Unless, of course, you have set up your own error message."<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 25 February 2009 :  14:50:22  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
hmmmmm.....

Can you post a text version of your register.asp ?<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 25 February 2009 :  14:59:26  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Tested the url with my own forum and got the same result. Looks like a problem with an IIS filter according to this discussion - http://www.issociate.de/board/goto/643315/Web_page_Error_-_%22The_system_cannot_find_the_file_specified%22_Error.html

They suggest that you may be able to reduce the likelihood of error occurring if you make the querystring smaller. That will require code changes.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

Jer996
Starting Member

7 Posts

Posted - 25 February 2009 :  20:51:10  Show Profile
Couple of questions

You said you tried the same URL with your forum and had the same result - isn't the ACTKEY value specific to the individual user registration in my database? If I edit the querystring and replace the ACTKEY with 123456789 I have the same result.

If it was any issue with the length of the URL string, which in this case does not seem to be long at all, wouldn't all user registrations fail?

<
Go to Top of Page

Jer996
Starting Member

7 Posts

Posted - 25 February 2009 :  21:03:44  Show Profile
Let me clarify my statement about editing the ACTKEY value in the URL - I can edit the ACTKEY value and remove letters from the end of it, all the way down to ACTKEY=34vh7b0x

That key length and longer return the error. Remove the x from the end and it will take you to an Activation Key not Found! "normal" error screen.<
Go to Top of Page

Jer996
Starting Member

7 Posts

Posted - 25 February 2009 :  21:12:12  Show Profile
I just saw your request for the text of Register.asp

That file is over 900 lines of code so I didn't want to post it here. I uploaded it - http://www.mobcodes.com/forum/register.txt<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 26 February 2009 :  01:40:41  Show Profile  Visit HuwR's Homepage
didn't someone write a mod to issue smaller activation keys previously ?<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 26 February 2009 :  04:25:44  Show Profile
This is it. The only problem is, with a shorter key, the chances of a duplicate key are increased - I thought I'd written an addition for that mod that would make sure that didn't happen but I can't seem to find it.

<

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.”
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 26 February 2009 :  05:32:12  Show Profile
You could do something like this to generate the key (using small/cap letters and numbers 1-9 ... since 0 is too close to O ... resulting in one chance out of 976 of a duplicate key. For most forums, that should be sufficient.
	dim act, stractive
	stractive=""
	for x = 1 to 16
		Randomize
		act=int(Rnd * 60) + 1
		if act > 26 and act < 36 then
			chract=chr(act+22)
		elseif act > 35 then
			chract=chr(act+30)
		else	
			chract=chr(act+96)
		end if
		stractive=stractive + chract
	next
	Response.Write	stractive
<
Go to Top of Page

Jer996
Starting Member

7 Posts

Posted - 27 February 2009 :  08:54:43  Show Profile
So is my solution what Carefree is suggesting changing? If so, can you tell me where I should replace existing code with what is listed there?

Thanks<
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.43 seconds. Powered By: Snitz Forums 2000 Version 3.4.07