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: MOD Implementation
 Email Validation Problems
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 3

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 20 July 2002 :  20:31:51  Show Profile
rriehl, honey, you need to add a <% at the beginning of line 579. Here's a hint, when you get an error like that, look at the line in Notepad (if you hit Ctrl-G and type the line number, it will take you right to the line). Then, if you see vbscript starting after html code, that where you need a <%.

Nikkol
Go to Top of Page

rriehl
Starting Member

31 Posts

Posted - 20 July 2002 :  20:50:25  Show Profile  Send rriehl an ICQ Message
Nikkol, I did that and I get the same error. I have updated the inc_register.txt here:

http://mobclan.robertriehl.com/inc_profile.txt
quote:

rriehl, honey, you need to add a <% at the beginning of line 579. Here's a hint, when you get an error like that, look at the line in Notepad (if you hit Ctrl-G and type the line number, it will take you right to the line). Then, if you see vbscript starting after html code, that where you need a <%.

Nikkol



Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 20 July 2002 :  21:00:56  Show Profile
Sorry, I must have had any old copy of your file. This is what to do:
1. Undo what you did (line 579 take of the <% at the beginning)
2. Put a <% on line 578 at the beginning and a %> at the end.

So your code looks like this on lines 578 and 579:

<% if strEmailVal = "0" or Request.QueryString("mode") <> "Register" then %><INPUT type="hidden" name="Email2" value="<% =RS("M_EMAIL") %>"><% end if %>
<% </tr>


Nikkol
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 20 July 2002 :  21:01:13  Show Profile
From the look of that file the <% needs to be on the start of line 578 and a %> on the start of line 579...


No matter how fast light travels it finds the darkness has always got there first, and is waiting for it.
http://www.ian-hamlin.co.uk
Go to Top of Page

rriehl
Starting Member

31 Posts

Posted - 20 July 2002 :  21:30:30  Show Profile  Send rriehl an ICQ Message
Ok, We're getting there... I did the changes Nikkol told me to, and now I get this error:
Microsoft VBScript compilation error '800a03f4'

Expected 'If'

/cgi-bin/register.asp, line 607

end sub
----^
Here's a link to my register.asp
http://mobclan.robertriehl.com/register.txt

Thanks
quote:

From the look of that file the <% needs to be on the start of line 578 and a %> on the start of line 579...


No matter how fast light travels it finds the darkness has always got there first, and is waiting for it.
http://www.ian-hamlin.co.uk




Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 20 July 2002 :  21:44:43  Show Profile
In the inc_profile.asp file assuming you made the last changes by Nikkol also put a <% on the front of line 580


<% if (strEmailVal = "1" and lcase(strEmail) = "1") and Request.QueryString("mode") = "Register" then %>



No matter how fast light travels it finds the darkness has always got there first, and is waiting for it.
http://www.ian-hamlin.co.uk
Go to Top of Page

rriehl
Starting Member

31 Posts

Posted - 20 July 2002 :  21:58:33  Show Profile  Send rriehl an ICQ Message
I already had that there. This is the current error:
Microsoft VBScript compilation error '800a03f4'

Expected 'If'

/cgi-bin/register.asp, line 607

end sub
----^
Here's a link to my register.asp
http://mobclan.robertriehl.com/register.txt

Thanks




quote:

In the inc_profile.asp file assuming you made the last changes by Nikkol also put a <% on the front of line 580


<% if (strEmailVal = "1" and lcase(strEmail) = "1") and Request.QueryString("mode") = "Register" then %>



No matter how fast light travels it finds the darkness has always got there first, and is waiting for it.
http://www.ian-hamlin.co.uk




Go to Top of Page

rriehl
Starting Member

31 Posts

Posted - 20 July 2002 :  21:59:38  Show Profile  Send rriehl an ICQ Message
quote:

I already had that there. This is the current error:
Microsoft VBScript compilation error '800a03f4'

Expected 'If'

/cgi-bin/register.asp, line 607

end sub
----^
Here's a link to my register.asp
http://mobclan.robertriehl.com/register.txt

Line 607 is the last line of the file.




quote:

In the inc_profile.asp file assuming you made the last changes by Nikkol also put a <% on the front of line 580


