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 / Classic ASP versions(v3.4.XX)
 Odd server error
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Loyola05
Starting Member

24 Posts

Posted - 19 July 2007 :  14:22:55  Show Profile  Visit Loyola05's Homepage
I ran into a problem (see this post: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=65094) with my server resetting some variables.

Basically, my forum will, from time to time, reset background colors and font sizes - but not all of the color/font values are reset (only the same 6 or 8).

My site - www.whyilovechicago.com(/forum)

When I run setup.asp, this problem is temporarily fixed, but it always seems to come back at random times. I haven't been able to figure out if it happens every X number of visits... I last fixed this problem yesterday afternoon, and I am confident it will resurface.

I am using GoDaddy's hosting service on a Windows machine. Is there any known problem with either GoDaddy or specific Windows servers?

Furthermore, is there any way I permanently fix this issue? I have considered trying to re-write these colors/fonts into a CSS file, but that involves re-writing much of the ASP code for the forum (a large task).

Art
http://www.whyilovechicago.com

AnonJr
Moderator

United States
5768 Posts

Posted - 19 July 2007 :  15:20:11  Show Profile  Visit AnonJr's Homepage
A while back someone put together a CSS'd version of Snitz and called it "Speed Ball 2" (aka SB2, SBII, etc.) - he'd done some other work to shave a few seconds off of load time and reduce server traffic, etc. Search the forums and you should be able to find it - just keep in mind that its a little old as it was based on the 3.4.04 release of the code and you would have to go through and at least apply all the security updates. It has been my intention to update it to 3.4.06 but I just haven't had time to get past intending to do it.

However, this won't fix the underlying problem - the server. There are some definite issues with the server and you will really need to take it up with your host - or find a new one. Hosting discussions aren't allowed, so I can't make any recommendations (even if they were allowed I can't really make any recommendations as I've only used the one I have now - they're not bad, but not good either. They just haven't been bad enough to go past contemplating a move).

Can you tell I'm over-tired and over-caffinated? I've just run on and still not really answered the question....
Go to Top of Page

Loyola05
Starting Member

24 Posts

Posted - 19 July 2007 :  15:32:12  Show Profile  Visit Loyola05's Homepage
Riddle me this (as I haven't looked into the answer)... where are these color/font variables stored? Is it in the database (I'm using the Access configuration)?

I suppose if I can locate where these values are stored, I can possibly find a programming solution. I had considered adding a server-script to run setup.asp every time a page loaded, but I'd rather not do that.

Art
http://www.whyilovechicago.com
Go to Top of Page

gary b
Junior Member

USA
267 Posts

Posted - 19 July 2007 :  15:45:16  Show Profile  Visit gary b's Homepage
quote:
Originally posted by Loyola05

Riddle me this (as I haven't looked into the answer)... where are these color/font variables stored? Is it in the database (I'm using the Access configuration)?
This from a newbie...

Go to Admin Menu/Server Variable (?) This lists all the current values for all server variables. To my (limited!) knowledge, these variables are initialized from database values. So answer to your question is 'database'.

If you can't view the Access table fields, let me know. I will post a list of all field names. Then you can see where config settings (like forum colors) are stored.
Go to Top of Page

Loyola05
Starting Member

24 Posts

Posted - 19 July 2007 :  15:57:01  Show Profile  Visit Loyola05's Homepage
I'm not really a new user... I've run this version of Snitz on three different sites, and my current site is the only one giving me problems.

I know where to look in the Admin menu - I just didn't know if default values were being set by an ASP script written in one of the many include files.

What doesn't make sense to me is that these are the only values being reset... none of the other data in the Access database are being overwritten or deleted...

Art
http://www.whyilovechicago.com
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 19 July 2007 :  16:25:44  Show Profile  Visit AnonJr's Homepage
They are permanently stored in the database, but the code pulls them from the session variables. Odds are the problem is in reading the session variables on the server - that's the first thing that jumps to mind based on what you've described so far.

Usually, if the Session variables aren't there or can't be read it should pull them back up with out having to re-run setup.asp... just to cover all the bases: have you made any changes to the code?
Go to Top of Page

Loyola05
Starting Member

24 Posts

Posted - 19 July 2007 :  16:40:58  Show Profile  Visit Loyola05's Homepage
I've made very basic modifications... if you look at my site, you'll see that I wrapped the forum in a template (to match my homepage). I also added the "no-follow" attributes to all links (via inc_common.asp, i think), and I changed the langauge on the registration page.

My wrapper template (basically just #include files and CSS documents) uses Google AdSense, but I don't think that it's causing a problem because the error was there before I added that.

My CSS also shouldn't conflict with the forum, as it's pretty much all based on classes (no generic text/table definitions).

Beyond that, I don't think I changed or modified anything with the code.

To be clear, the only pages I edited (I think) are:
- forum.asp (HTML includes and CSS)
- topic.asp (HTML includes and CSS)
- default.asp (HTML includes and CSS)
- inc_common.asp (added "no-follow" to links)
- (whatever file the registration language is in... some include file) (changed only text)

Art
http://www.whyilovechicago.com
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 19 July 2007 :  16:56:06  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
you could go from db driven font color variables to config.asp hard coded variables too

coaster crazy
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 19 July 2007 :  17:02:10  Show Profile  Visit AnonJr's Homepage
That is an option too... not fun, but it works. Still doesn't take care of the underlying problem though and may just move us from one issue to another...
Go to Top of Page

Loyola05
Starting Member

24 Posts

Posted - 19 July 2007 :  17:06:01  Show Profile  Visit Loyola05's Homepage
I'm not in front of the code at the moment, so bear with me. Does that option involve lots of re-coding, or would I be simply moving pointers for these variables from the DB to hard-coded color declarations?

Art
http://www.whyilovechicago.com
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 19 July 2007 :  17:27:48  Show Profile  Visit AnonJr's Homepage
Not too much re-coding. In config.asp you'd be changing where it pulls the values from the Application variables to whatever you wanted to hard-code in. Tedious, but not too hard.
Go to Top of Page

philsbbs
Junior Member

United Kingdom
397 Posts

Posted - 19 July 2007 :  17:57:31  Show Profile
Hi,

Your now alone I also get this problem and have done for years on an off and theres no pattern.

My server is Windows based and my database is sql2000

I'm sure others have the same problem, but is there a solution except to run setup.asp

Phil
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 20 July 2007 :  04:36:16  Show Profile
It's usually caused by the server being restarted and thus all application variables being wiped. If the server is being restarted that often then you need to get on to your host to find out why and what efforts are being made to fix the problem.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

philsbbs
Junior Member

United Kingdom
397 Posts

Posted - 20 July 2007 :  07:20:44  Show Profile
I dont think is a server reboot issue as I have other snitz forum on the same server and when I check they seem ok.

Phil

Edited by - philsbbs on 20 July 2007 07:21:44
Go to Top of Page

Loyola05
Starting Member

24 Posts

Posted - 14 August 2007 :  17:59:00  Show Profile  Visit Loyola05's Homepage
I went into config.asp and hard-coded the values that are being reset.

Hopefully this works... I'm getting neurotic about checking my forum every day to see if I need to run setup!

Art
http://www.whyilovechicago.com
Go to Top of Page

philsbbs
Junior Member

United Kingdom
397 Posts

Posted - 15 August 2007 :  03:35:43  Show Profile
What did you hard code and has it worked.

Phil
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 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.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07