DjangoBB

Django based forum engine

  • You are not logged in.

#1 Nov. 18, 2011 17:03:59

jaytest
Registered: 2011-11-17
Posts: 5
Reputation: +  0  -
Profile   Send e-mail  

VariableDoesNotExist at /forum/

Hi guys,


I have encountered this problem recently when i go to http://127.0.0.1:8000/forum/ [127.0.0.1]


 VariableDoesNotExist at /forum/

Failed lookup for key [request] in u"[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0xa3c1fac>}, {'perms': <django.utils.functional.__proxy__ object at 0xa3bdd8c>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0xa3c128c>, 'user': <django.utils.functional.SimpleLazyObject object at 0xa3c136c>}, {}, {'LANGUAGES': (('ar', 'Arabic'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'en-us'}, {'MEDIA_URL': '/media/'}, {'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0xa3c128c>}, {'cats': [{'forums': [<Forum: mood>], 'id': 2, 'cat': <Category: General>}], 'users': 1, 'last_user': <User: jay>, 'topics': 0, 'guest_count': 0, 'posts': 0, 'users_online': [], 'online_count': 0}]"

I have installed djangoBB as seen on the website.
By the way my environment has Django 1.2.5 installed

What do you think happens here???

Edited slav0nic (Nov. 18, 2011 17:08:14)

Offline

#2 Nov. 18, 2011 17:09:26

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 382
Reputation: +  5  -
Profile   Send e-mail  

VariableDoesNotExist at /forum/

missed https://docs.djangoproject.com/en/dev/ref/templates/api/#django-core-context-processors-request [docs.djangoproject.com]

saw basic_project settings.py file

Offline

#3 Nov. 19, 2011 06:50:06

jaytest
Registered: 2011-11-17
Posts: 5
Reputation: +  0  -
Profile   Send e-mail  

VariableDoesNotExist at /forum/

Thank you very much. That really helps me out…

Offline

#4 March 7, 2013 20:54:02

eidbtest
Registered: 2013-03-06
Posts: 3
Reputation: +  0  -
Profile   Send e-mail  

VariableDoesNotExist at /forum/

Just came here to say thank you. This was driving me insane.

I'm trying to use DjangoBB and I know it comes with a working example but I'd have reaaly loved to have a small txt tutorial on how to create a forum from scratch and common pitfalls likeforgetting to set the necessary context processors and other stuff in settings.py

Otherwise, thank you for everything!

Offline

#5 March 18, 2013 16:36:21

slav0nic
DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 382
Reputation: +  5  -
Profile   Send e-mail  

VariableDoesNotExist at /forum/

Sorry my english not good for tutorials %) maybe will do this later

Offline

#6 Jan. 27, 2015 10:22:31

RosetteBravo
Registered: 2015-01-27
Posts: 1
Reputation: +  0  -
Profile   Send e-mail  

VariableDoesNotExist at /forum/

I downloaded djangobb extracted the djangobb_forum folder into the project directory setup everything(installed dependencies etc). But when I navigate to the localhost:8000/forum it says You must define the HAYSTACK_SITECONF setting before using the search framework. I searched for this but where do I find this conf file. Also, can anyone provide me the sample configuration.



learn spanish online certification and practice questions and the exams of how to learn spanish fast ccie security Florida Memorial University

Offline

Board footer

Moderator control

Powered by DjangoBB

Lo-Fi Version