<% if (strEmailVal = "1" and lcase(strEmail) = "1") and Request.QueryString("mode") = "Register" then %>



No matter how fast light travels it finds the darkness has always got there first, and is waiting for it.
http://www.ian-hamlin.co.uk








Go to Top of Page

rriehl
Starting Member

31 Posts

Posted - 20 July 2002 :  23:02:21  Show Profile  Send rriehl an ICQ Message
Ok, this is the current error I am reeiving:

Microsoft VBScript compilation error '800a03f4'

Expected 'If'

/cgi-bin/register.asp, line 607

end sub
----^
Here is the link to my register file:
http://mobclan.robertriehl.com/register.txt

Thanks

quote:

I already had that there. This is the current error:
Microsoft VBScript compilation error '800a03f4'

Expected 'If'

/cgi-bin/register.asp, line 607

end sub
----^
Here's a link to my register.asp
http://mobclan.robertriehl.com/register.txt

Line 607 is the last line of the file.




quote:

In the inc_profile.asp file assuming you made the last changes by Nikkol also put a <% on the front of line 580


<% if (strEmailVal = "1" and lcase(strEmail) = "1") and Request.QueryString("mode") = "Register" then %>



No matter how fast light travels it finds the darkness has always got there first, and is waiting for it.
http://www.ian-hamlin.co.uk









[/quote]

Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 20 July 2002 :  23:15:09  Show Profile
What is you current inc_profile? Can you provide an updated link?


Nikkol
Go to Top of Page

rriehl
Starting Member

31 Posts

Posted - 20 July 2002 :  23:20:34  Show Profile  Send rriehl an ICQ Message
Yes, here it is:
http://mobclan.robertriehl.com/inc_profile.txt


quote:

What is you current inc_profile? Can you provide an updated link?


Nikkol



Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 20 July 2002 :  23:42:53  Show Profile
Try this. Find line 579 in inc_profile (the one with just </tr> on it). You'll be inserting a line so that line 579-581 will look like this:

</tr>
<% end if
if (strEmailVal = "1" and lcase(strEmail) = "1") and Request.QueryString("mode") = "Register" then %>


You've added the red "end if" making sure to keep the green <% on that line. Then you moved the "if" statement to the next line.


Nikkol
Go to Top of Page

rriehl
Starting Member

31 Posts

Posted - 20 July 2002 :  23:54:38  Show Profile  Send rriehl an ICQ Message
Ok, I got to the page after accepting the privacy statement. After I enter the user info and hit submit, I get the following error:

Microsoft OLE DB Provider for ODBC Drivers error '80040e37'

[Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot find the input table or query 'FORUM_MEMBERS_PENDING'. Make sure it exists and that its name is spelled correctly.

/cgi-bin/register.asp, line 237


Again, the link to my forum is:
http://mobclan.robertriehl.com/cgi-bin/default.asp

The link to my register file is:
http://mobclan.robertriehl.com/register.txt

I think we're almost there, thank you so much for your patience with me.

quote:

Try this. Find line 579 in inc_profile (the one with just </tr> on it). You'll be inserting a line so that line 579-581 will look like this:

</tr>
<% end if
if (strEmailVal = "1" and lcase(strEmail) = "1") and Request.QueryString("mode") = "Register" then %>


You've added the red "end if" making sure to keep the green <% on that line. Then you moved the "if" statement to the next line.


Nikkol





Edited by - rriehl on 20 July 2002 23:55:24
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 21 July 2002 :  00:07:07  Show Profile
did you make sure to follow all of the instructions for the email val mod, including running any kind of db or setup file? Those files create the necessary tables in your database.

Nikkol
Go to Top of Page

rriehl
Starting Member

31 Posts

Posted - 21 July 2002 :  00:46:17  Show Profile  Send rriehl an ICQ Message
Ok.. almost there. reading some other discussions, I reinstalled the mod with access 2000 instead of 97.
everything works except that when I click on the email link I am sent to confirm my email address I get the error that the validation key is incorrect?

Any ideas?


quote:

did you make sure to follow all of the instructions for the email val mod, including running any kind of db or setup file? Those files create the necessary tables in your database.

Nikkol



Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.44 seconds. Powered By: Snitz Forums 2000 Version 3.4.07