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 in 1 step of db setup active users 4.0.18
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Hopeful
Junior Member

130 Posts

Posted - 25 January 2006 :  06:25:56  Show Profile
Adding Column M_AUHIDE...
ALTER TABLE FORUM_MEMBERS ADD M_AUHIDE varchar(1) NULL
Column added successfully
Adding Column M_AUHIDE...
ALTER TABLE FORUM_MEMBERS ALTER COLUMN M_AUHIDE varchar(1) NULL
ALTER TABLE FORUM_MEMBERS ALTER COLUMN M_AUHIDE varchar(1) NULL

-2147217900 | [MySQL][ODBC 3.51 Driver][mysqld-4.1.8-nt]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar(1) NULL' at line 1

Can anyone tell me how to correct this or install it manually in the alternative mod set up section?

Thank you in Advance!

Please explain everything in layman terms!!!

Hopeful
Junior Member

130 Posts

Posted - 25 January 2006 :  06:29:55  Show Profile
oh yeah... running snitz 3.4.05 and have a few other mods already installed; pm's, mike's file attachment, birthdays, pm notify, pop up toast notify and I think thats it.

db is mysql 4.1.8

Thanks!

Please explain everything in layman terms!!!
Go to Top of Page

Hopeful
Junior Member

130 Posts

Posted - 25 January 2006 :  06:46:45  Show Profile
I just saw another post from you Rui and you gave code to install the whole db for active users.
Can I just use the code for the part that has the error in the alternate mod set up section?

[ALTER]
MEMBERS
ADD#M_AUHIDE#varchar(1)#NULL#
ALTER#M_AUHIDE#varchar(1)#NULL#
[END]

Would this work for this problem?

Thanks!

Please explain everything in layman terms!!!
Go to Top of Page

Hopeful
Junior Member

130 Posts

Posted - 25 January 2006 :  07:11:29  Show Profile
I looked in the db and there is a column M_AUHIDE in the forum_members table

Does that mean I can continue with the coding steps or is there still something I need to do or add or alter?

Thank You!

