Author |
Topic |
|
volkerc
Junior Member
Germany
156 Posts |
Posted - 29 December 2015 : 17:27:09
|
Gaaah. Need help please. Forum was running fine for years. Now it throws the following error:
Microsoft VBScript runtime error '800a000b'
Division by zero
/forum/forum.asp, line 301
Background color black, gone, just white, no lines visible, just the text. What happened? Didn't do anything. Called the hosting company, they said no fault on their end!? How can that be? I didn't touch any files? ! Last backup is too long ago, if I use the backup, a lot of posts will be gone.
HELLLLLPPP!? Where do I need to start? |
|
volkerc
Junior Member
Germany
156 Posts |
Posted - 29 December 2015 : 17:35:57
|
Line 301 says the following:
quote: maxpages = (iPageTotal \ strPageSize )
Compared to an older file, the line is unchanged.... |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 29 December 2015 : 19:36:59
|
That basically means that your variable "strpagesize" is undefined or null in the database. You can get past this point to fix it by manually inserting a line, just before that one, saying:
strpagesize = 10
Once you get back into the forum, go to the admin page. From there, open "Forum Features" and set the value for this prompt:
Items per page
When you have done that and hit submit, you will need to remove the new line from "forum.asp".
|
|
|
volkerc
Junior Member
Germany
156 Posts |
Posted - 30 December 2015 : 02:55:20
|
Thanks for the reply. Cause it was late, I didn't do anything last night, this morning forum was working again, however, the statistics active user record was reset, AND a post was made that was never done by me, just a string of nonsense letters as topic name, and in the post all sort of strings of nonsense, including links to "stupid" sites. What the! |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 30 December 2015 : 03:41:06
|
quote: Originally posted by volkerc
Thanks for the reply. Cause it was late, I didn't do anything last night, this morning forum was working again, however, the statistics active user record was reset, AND a post was made that was never done by me, just a string of nonsense letters as topic name, and in the post all sort of strings of nonsense, including links to "stupid" sites. What the!
This behaviour generally happens after a server has been reset, I'm pretty certain there was a fix released that stops the dodgy posts happening |
MVC .net dev/test site | MVC .net running on Raspberry Pi |
|
|
volkerc
Junior Member
Germany
156 Posts |
Posted - 30 December 2015 : 03:42:56
|
quote: Originally posted by HuwR
This behaviour generally happens after a server has been reset,
Whew,...thank god you said that! I was a little uneasy. Funny though I called in 3 times to the host, no we didn't do anything to the servers.... |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 30 December 2015 : 03:46:05
|
Well if they didn't do it, something definitely cause an IIS reset as the behaviour you describe indicates the application variables were cleared for the forum, the only way that happens is if the webserver gets reset for whatever reason that occurs.
|
|
|
volkerc
Junior Member
Germany
156 Posts |
Posted - 30 December 2015 : 04:16:04
|
Well, tried to reset the value for the active user record using the instructions here:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=70386
Ran the file, screen popped up, that it's updated and to remove the file, no changes to the record,... |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 30 December 2015 : 04:35:57
|
You won't see the change unless/until you refresh your active users page. |
|
|
volkerc
Junior Member
Germany
156 Posts |
Posted - 30 December 2015 : 04:37:00
|
I have refreshed a few times. |
|
|
volkerc
Junior Member
Germany
156 Posts |
Posted - 30 December 2015 : 04:48:18
|
Ok, back now! :) ;) Thank you all for your outstanding help! You guys really rock! Wishing you all a great 2016 with lots of luck, health and happiness!!! |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 30 December 2015 : 05:40:49
|
Glad we could help. |
|
|
|
Topic |
|