Author |
Topic |
|
MDGamezz
Junior Member
USA
100 Posts |
Posted - 18 April 2001 : 20:14:12
|
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
|
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 |
|
|
MDGamezz
Junior Member
USA
100 Posts |
Posted - 18 April 2001 : 21:30:43
|
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 |
|
|
big9erfan
Average Member
540 Posts |
|
MDGamezz
Junior Member
USA
100 Posts |
Posted - 18 April 2001 : 22:07:26
|
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 |
|
|
big9erfan
Average Member
540 Posts |
|
|
Topic |
|