Author |
Topic  |
Zenfor
Junior Member
 
372 Posts |
Posted - 06 May 2013 : 21:36:15
|
Anyone??
 |
Edited by - Zenfor on 06 May 2013 21:36:45 |
 |
|
Carefree
Advanced Member
    
Philippines
4217 Posts |
Posted - 06 May 2013 : 22:42:30
|
Look at lines 191-205
Change them to this:
|
Edited by - Carefree on 06 May 2013 22:45:20 |
 |
|
Zenfor
Junior Member
 
372 Posts |
Posted - 07 May 2013 : 07:36:39
|
Tried that Carefree and now I get this. Thanks!
 |
 |
|
Carefree
Advanced Member
    
Philippines
4217 Posts |
Posted - 07 May 2013 : 11:45:09
|
OK - you must have an age which isn't numeric in value. That's fixable. Change the block of code to this (it'll update any non-numeric value to 0).
|
 |
|
Zenfor
Junior Member
 
372 Posts |
Posted - 07 May 2013 : 16:13:57
|
Thanks again but still getting an error, this one different:

This is line 195 quote: my_Conn.Execute("UPDATE " & strMemberTablePrefix & "MEMBERS SET M_AGE=0 WHERE MEMBER_ID=" & rs("MEMBER_ID"))
|
 |
|
Carefree
Advanced Member
    
Philippines
4217 Posts |
Posted - 08 May 2013 : 00:41:22
|
Disregard the following:
That means you're missing the "M_Age" field in the table.
Save the following as "dbs_mage.asp" in your forum folder. Then run it from the admin console "Mod Setup" link. After that, the member details should work.
[scrollcode][code] M_Age Fix
[ALTER] MEMBERS ADD#M_AGE#TEXT(3)#NULL# [END] |
Edited by - Carefree on 08 May 2013 04:19:16 |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 08 May 2013 : 02:21:09
|
You sure Carefree? My first thought, from the code on line 195, was that it had a problem with rs("MEMBER_ID").
If you look at line 192, with the SELECT statement, it is only selecting the M_AGE.
quote: set rs = my_Conn.execute(TopSQL("SELECT M_AGE FROM " & strMemberTablePrefix & "MEMBERS WHERE M_AGE <> '' AND M_STATUS <> 0 ORDER BY M_AGE ASC", 1))
So you wouldn't be able to reference MEMBER_ID using rs("MEMBER_ID") on line 195. |
Support Snitz Forums
|
Edited by - Davio on 08 May 2013 02:21:56 |
 |
|
Carefree
Advanced Member
    
Philippines
4217 Posts |
Posted - 08 May 2013 : 04:18:43
|
You're right, missed that. The previous fix should work if he changes the select to:
set rs = my_Conn.execute(TopSQL("SELECT * FROM " & strMemberTablePrefix & "MEMBERS WHERE M_AGE <> '' AND M_STATUS <> 0 ORDER BY M_AGE ASC", 1))
|
 |
|
Zenfor
Junior Member
 
372 Posts |
Posted - 08 May 2013 : 07:15:20
|
Great work guys, no errors!!
Thank you very much for the help.
I'm now going to install the calendar mod, hopefully that will go OK.
Thanks again, you guys are the best... |
 |
|
Carefree
Advanced Member
    
Philippines
4217 Posts |
Posted - 08 May 2013 : 09:55:43
|
You're welcome. |
 |
|
Zenfor
Junior Member
 
372 Posts |
Posted - 13 May 2013 : 07:21:08
|
Moving right along...
Thanks to everyones help I got the 3.4.07 forum up and running with the new calendar mod, my key mod.
Implementation Strategy: My question now is, since I used and updated my original forum database some 10 days ago, should I just leave things how they are or should I try to copy and update the current database again to the new forum. My gut feeling says no, since it appears it is running OK and I have my key calendar mod working, live with the 10 day lapse and change the old forum directory folder to forum_old and rename and point to the new folder to get started. I do plan to be adding more mods along the way to the new live forum but I think I'm ready to switch over. Thank you!
Any comments? Thank you! |
 |
|
Topic  |
|