Please explain everything in layman terms!!!
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 25 January 2006 :  07:16:27  Show Profile  Send ruirib a Yahoo! Message
Yeah, you can continue. Just check whether there are more statements in the DBS file and whether they have been executed as well (I don't have the file here to have a look).


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Hopeful
Junior Member

130 Posts

Posted - 25 January 2006 :  07:22:35  Show Profile
This was the only error I received when I ran the setup...

I did the next step,
From your browser run the audbsetup.asp file. http://your-forum/audbsetup.asp When is says "Update Complete" then proceed onto modifying files.

All this does is leads me back to:
http://myforum.com/down.asp

It does not say "Update Complete"
How can I be sure it is complete before I move on?
Thank you, Thank you!

Please explain everything in layman terms!!!
Go to Top of Page

Hopeful
Junior Member

130 Posts

Posted - 25 January 2006 :  07:24:46  Show Profile
This is the DBS file:

Active Users 4.0 for Snitz 3.4 compatable

[DROP]
ONLINE
[END]
[DROP]
ACTIVE_USERS
[END]
[CREATE]
ACTIVE_USERS

MEMBER_ID#int#NULL#
AU_IP#varchar(40)#NULL#
AU_LOGINTIME#varchar(100)#NULL#
AU_LASTACTIVETIME#varchar(100)#NULL#
AU_LASTPAGE#varchar(250)#NULL#
AU_QUERYSTRING#text#NULL#
AU_USER_AGENT#text#NULL#
[END]
[ALTER]
MEMBERS
ADD#M_AUHIDE#varchar(1)#NULL#
ALTER#M_AUHIDE#varchar(1)#NULL#
[END]
[ALTER]
MEMBERS_PENDING
ADD#M_AUHIDE#varchar(1)#NULL#
[END]
[INSERT]
CONFIG_NEW
(C_VARIABLE,C_VALUE)#('STRAUANON','1')
(C_VARIABLE,C_VALUE)#('STRAUANONOVERRIDE','2')
(C_VARIABLE,C_VALUE)#('STRAUPALLOW','4')
(C_VARIABLE,C_VALUE)#('STRAUPCOLLAPSE','1')
(C_VARIABLE,C_VALUE)#('STRAUALLOW','3')
(C_VARIABLE,C_VALUE)#('STRAUREFRESH','0')
(C_VARIABLE,C_VALUE)#('STRAUIP','1')
(C_VARIABLE,C_VALUE)#('STRAUUA','2')
(C_VARIABLE,C_VALUE)#('STRAULOCAL','3')
(C_VARIABLE,C_VALUE)#('STRAUTIMEOUT','7')
(C_VARIABLE,C_VALUE)#('STRAUADMINCOLOR','orangered')
(C_VARIABLE,C_VALUE)#('STRAUMODCOLOR','forestgreen')
(C_VARIABLE,C_VALUE)#('STRAUADMINCOLOR','orangered')
(C_VARIABLE,C_VALUE)#('STRAUMODCOLOR','forestgreen')
(C_VARIABLE,C_VALUE)#('intAURecord','0')
(C_VARIABLE,C_VALUE)#('strAURecordDate','11111111111111')
[END]

Please explain everything in layman terms!!!
Go to Top of Page

Hopeful
Junior Member

130 Posts

Posted - 25 January 2006 :  07:29:44  Show Profile
This is the screen I got when I ran the mod setup:

Active Users 4.0 for Snitz 3.4 compatable

Dropping Table..

Table does not exist


Dropping Table..

Table does not exist


Creating table(s)...
CREATE TABLE FORUM_ACTIVE_USERS( MEMBER_ID int NULL , AU_IP varchar(40) NULL , AU_LOGINTIME varchar(100) NULL , AU_LASTACTIVETIME varchar(100) NULL , AU_LASTPAGE varchar(250) NULL , AU_QUERYSTRING text NULL , AU_USER_AGENT text NULL )
Table created successfully


Adding Column M_AUHIDE...
ALTER TABLE FORUM_MEMBERS ADD M_AUHIDE varchar(1) NULL
Column added successfully
Adding Column M_AUHIDE...
ALTER TABLE FORUM_MEMBERS ALTER COLUMN M_AUHIDE varchar(1) NULL
ALTER TABLE FORUM_MEMBERS ALTER COLUMN M_AUHIDE varchar(1) NULL
-2147217900 | [MySQL][ODBC 3.51 Driver][mysqld-4.1.8-nt]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar(1) NULL' at line 1


Adding Column M_AUHIDE...
ALTER TABLE FORUM_MEMBERS_PENDING ADD M_AUHIDE varchar(1) NULL
Column added successfully


Adding new records..
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('STRAUANON','1')
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('STRAUANONOVERRIDE','2')
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('STRAUPALLOW','4')
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('STRAUPCOLLAPSE','1')
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('STRAUALLOW','3')
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('STRAUREFRESH','0')
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('STRAUIP','1')
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('STRAUUA','2')
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('STRAULOCAL','3')
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('STRAUTIMEOUT','7')
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('STRAUADMINCOLOR','orangered')
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('STRAUMODCOLOR','forestgreen')
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('STRAUADMINCOLOR','orangered')
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('STRAUMODCOLOR','forestgreen')
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('intAURecord','0')
INSERT INTO FORUM_CONFIG_NEW (C_VARIABLE,C_VALUE) VALUES ('strAURecordDate','11111111111111')

Value(s) updated successfully

The dbs file was successfully deleted.

If there were errors please post a question in the MOD Implementation Forum at
Snitz Forums


Do you think this is the only step I need to be sure of?




Please explain everything in layman terms!!!
Go to Top of Page

Hopeful
Junior Member

130 Posts

Posted - 25 January 2006 :  07:41:07  Show Profile
I don't see anything..... but I don't know anything either lol

Thank you AGAIN Rui, you are ALWAYS a BIG help!!!

Please explain everything in layman terms!!!
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 25 January 2006 :  08:13:42  Show Profile  Send ruirib a Yahoo! Message
Everything related to the active users mod seems ok, the table was created, the field added to FORUM_MEMBERS, and values added to FORUM_CONFIG_NEW.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Hopeful
Junior Member

130 Posts

Posted - 25 January 2006 :  08:39:59  Show Profile
Thank you so much!!!

I know that was a lot to post but I wanted a second pair of eyes to see what I was seeing!

THANK YOU, THANK YOU!!!

I'm getting busy with the code changes now!
Wish me luck! (I AM using Araneae to be safe!)

Please explain everything in layman terms!!!
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 25 January 2006 :  08:43:03  Show Profile  Send ruirib a Yahoo! Message
Ok, good luck then .


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Hopeful
Junior Member

130 Posts

Posted - 25 January 2006 :  10:12:37  Show Profile
I DID IT!!! DONE AND WORKING!!!
I can hardly believe my only glitch was the first error when I ran the mod db setup! WHEW!!!

Thank you soooooooooooooooooooooooooooooooooooooooooooo much for all your help the last 2 days!

P.S. Since I kept a copy of the changed coded pages, can I upload the AU.asp files, run the DB setup and upload the same coded pages to another forum? Will this work?

Just an after thought!
Thanks a million again Rui! What would we all do without you!!!

Please explain everything in layman terms!!!
Go to Top of Page

Hopeful
Junior Member

130 Posts

Posted - 25 January 2006 :  10:58:34  Show Profile
quote:
Originally posted by Hopeful

P.S. Since I kept a copy of the changed coded pages, can I upload the AU.asp files, run the DB setup and upload the same coded pages to another forum? Will this work?



OOPS! Guess not... it took out all my info !
I hope the server has a backup of the DB & files... or can roll back an hour!

Will find out soon...

Please explain everything in layman terms!!!
Go to Top of Page

Hopeful
Junior Member

130 Posts

Posted - 25 January 2006 :  11:41:25  Show Profile
Well, yes you can!
I forgot to change the config.asp connection string. Once I did that it worked like a charm!!!

Thanks again everyone for your help!

I'll be back in a couple months after I recoup from that to tackle something else... lol

Please explain everything in layman terms!!!
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 26 January 2006 :  07:44:44  Show Profile
[ALTER]
MEMBERS
ADD#M_AUHIDE#varchar(1)#NULL#
ALTER#M_AUHIDE#varchar(1)#NULL#
[END]

I know you got it working but I think that line gave you the error. It shouldn't be there.

    _-/Cripto9t\-_
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
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.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07