Author |
Topic  |
|
pierretopping
Junior Member
 
United Kingdom
224 Posts |
Posted - 31 July 2013 : 14:10:00
|
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
|
Must be something wrong with "config.asp". |
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 31 July 2013 : 15:47:25
|
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 |
 |
|
pierretopping
Junior Member
 
United Kingdom
224 Posts |
Posted - 31 July 2013 : 17:33:42
|
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 |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 31 July 2013 : 19:26:34
|
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
|
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 31 July 2013 : 23:11:12
|
He is using 3.4.05 with security patches applied. |
Support Snitz Forums
|
 |
|
pierretopping
Junior Member
 
United Kingdom
224 Posts |
Posted - 01 August 2013 : 04:08:11
|
Thanks all,
Please see here for link to (copied) active config file.
All connection strings removed......
 |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
pierretopping
Junior Member
 
United Kingdom
224 Posts |
Posted - 01 August 2013 : 09:31:26
|
Hello ruirib/All,
Thank you so much for your time - your changes done the trick :o)
Rgds,
|
 |
|
|
Topic  |
|