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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
megabosx's avatar
53
megabosx
asked 12 years ago

Comments

see more comments

1 Answer

1

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

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago
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 (12 years ago)

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 (12 years ago)

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 (12 years ago)

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 (12 years ago)

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 (12 years ago)
see more comments