First time here? Check out the FAQ!
1

Settings not taking effect

I'm modifying settings in the admin page but they are not taking effect.If i disable some login methods they are still available on the main forum page.Likewise if i click save, the settings still appear as if i had not modified them, what could be wrong.

megabosx's avatar
53
megabosx
asked 2012-04-21 13:13:02 -0600
edit flag offensive 0 remove flag close merge delete

Comments

Joseph's avatar Joseph (2012-07-24 16:28:46 -0600) edit
add a comment see more comments

1 Answer

1

Your cache setup could be wrong. Configure redis cache or memcached for the production use.

Evgeny's avatar
13.2k
Evgeny
answered 2012-04-21 13:18:51 -0600
edit flag offensive 0 remove flag delete link

Comments

How exactly do you configure memcached setting in the settings file, i've tried messing around with the settings file but i just can't get it to work, and how to you test if memcached is actually working?

megabosx's avatar megabosx (2012-04-24 12:43:15 -0600) edit

Firstly - use pymemcache - the Python implementation. The C implementation is buggy. Django project has documentation for the cache setup, please have a look.

Evgeny's avatar Evgeny (2012-04-24 15:09:00 -0600) edit

I'm getting the following error when i add the memcached settings as indicated in the docs: ImproperlyConfigured: Error importing middleware django.contrib.sessions.middleware: "No module named memcache"

megabosx's avatar megabosx (2012-04-26 01:08:49 -0600) edit

Take a look at hosting providers documentation on how to set up memcache for django. In this case you are missing a module indeed.

Evgeny's avatar Evgeny (2012-04-26 08:53:54 -0600) edit

i followed the memcached setup procedure from the hosting provider, now im getting the following errors: in asbot.log; ImportError: No module named cache_db in server log: VariableDoesNotExist: Failed lookup for key [request] in u'[{}]' what could be the problem, i've switched to using postgres but still the same problem.

megabosx's avatar megabosx (2012-04-26 09:21:17 -0600) edit
add a comment see more comments