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
 Error
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

kolucoms6
Average Member

845 Posts

Posted - 17 March 2008 :  10:47:02  Show Profile

But i am failed to under I just modified few codes in 2 -3 files for that MOD.

How it affected other lines which I didnt even touch ?

Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 17 March 2008 :  11:09:34  Show Profile  Visit JJenson's Homepage
You had to have touched those lines above cause those are not in the default snitz. I have a package with about 6 mods installed that I can just uploaded but you have to keep like 3-4 files of the original snitz code so I can update the database. This seems to be what is the problem with yours. You have new files or lines of code before updating the database. This is why there is a invalid argument cause those database fields don't exist.

I could be wrong on this but I am pretty sure this is what is happening.
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 17 March 2008 :  11:45:10  Show Profile
I am thinking of trying

try downloading a fresh copy of the forum and placing a normal inc_func_common.asp from there until you update your database. then you can put the one you are using back in.

Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 17 March 2008 :  12:13:54  Show Profile
:-( Nope...

Didnt work... My own Stupidity !!!
Go to Top of Page

leesh695
Junior Member

101 Posts

Posted - 17 March 2008 :  12:56:01  Show Profile
You need to place a normal copy of inc_func_common.asp & inc_header.asp
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 18 March 2008 :  10:00:44  Show Profile
How about if I directly use dbs_activeusers.asp file ?
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 18 March 2008 :  10:06:36  Show Profile  Visit HuwR's Homepage
no you can't run the dbs_xxxxxx file by itself, it needs to be run by admin_mod_dbsetup.asp
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 18 March 2008 :  10:07:42  Show Profile  Visit HuwR's Homepage
have you tried uploading an unmodified copy of inc_func_common.asp & inc_header.asp ?? if not then do so.
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 18 March 2008 :  10:12:54  Show Profile
But i already have Other MOD also Installed.

Wont that break the entire ? [ Though it is so ]

Another thing is :In Active User MOD, I dont see any 'AU_FORUM_ID' field ....
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 18 March 2008 :  10:15:52  Show Profile
Below line give me an Error :

quote:

'my_conn.execute (strSql)
else 'Is a new user, make new record
if strLoginStatus = 0 then
strSql = "INSERT INTO " & strTablePrefix & "ACTIVE_USERS (" & _
"MEMBER_ID, AU_IP, AU_LOGINTIME, AU_LASTACTIVETIME, " & _
"AU_LASTPAGE, AU_QUERYSTRING, AU_USER_AGENT, AU_FORUM_ID) VALUES(" & _
MemberID & ", " & _
"'" & Chkstring(strUserIP, "SQLString") & "', " & _
"'" & Chkstring(strCurrentTime, "SQLString") & "', " & _
"'" & Chkstring(strCurrentTime, "SQLString") & "', " & _
"'" & Chkstring(strScriptName, "SQLString") & "', " & _
"'" & Chkstring(strQueryString, "SQLString") & "', " & _
"'" & Chkstring(strUserAgent, "SQLString") & "', " & _
"'" & Chkstring(intAUForumID, "SQLString") & "')"
my_conn.execute (strSql)
end if
end if




quote:

INSERT INTO FORUM_ACTIVE_USERS (MEMBER_ID, AU_IP, AU_LOGINTIME, AU_LASTACTIVETIME, AU_LASTPAGE, AU_QUERYSTRING, AU_USER_AGENT, AU_FORUM_ID) VALUES(1, '59.165.44.15', '20080318191902', '20080318191902', 'Default.asp', ' ', 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; .NET CLR 1.1.4322)', ' ')


Edited by - kolucoms6 on 18 March 2008 10:16:51
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 18 March 2008 :  11:01:34  Show Profile
Used a RAW method.

Delete AU_FORUM_ID from the SQL.

Now, its working fine.
Go to Top of Page

leesh695
Junior Member

101 Posts

Posted - 18 March 2008 :  12:02:13  Show Profile
quote:
Originally posted by kolucoms6

But i already have Other MOD also Installed.

Wont that break the entire ? [ Though it is so ]

Another thing is :In Active User MOD, I dont see any 'AU_FORUM_ID' field ....




Just incase it happens again, copying the older files would not break the mod, it would remove the code looking for database fields that are not there.

You use the original files to update your datebase then copy the ones you moded back over.
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 18 March 2008 :  13:15:04  Show Profile

:-) Thanks.

Thats why I love this forum for guiding always in Correct direction, whatever the Topic is.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous 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.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07