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)
 Main Forum Configuration not saving
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pierretopping
Junior Member

United Kingdom
224 Posts

Posted - 31 July 2013 :  14:10:00  Show Profile  Visit pierretopping's Homepage  Reply with Quote
Hi All,

I have changed a few defaults on my forum, but they are not saving (via admin_config_system.asp). I press save and all looks good. But I then go back in and the vales (Require Registration: for example), is back to its old value before I saved it ?

I have cleared cookies and re-tried, but no luck ?

Any thought people please ?

Thanks

Carefree
Advanced Member

Philippines
4217 Posts

Posted - 31 July 2013 :  15:23:06  Show Profile
Must be something wrong with "config.asp".
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 31 July 2013 :  15:47:25  Show Profile  Visit AnonJr's Homepage
Two questions:

  • Are the changes being saved to the FORUM_CONFIG_NEW table?

  • Have you changed anything in the code or with the server between when it was last working and now?


If they are not, and you're using Access, your hosting provider may have made a change that removed the proper write privileges to the database... though usually you would also see problems with people not being able to log in or post as well.

If they are, then we would need to start looking into why the session variables aren't properly saving.

Edited by - AnonJr on 31 July 2013 15:47:40
Go to Top of Page

pierretopping
Junior Member

United Kingdom
224 Posts

Posted - 31 July 2013 :  17:33:42  Show Profile  Visit pierretopping's Homepage
Thanks both for your reply's.

The changes are being saved in the FORUM_CONFIG_NEW table, just checked.
The database is MS-SQL and we host it ourselves.

I just brought up a VM system thats a few months old, and tried saving the settings on that, and it worked.

Doing a diff on the two config files, I found the following:

***** config.asp (the live one with the issue)
strUniqueID = "Snitz00"
if Application(strCookieURL & "STRVERSION")= "" Or IsNull(Application(strCookieURL & "STRVERSION")) Or blnSetup="Y" Then

***** CONFIG-VM.TXT (VM backup with no issue)
strUniqueID = "Snitz00"
If Application(strCookieURL & "ConfigLoaded")= "" Or IsNull(Application(strCookieURL & "ConfigLoaded")) Or blnSetup="Y" Then

*****

Tempted to copy over the working config.asp over from the VM system to if that works. All the database settings/passwords are the same so might be worth a go do you think ?

The change was made because of this:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=67497&SearchTerms=appVarsLoadError

Which I asked in the topic below:
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=70554

Thanks

Edited by - pierretopping on 31 July 2013 17:36:40
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 31 July 2013 :  19:26:34  Show Profile
Can you post a link to a txt version of your config.asp fileso we can see what you did?
Make sure to remove any database username/pass etc. from the file first.

Support Snitz Forums
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 31 July 2013 :  21:15:38  Show Profile  Send ruirib a Yahoo! Message
The changes proposed on that fix are used in 3.4.07 and I applied them to all the forums I help with. They all save settings without any issues.


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

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 31 July 2013 :  23:11:12  Show Profile
He is using 3.4.05 with security patches applied.

Support Snitz Forums
Go to Top of Page

pierretopping
Junior Member

United Kingdom
224 Posts

Posted - 01 August 2013 :  04:08:11  Show Profile  Visit pierretopping's Homepage
Thanks all,

Please see here for link to (copied) active config file.

All connection strings removed......

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 01 August 2013 :  07:49:22  Show Profile  Send ruirib a Yahoo! Message
Your config.asp had, at the very least, 6 relevant parts from the new code missing. I added the missing parts.


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

pierretopping
Junior Member

United Kingdom
224 Posts

Posted - 01 August 2013 :  09:31:26  Show Profile  Visit pierretopping's Homepage
Hello ruirib/All,

Thank you so much for your time - your changes done the trick :o)

Rgds,

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07