Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: shadowandlight on September 02, 2014, 07:19:42 PM

Title: saving settings doesnt "stick" until multiple attempts
Post by: shadowandlight on September 02, 2014, 07:19:42 PM
when trying to save settings in the admin panel, it takes multiple tries before the options stick.

i see nothing in the SMF error log though...

any ideas?

Title: Re: saving settings doesnt "stick" until multiple attempts
Post by: Arantor on September 02, 2014, 07:23:57 PM
Version of SMF? Mods installed? What settings are you trying to change?

Also, what version of PHP does your server have? If you go to Admin > Main > Support and Credits, it will give you these version numbers.
Title: Re: saving settings doesnt "stick" until multiple attempts
Post by: shadowandlight on September 02, 2014, 07:34:23 PM
Sorry, very dumb for me not to list more info..

Version Information:
Forum version: SMF 2.0.8 (more detailed)
Current SMF version: SMF 2.0.8
GD version: 2.0
MySQL version: 5.5.37-0ubuntu0.12.04.1
Memcached: ???
PHP: 5.3.10-1ubuntu3
Server version: Apache/2.2.22 (Ubuntu)


1. Add Favicon.ico Support 1.101 (Not installed)
2. Menu Buttons 1.1  [ Uninstall ] [ List Files ] [ Delete ]
3. RSS Feed Poster 4.1  [ Uninstall ] [ List Files ] [ Delete ]
4. Personal Messages to Membergroups 1.4.3  [ Uninstall ] [ List Files ] [ Delete ]
5. SimplePortal 2.3.5  [ Uninstall ] [ List Files ] [ Delete ]
6. Enhanced PM System 1.6  [ Uninstall ] [ List Files ] [ Delete ]
7. ENotify 2.0.2  [ Uninstall ] [ List Files ] [ Delete ]
8. Temars EVE API 1.3.1 r7  [ Uninstall ] [ List Files ] [ Delete ]
9. PM to XMPP 1.0  [ Uninstall ] [ List Files ] [ Delete ]
10. BK-Modding Favicon and Custom Global HTML 2.0  [ Uninstall ] [ List Files ] [ Delete ]
Title: Re: saving settings doesnt "stick" until multiple attempts
Post by: Arantor on September 02, 2014, 07:44:27 PM
Hrm, not quite what I expected to see.

So what settings are you trying to change that don't stick?
Title: Re: saving settings doesnt "stick" until multiple attempts
Post by: shadowandlight on September 02, 2014, 07:46:12 PM
Quote from: Arantor on September 02, 2014, 07:44:27 PM
Hrm, not quite what I expected to see.

So what settings are you trying to change that don't stick?

its almost "global"

it takes multiple attempts for things to save.... ill try to give more details as i see them (i know its happening in the admin panel)

i dont see any logs in smf to show you

what about from ubuntu?  anything there useful?
Title: Re: saving settings doesnt "stick" until multiple attempts
Post by: Arantor on September 02, 2014, 07:48:01 PM
All settings everywhere? Strange. I was hoping it would be specific to something rather than everywhere.

Also, in Admin > Configuration > Server Settings > Caching, what's that set to?
Title: Re: saving settings doesnt "stick" until multiple attempts
Post by: shadowandlight on September 02, 2014, 07:50:44 PM
http://i.imgur.com/rEp18iy.png

Level 1

it says memcache is installed, but didnt give a version number from main -> support and credits...

maybe theres a bug there on the server or in SMF?
Title: Re: saving settings doesnt "stick" until multiple attempts
Post by: Arantor on September 02, 2014, 08:00:32 PM
If there's no version number, it's not using that.

As a temporary measure, try turning off caching and see if that helps.
Title: Re: saving settings doesnt "stick" until multiple attempts
Post by: shadowandlight on September 02, 2014, 08:05:02 PM
Quote from: Arantor on September 02, 2014, 08:00:32 PM
If there's no version number, it's not using that.

As a temporary measure, try turning off caching and see if that helps.

did not seem to help
Title: Re: saving settings doesnt "stick" until multiple attempts
Post by: shadowandlight on September 02, 2014, 08:05:51 PM
** I LIED **

seems to have fixed it!
Title: Re: saving settings doesnt "stick" until multiple attempts
Post by: Arantor on September 02, 2014, 08:33:51 PM
I had a feeling it might. Seems that something is being very excitable about caching even though all the signs suggest otherwise.
Title: Re: saving settings doesnt "stick" until multiple attempts
Post by: shadowandlight on September 02, 2014, 08:37:07 PM
whats a more "permanent" fix?
Title: Re: saving settings doesnt "stick" until multiple attempts
Post by: Arantor on September 02, 2014, 08:45:16 PM
I don't know. If you were using PHP 5.5, I'd point you to a discussion about that very situation for the next version of SMF, but you're not... I'm at something of a loss.

That said... once you've got the settings set you probably won't need to change them - and in all likelihood they were actually set the first time but you have to wait a short while (typically 90 seconds) for the changes to settings to show up. Caching is all about minimising load on a system by reusing existing work - including settings.