Print Page | Close Window

a very sick forum !!

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=23102
Printed Date: 07 April 2026 at 8:12pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: a very sick forum !!
Posted By: racekites
Subject: a very sick forum !!
Date Posted: 12 April 2007 at 10:31am

Hey guys

been running webwiz for years now, running on SQLServer.

However the db server went down and the databases have been restored onto a new machine.

Its now running and i've updated the connection strings, however the forum is still very broken.

Nothing has changed in terms of code, just the location of the db.. (as far as i'm aware)

http://www.racekites.com/forum/default.asp - http://www.racekites.com/forum/default.asp

Its not picking up the variables for the stylesheet, and am getting loads of errors all over the place..

when openening a forum and geting the following :

Microsoft VBScript runtime error '800a000b'

Division by zero

/forum/forum_topics.asp, line 447

which is :

'Count the number of pages for the topics using FIX so that we get the whole number and  not any fractions
    intTotalRecordsPages = FIX(intTotalRecords / intTopicPerPage)


Please help !!

Cry

Cheers
A





Replies:
Posted By: racekites
Date Posted: 12 April 2007 at 10:37am

update :

it looks like includes are not working... ??

the files are present however variables are not being given values ...??

tis very strange...




Posted By: racekites
Date Posted: 12 April 2007 at 11:47am

update :

okay looks like i may have found the issue.

when calling getForumConfigurationData() found in global_variables_inc.asp it appears that the condition :

If isEmpty(Application(strAppPrefix & "blnConfigurationSet")) OR isNull(Application(strAppPrefix & "blnConfigurationSet")) OR Application(strAppPrefix & "blnConfigurationSet") = false OR blnUseApplicationVariables = false Then

is set to true, therefore the configuration data is not being populated.

have added a line :

Application(strAppPrefix & "blnConfigurationSet") = False

Which seems to have fixed lots of issues !!




Posted By: WebWiz-Bruce
Date Posted: 12 April 2007 at 1:44pm
The problem was that you tried to run the forum before it was connected to the database so the cached database quires didn't work.

Change the part back to how it was originally and if it happens again just go to the skin configuration page in the admin area and submit the page forcing the form to re-cache the quires.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: racekites
Date Posted: 12 April 2007 at 1:55pm

Hi b

the db connection was up and running, i wrote a test page querying the db which worked fine. It appears that some values were cached in IIS hence the Application object being true.

looks like its working now...

thank you !!

Tongue





Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net