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
 can't add avatar
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

nexx
Starting Member

18 Posts

Posted - 16 May 2002 :  03:07:58  Show Profile

Well... another one... when i try to add an avatar...


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

[Microsoft][ODBC Microsoft Access Driver] Could not find output table 'FORUM_AVATAR'.

/forum/admin_add_avatar.asp, line 90


RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 16 May 2002 :  03:45:31  Show Profile
that means that the FORUM_AVATAR table was not created when you ran the database setup.

The reason it wasn't setup is because you are using ODBC drivers instead of OLE Drivers for the Database.

You should be using one of the strConnStrings that start with this:

strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;


and NOT the ones that start with this:

strConnString = "DRIVER={Microsoft Access Driver (*.mdb)};


Try changing the strConnString in your config.asp file and then run the MOD Setup from the Admin Options again.
Go to Top of Page

nexx
Starting Member

18 Posts

Posted - 16 May 2002 :  05:56:38  Show Profile
Thanks! You're wonderful!





Edited by - nexx on 16 May 2002 05:57:43
Go to Top of Page

nemesis
Starting Member

43 Posts

Posted - 16 May 2002 :  06:28:26  Show Profile  Send nemesis an ICQ Message
Good Morning Richard,

Sorry for the cross Message Post but I really need your help.

The Mod works fine when there is only one message in the forum, but when there is a reply or a new post I get this message.

Error Type:
ADODB.Recordset (0x800A0CC1)
Item cannot be found in the collection corresponding to the requested name or ordinal.
/Forum/topic.asp, line 388

Page:
GET /Forum/topic.asp

on that line (388) I have

<% if Trim(rsReplies("M_AVATAR_URL")) <> "" and lcase(rsReplies("M_AVATAR_URL")) <> "noavatar.gif" and (IsNull(rsReplies("M_AVATAR_URL")) = false) then %>

So why the message..?

Please help.. thank you

Nem
Depression is merely Anger without Enthusiasm.
Go to Top of Page

Um
Junior Member

222 Posts

Posted - 16 May 2002 :  13:58:51  Show Profile
this line it have to look like this:

<br><% if Trim(rsReplies("M_AVATAR_URL")) <> "" and lcase(rsReplies("M_AVATAR_URL")) <> "noavatar.gif" and (IsNull(rsReplies("M_AVATAR_URL")) = false) then %>


are you sure that you have <br> on the start of line?

If you have that, then try to change the rsReplies to rsTopic...

IMPORTANT: Be sure, that you have backup file.


Edited by - Um on 16 May 2002 14:12:14
Go to Top of Page

nemesis
Starting Member

43 Posts

Posted - 17 May 2002 :  01:58:01  Show Profile  Send nemesis an ICQ Message
Thanks for the advice, but it doesn't work.

When I do that I get this error..

Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'rsTopic'
/Forum/topic.asp, line 389

I think the first part of the code is for the Replies, and the second part is for the Topics.

When I publish a new topic I see the avatars, when someone replies to the topic i get the previous error.

Thanks for any help.

Nem
Depression is merely Anger without Enthusiasm.
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 17 May 2002 :  02:19:07  Show Profile
Most likely the problem lies in the strSql part where the replies are pulled from the database. Double check that you correctly added all of the code to topic.asp that is in the instructions.
Go to Top of Page

nemesis
Starting Member

43 Posts

Posted - 17 May 2002 :  03:53:20  Show Profile  Send nemesis an ICQ Message
Me eyes got twisted so bad after going through all the code looking foe errors I thought the easiest thing would be to start again.

I kept the DB re-setup the forum and it now works fine.

Thank you all for all the help.

Nem
Depression is merely Anger without Enthusiasm.
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07