Ask Your Question
1

Settings not taking effect

asked 2012-04-21 13:13:02 -0500

megabosx gravatar image megabosx
53 2 1 6

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.

delete close flag offensive retag edit

Comments

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-04-21 13:18:51 -0500

Evgeny gravatar image Evgeny flag of Chile
11074 50 84 182
http://askbot.org/

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

link publish delete flag offensive edit

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 ( 2012-04-24 12:43:15 -0500 )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 ( 2012-04-24 15:09:00 -0500 )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 ( 2012-04-26 01:08:49 -0500 )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 ( 2012-04-26 08:53:54 -0500 )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 ( 2012-04-26 09:21:17 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-04-21 13:13:02 -0500

Seen: 155 times

Last updated: Apr 21 '12