First time here? Check out the FAQ!
1

sorry, system error, what to do?
 

Sorry for asking again without the other question being answered. But while I waited I loged in with yahoo and posted a test question, but now almost every place I click I get this page:

sorry, system error

system error log is recorded, error will be fixed as soon as possible please report the error to the site administrators if you wish

* back to previous page
* see latest questions
* see tags

what I did 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)
jeremy's avatar
133
jeremy
asked 14 years ago

Comments

see more comments

3 Answers

1

The file you said is empty.

When I get into the site first is see:

HttpResponseRedirect

Location: /questions/

The Django Debug Toolbar has intercepted a redirect to the above URL for debug viewing purposes. You can click the above link to continue with the redirect as normal. If you'd like to disable this feature, set the DEBUGTOOLBARCONFIG dictionary's key INTERCEPT_REDIRECTS to False.

Then I click on /questions/ and I see a lot of stuff, but I think the most important si this:

TemplateSyntaxError at /questions/

Caught DatabaseError while rendering: for SELECT DISTINCT, ORDER BY expressions must appear in select list LINE 1: ...author_id") WHERE ("question"."id" IN (1)) ORDER BY RANDOM()

Want me to put the entire thing here?

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)
jeremy's avatar
133
jeremy
answered 14 years ago
link

Comments

see more comments
1

I believe the mysql version is 5. The other one I don't know, I just used the links in that page you talked about. Now how can I update the site? I installed the git and did git clone http://github.com/ASKBOT/askbot-devel.git, but it does no work now.

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)
jeremy's avatar
133
jeremy
answered 14 years ago
link

Comments

git clone does that initial cloning - feel free to ask more questions - but do post them as questions :). I'm setting up a better installation document now.
Evgeny's avatar Evgeny (14 years ago)
Tanks a lot, that worked :)
jeremy's avatar jeremy (14 years ago)
see more comments
0

Could you turn on debug mode - set DEBUG=True in settings_local.py and post back what you see when you go through the same steps?

Also what is in the end of file log/askbot.log?

edit: thanks. I've made a small change in the master branch of the repository that will get rid of that error, this error does not show on my installations so I think it is system-specific. Give a try to the newer version, I hope there are no other incompatibilities like that.

What are your versions of mysql-python and mysql?

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
updated 14 years ago, answered 14 years ago
link

Comments

see more comments