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: General / Current Version (Old)
 Praying to the coding Gods!
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

InDepthArts
New Member

77 Posts

Posted - 11 June 2001 :  11:12:52  Show Profile  Visit InDepthArts's Homepage
Please can someone tell me how to fix this error. When posting long posts as we often do on our forums the preview function totally goes berzerk. On a good day we get output like this:



On a bad day it brings down the browser. The above screenshot has occured on both my IE6 installation as well as one of my moderators IE5.5 installations. Could it be somthing with field lengths in the database? I am clueless. This only seems to happen with long posts.

Any help is GREATLY appreciated.

Eric

gor
Retired Admin

Netherlands
5511 Posts

Posted - 11 June 2001 :  13:28:25  Show Profile  Visit gor's Homepage
Is this with the version 3.1 SR4 ?

Did you try that here also (in the testforums), shouldn't happen here if everything goes like it should, and then upgrading to the new version is going to solve this.

Pierre
Join the Snitz WebRing
Go to Top of Page

InDepthArts
New Member

77 Posts

Posted - 11 June 2001 :  16:33:00  Show Profile  Visit InDepthArts's Homepage
Pierre,

Thank you for your reply. I do believe that this is sr4 as I downloaded it just a couple weeks ago (3 weeks maximum.)

Eric
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 11 June 2001 :  16:49:27  Show Profile
Could we take a look at your forum?
Also could you post a link to a txt version of your inc_functions.asp file?

Go to Top of Page

InDepthArts
New Member

77 Posts

Posted - 11 June 2001 :  16:59:15  Show Profile  Visit InDepthArts's Homepage
Sure thing Davio! I appreciate the help. The URL to our boards is:

http://www.critical-depth.com/cgi-bin/idd

and the link to my inc_functions.asp file in text format is:

http://www.critical-depth.com/inc_functions.txt

I must say though that (besides a couple buggy things with javascript and Netscape) Snitz is the best forum software I have come across... free or commercial.

Eric

Edited by - InDepthArts on 11 June 2001 17:01:38
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 11 June 2001 :  19:35:03  Show Profile
Well, did some testing. It seems the preview function on your site goes berzerk after 3611 characters. I tested it on my 3.1 SR4 test forum and it showed up to 3641 characters. It didn't go berzerk as yours did just didn't show anything more of the message after that. Got the same result when I tried it on the 3.2 Alpha 6 version. All are using Access database but the database has nothing to do with it since the message is stored in the cookie when previewing it and only reaches the database after hitting the post button.

Your inc_functions.asp file looks identical to mine so don't know what it could be. But I think either way, since the preview can't show more than a certain amount of characters, it either shows you the message jumbled or it cuts the message, so both ways you won't be able to see the rest of the message.

That's my hypothesis.

Go to Top of Page

Intrepidone
Average Member

Canada
515 Posts

Posted - 11 June 2001 :  23:30:07  Show Profile
I am not sure if this has anything to do with the error your getting, but I was taking a look at your site and when I was viewing some members profiles I kept getting this error

 Total Posts:  Microsoft VBScript runtime error '800a005e' 

Invalid use of Null: 'Replace'

/cgi-bin/idd/inc_functions.asp, line 358


Intrepidone
Go to Top of Page

InDepthArts
New Member

77 Posts

Posted - 12 June 2001 :  10:08:21  Show Profile  Visit InDepthArts's Homepage
Hey guys,

Thanks for your help! So am I pretty much SOL on this?

Eric

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 12 June 2001 :  13:22:04  Show Profile  Visit HuwR's Homepage
if you hunt around the forums here, you will find an alternative preview, by either Dastim or Aznight don't recall which.

The problem is caused by passing the message in a cookie.

Go to Top of Page

InDepthArts
New Member

77 Posts

Posted - 13 June 2001 :  11:49:16  Show Profile  Visit InDepthArts's Homepage
Thanks guys and thank you HuwR! I tried to make the changes last night but ran into problems because my post.asp is kind of modified. I will try again tonight. HuwR, does that updated preview function alter the way that the information is passed between the two pages? I am really new to any kind of coding but I am trying to learn as fast as I can.

Also, does anyone have any clues as to why Netscape 4.X users can't use various pop-up functions? They get Javascript errors... and it happens on these forums as well (I tested.) If I could get these two issues worked out it will be smooth sailing for me!

Eric
Go to Top of Page

_ENiGMA_
New Member

USA
82 Posts

Posted - 13 June 2001 :  17:59:20  Show Profile  Visit _ENiGMA_'s Homepage
Perhaps im waaay off, but could the problem possibly be a result of over running the size limitations put on a text file?

Oh well, just my 2 cents worth...

ENiGMA[RiA]

Development Site:
http://www.wiktel.net/ariaclan/default.asp
Running Site:
http://www.wiktel.net/ariaclan/forum/default.asp
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 13 June 2001 :  19:00:47  Show Profile  Visit HuwR's Homepage
quote:

Thanks guys and thank you HuwR! I tried to make the changes last night but ran into problems because my post.asp is kind of modified. I will try again tonight. HuwR, does that updated preview function alter the way that the information is passed between the two pages? I am really new to any kind of coding but I am trying to learn as fast as I can.


Yes I think so, but would have to check the mod out to see.
quote:

Also, does anyone have any clues as to why Netscape 4.X users can't use various pop-up functions? They get Javascript errors... and it happens on these forums as well (I tested.) If I could get these two issues worked out it will be smooth sailing for me!

Eric


Could you supply specific examples with the error, so someone can investigate.


Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 13 June 2001 :  23:35:10  Show Profile
quote:
Also, does anyone have any clues as to why Netscape 4.X users can't use various pop-up functions? They get Javascript errors... and it happens on these forums as well (I tested.) If I could get these two issues worked out it will be smooth sailing for me!
This is a bug. Tested it with Netscape 4.72. When the page loads up, this is the javascript error that is produced without pressing any button or anything:
JavaScript Error:
http://forum.snitz.com/forum/post.asp,
line 488:

try is a reserved identifier.

try{
................^
If you try clicking the Preview button you get this:
JavaScript Error:
http://forum.snitz.com/forum/post.asp,
line 839:

OpenPreview is not defined.
But I guess that's because of the first error.

So most, if not all, Netscape users can't use the preview function. I'll post this in the DEV Bug Report.

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 14 June 2001 :  01:11:23  Show Profile
hmmm, wierd. The "try" identifier in the javascript is not in the SR4 version of the forums, but it is in the Alpha versions and later. But I went to InDepthArts site and got the same error, but when I looked at the source code, couldn't find the "try" identifier the error was reffering to. Looking at the source code here, I found the "try" identifier it was reffering to.
*scratches head*

Edited by - Davio on 14 June 2001 01:12:39
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 14 June 2001 :  02:45:51  Show Profile  Visit HuwR's Homepage
the 'try' was added to trap an error in the allowed memberlist box.

don't know why netscape wouldn't like it though will need to hunt out some info

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