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 setting up New Member Private Message
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

pagelord
Starting Member

USA
32 Posts

Posted - 13 April 2001 :  02:06:52  Show Profile  Visit pagelord's Homepage  Send pagelord an ICQ Message
When I run new_mem_pm_setup.asp I get the following error.
-2147217900 | Table 'FORUM_USERFILES' already exists.
-2147217900 | Table 'FORUM_MODS' already exists.
-2147217887 | Field 'M_ALLOWDOWNLOADS' already exists in table 'FORUM_MEMBERS'.
-2147217887 | Field 'M_ALLOWUPLOADS' already exists in table 'FORUM_MEMBERS'.
-2147217900 | Syntax error in ALTER TABLE statement.
-2147217900 | Syntax error in ALTER TABLE statement.
-2147217900 | Syntax error in ALTER TABLE statement.
-2147217900 | Syntax error in ALTER TABLE statement.
-2147217900 | Syntax error in ALTER TABLE statement.
-2147217900 | Syntax error in ALTER TABLE statement.


pagelord was here

big9erfan
Average Member

540 Posts

Posted - 13 April 2001 :  02:33:36  Show Profile
You get these errors
quote:

-2147217900 | Table 'FORUM_USERFILES' already exists.
-2147217900 | Table 'FORUM_MODS' already exists.
-2147217887 | Field 'M_ALLOWDOWNLOADS' already exists in table 'FORUM_MEMBERS'.
-2147217887 | Field 'M_ALLOWUPLOADS' already exists in table 'FORUM_MEMBERS'.


because your tables already have those fields.

The second set of errors ( the alter statements )
quote:

-2147217900 | Syntax error in ALTER TABLE statement.
-2147217900 | Syntax error in ALTER TABLE statement.
-2147217900 | Syntax error in ALTER TABLE statement.
-2147217900 | Syntax error in ALTER TABLE statement.
-2147217900 | Syntax error in ALTER TABLE statement.
-2147217900 | Syntax error in ALTER TABLE statement.



I am unsure about. Is that ALL it prints out or is there more where it actually refers to the table it is trying to alter?



http://www.ugfl.net/forums
Go to Top of Page

pagelord
Starting Member

USA
32 Posts

Posted - 13 April 2001 :  09:07:06  Show Profile  Visit pagelord's Homepage  Send pagelord an ICQ Message
that is all it says. I understand that the first few rows are because the file had already been run once. This MOD was included in a zip file with several other mods I downloaded from HuwR's site. I have seen it running on another site.

pagelord was here
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 13 April 2001 :  09:10:27  Show Profile  Visit HuwR's Homepage
does it not give you the SQL statement to go with the errors?

Go to Top of Page

pagelord
Starting Member

USA
32 Posts

Posted - 13 April 2001 :  09:25:56  Show Profile  Visit pagelord's Homepage  Send pagelord an ICQ Message
Nope that is it. I have posted the code for the setup file in text form http://pagelord.darktech.org/forum/new_mem_pm_setup.txt

pagelord was here

Edited by - pagelord on 13 April 2001 09:27:21
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 13 April 2001 :  09:38:04  Show Profile  Visit HuwR's Homepage
Ok, errors aside, what happens if you try to run say the admin_nememPM or register as a new user.

If you have run this several times, then you will probab;y discover your FORUM_MODS table has duplicate entries. remove any dupllicates and then retry the mod, as far as I can see the stuff in the setup that is eroring is to do with file attachments and not the newmember pm

Go to Top of Page

pagelord
Starting Member

USA
32 Posts

Posted - 13 April 2001 :  10:09:42  Show Profile  Visit pagelord's Homepage  Send pagelord an ICQ Message
When I run the admin_new_mem_pm.asp the admin page loads but the images are all bad this error occurs when I click to submit.
Microsoft JET Database Engine error '80040e14'

Syntax error (missing operator) in query expression ''Welcome to Pagelord's Realm. This is your first private message.' WHERE M_NAME = 'NewMemPM' AND M_CODE = 'Message''.

/forum/admin_new_mem_pm.asp, line 46


pagelord was here
Go to Top of Page

pagelord
Starting Member

USA
32 Posts

Posted - 13 April 2001 :  10:19:48  Show Profile  Visit pagelord's Homepage  Send pagelord an ICQ Message
Here is a link to a text copy of http://pagelord.darktech.org/forum/admin_new_mem_pm.txt
if you look just above line 46 you see where it refers to a table named MODS but not FORUM_MODS. Might that be the issue?

pagelord was here

Edited by - pagelord on 13 April 2001 10:22:58
Go to Top of Page

pagelord
Starting Member

USA
32 Posts

Posted - 13 April 2001 :  10:34:56  Show Profile  Visit pagelord's Homepage  Send pagelord an ICQ Message
that was not the answer. here is a screen capture of my FORUM_MODS table from the database.

pagelord was here
Go to Top of Page

pagelord
Starting Member

USA
32 Posts

Posted - 13 April 2001 :  11:31:42  Show Profile  Visit pagelord's Homepage  Send pagelord an ICQ Message
Almost got it worked through. I can edite the message without error as long as I dont use any punctuation in the message. images still show as bad. and I cant figure for the life of me where the changes to register.asp should go. The docs dont refer to a line number or include anything that looks like I could blend it into anything that is already there I have made modifications to this file before when installing the email random password MOD so I cant just overwrite the file.

pagelord was here
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 13 April 2001 :  12:11:19  Show Profile  Visit HuwR's Homepage
The images are wrong because they are referenced as src="..\icon_blank.gif"

If you mail me your register.asp I'll see what I can do


Go to Top of Page

pagelord
Starting Member

USA
32 Posts

Posted - 13 April 2001 :  13:33:08  Show Profile  Visit pagelord's Homepage  Send pagelord an ICQ Message
I cant believe that I missed something simple I am humbled. All is working fine ie: no errors But the message is not showing up in the new members inbox when they login.

pagelord was here
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 13 April 2001 :  16:28:34  Show Profile  Visit HuwR's Homepage
Is it writing the pm to the db?
check the default value for recieving PM's may be set to off.

Go to Top of Page

pagelord
Starting Member

USA
32 Posts

Posted - 13 April 2001 :  17:29:58  Show Profile  Visit pagelord's Homepage  Send pagelord an ICQ Message
No it is not being written to the PM table.
I have looked at the code in pm_options.asp and changed it so that on is default but that didnt work. should I be looking somewhere else? it appears that the PM options are set individually by the user.

pagelord was here
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 13 April 2001 :  18:21:31  Show Profile  Visit HuwR's Homepage
The message should get written in register.asp

Go to Top of Page

dssww
Junior Member

USA
182 Posts

Posted - 15 April 2001 :  17:41:21  Show Profile  Visit dssww's Homepage
Did you turn it on in admin_mods.asp? (HuwR Mod Configuration)

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