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)
 This box can sure drive you to the nut house...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Alfred
Senior Member

USA
1527 Posts

Posted - 01 December 2002 :  22:15:32  Show Profile  Visit Alfred's Homepage
I hate mysteries.
And I am going to lose my mind over this beloved electronic monster.

Today I spent all afternoon trying to create an identical backup of my forums by downloading all files from my server to the inetpub folder on my HD, and setting it up to be viewed on localhost.

I must have done half a dozen retries and file transfers into new, clean folders, but each time there were colors in it which were not on the original on my server.
I even went to the length of deleting all files in my browser cache, including all offline content.

How on earth can there be different configurations if I simply copied the files?
Please tell me I am not going nuts!

Alfred
The Battle Group
CREDO

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 01 December 2002 :  22:35:06  Show Profile  Send ruirib a Yahoo! Message
Did you copy the database file as well? And did you run setup.asp? If you haven't executed it, then do it and all will be fixed.


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 01 December 2002 22:35:20
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 01 December 2002 :  22:45:20  Show Profile  Visit Alfred's Homepage
Yes, I copied the database several times as well, but did not run setup!
I thought it only has to be run to start the board, but this was an active board with a used database.

BTW, Rui - this sure is crazy - I still have not run setup, but was playing around with it while waiting for a reply, and suddenly the colors were right!!!

What on earth happened here?

Alfred
The Battle Group
CREDO
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 02 December 2002 :  01:34:45  Show Profile  Visit Gremlin's Homepage
The application variables must be loaded to pickup the colours from the database. running setup.asp or any other admin screen will do this for you. application variables are stored on the 'webserver' so must be loaded once before things look right.


Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 02 December 2002 :  12:57:50  Show Profile  Visit Alfred's Homepage
I see.
So even if I start with a completely new folder, there is hidden info on my server that controls the colors?
And in this case the server was my localhost, and somewhere in the inetpub folder was a link to my database of that name...
Sneaky MS #$%#@!!!

That leaves the mystery of snapping to the correct colors without me running the setup...
Maybe after a while it accepts the new files' settings...?

Alfred
The Battle Group
CREDO
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 02 December 2002 :  16:54:10  Show Profile  Send ruirib a Yahoo! Message
There may be some code that detects that the values of the App variables are not loaded and loads teh,. That's what Gremlin suggested in his post and I guess he may be right. And it really has nothing to do with file settings, since all your configuration values are kept in the database.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 02 December 2002 :  18:05:13  Show Profile  Visit Gremlin's Homepage
I believe changing any Admin setting will normaly force the application variables to be reloaded. My guess is you went into the admin settings to check the colours, they all looked correct and you pressed submit, that submit then caused the application variables to be reloaded.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 16 December 2002 :  17:35:25  Show Profile  Visit Alfred's Homepage
Just an update on this problem:

Turns out to be nothing more than the browser cache which stored the files for localhost.

The problem doesn't exist for the web based pages, because the browser refreshes changed files automatically.
For some reason it doesn't do that for localhost files, and to see the changed files display properly I have to go into the file viewer and pick the files for deletion.

Bit of a nuisance, but at least the mystery is solved!

Alfred
The Battle Group
CREDO
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 16 December 2002 :  17:44:53  Show Profile  Visit Gremlin's Homepage
I wouldn't think this has anything to do with a proxy or browser caching behaviours.

Are you viewing the files by double clicking on them or by typing http://localhost/forum into your browser?

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 17 December 2002 :  00:37:09  Show Profile  Visit Alfred's Homepage
I access the URL in my browser.
Whenever it happens now I go to Tools|Internet Options|Temporary Internet Files|Settings|View Files|, and delete the offending file.
Instantly the problem is gone, and I can view my changes.

Alfred
The Battle Group
CREDO
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 17 December 2002 :  02:07:13  Show Profile  Visit Gremlin's Homepage
Why not just Force a refresh by holding down CTRL and pressing F5 ?

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

David K
Junior Member

494 Posts

Posted - 17 December 2002 :  11:12:39  Show Profile  Send David K an AOL message  Send David K an ICQ Message  Send David K a Yahoo! Message
btw, if your files don't reload, set a low expiration time for pages on the server
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 17 December 2002 :  12:56:55  Show Profile  Visit Alfred's Homepage
Gremlin,
does CTR/F5 do something other than using the "Refresh" on the browser?
Because refreshing the browser does not do it for my localhost.

As far as expiration time is concerned, I always had the "update on every visit" option (or something to that effect) enabled, which works without any problem on the web server, but seemingly not on localhost.

Alfred
The Battle Group
CREDO
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 17 December 2002 :  15:55:15  Show Profile  Visit Gremlin's Homepage
quote:
does CTR/F5 do something other than using the "Refresh" on the browser?

Yes it does, It should tell your browser to refresh from the webserver directly bypassing anything it may have in its cache.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 17 December 2002 :  20:49:20  Show Profile  Visit Alfred's Homepage
Interesting...
I would have expected that this is what happens when you "refresh"!

Alfred
The Battle Group
CREDO
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.42 seconds. Powered By: Snitz Forums 2000 Version 3.4.07