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
 Need help with this error .
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

MDGamezz
Junior Member

USA
100 Posts

Posted - 18 April 2001 :  20:14:12  Show Profile  Send MDGamezz an AOL message  Send MDGamezz an ICQ Message
It has to do with active user mod .
I'm using the latest version of snitz and my server has access 2000 .
Just so you know I'm very new at this .

Ok first things first
I set the forum up with no problems .
I then decide I want to add the Active Users list to my site . From what I can tell i followed the instruction . I put the code before the html . I placed my link where I wanted it . It all seemed ok at first but after sometime and a few replys later I start getting this error .

==========================================
Microsoft JET Database Engine error '80040e57'

The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data.

/testing/inc_top.asp, line 286
============================================

This only happened on some of the topics not all of them . One of my members prior to this pointed out something when viewing the active users . He choose a user and went to the location they were at by clicking the link . Once there as you all know theres a tree breaks down of the topic.
Example = up on the left side of the screen under active users .
The last listing had some extra letters in it .
example = rEMOD Add-On Forum (W/Code)
its the rE part . I didnt put the two problems together , but it seems this is the case . I now have replaced my inc_top.asp with the original and all is fine . I can reply to the topics I was getting the errors on . any help would be appreciated .
thank you .


<img src="http://www.mindgamezz.com/banners/sg.gif">

big9erfan
Average Member

540 Posts

Posted - 18 April 2001 :  20:57:19  Show Profile
Yeah, I had that problem too....

I'll break it down for you.

Take a look ( in design view ) at the field M_BROWSE in your FORUM_ONLINE Table in Access.

You'll see it's a text field. A text field can only hold 255 characters. Well, with the way some guys ramble on in their topic names and then adding the HTML code <a href= blah blah blah etc etc, this can exceed the 255 characters. DOH! Problem occurs and until the person leaves that page or their session dies you get that error.

To fix it all you have to do is change that field from Text to Memo. I am assuming that you have Access 2000 and can do this. If you do not, well, I'm sorry I cannot help you. Some of the other guys here ( more advanced with table manipulation and such ) may be able to help you though

As per your second problem,

replace this with what you currently have there ( just up to the end if though ) and this will fix those problem of the ugly branches. It only occured when someone was posting a new topic or a new reply and someone clicked on the link to go to that place.

' TRY AND FIND OUT WHAT PAGE THEY ARE ON
If lcase(Right(strOnlinePathInfo, 9)) = "forum.asp" Then
strOnlineLocation = "<a href=""forum.asp?" & strOnlineQueryString & """>" & Request.QueryString("Forum_Title") & "</a>"
ElseIf lcase(Right(strOnlinePathInfo, 11)) = "default.asp" Then
strOnlineLocation = "<a href=""default.asp"">Home</a>"
ElseIf lcase(Right(strOnlinePathInfo, 9)) = "topic.asp" Then
strOnlineLocation = "Viewing Message ' <a href=""link.asp?TOPIC_ID=" & Request.QueryString("TOPIC_ID") & """>" & Request.QueryString("Topic_Title") & "</a> '"
ElseIf lcase(Right(strOnlinePathInfo, 8)) = "post.asp" Then
If Request.QueryString("method") = "Reply" Then
strOnlineLocation = "Replying To Message ' <a href=""link.asp?TOPIC_ID=" & Request.QueryString("TOPIC_ID") & """>" & Request.QueryString("Topic_Title") & "</a> '"
ElseIf Request.QueryString("method") = "Topic" Then
strOnlineLocation = "Posting New Topic in ' <a href=""forum.asp?" & strOnlineQueryString & """>" & Request.QueryString("Forum_Title") & "</a>"
Else
strOnlineLocation = "Unknown"
End If


http://www.ugfl.net/forums

Edited by - big9erfan on 18 April 2001 21:13:14
Go to Top of Page

MDGamezz
Junior Member

USA
100 Posts

Posted - 18 April 2001 :  21:30:43  Show Profile  Send MDGamezz an AOL message  Send MDGamezz an ICQ Message
So what your saying is . If I dont have access 2000 then I cant fix the problem .
Is there anyone that can help me do this ?

MDGamezz
Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 18 April 2001 :  21:51:47  Show Profile
Ok I modified this file...

save it, rename it to a .asp file, upload it to your server and run it.

http://ugfl.net/test/active_users_setup.txt



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

MDGamezz
Junior Member

USA
100 Posts

Posted - 18 April 2001 :  22:07:26  Show Profile  Send MDGamezz an AOL message  Send MDGamezz an ICQ Message
That seemed to work . I was able to reply to a message that I could not before .
Many thanks to you for your help .

MDGamezz
Go to Top of Page

big9erfan
Average Member

540 Posts

Posted - 18 April 2001 :  22:36:45  Show Profile
No probs, I'm glad all is working now


http://www.ugfl.net/forums
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.57 seconds. Powered By: Snitz Forums 2000 Version 3.4.07