Ask Your Question
1

sorry, system error, what to do?

asked 2010-06-09 19:23:59 -0500

jeremy's avatar

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?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2010-06-09 20:35:32 -0500

jeremy's avatar

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?

edit flag offensive delete link more
1

answered 2010-06-10 15:34:16 -0500

jeremy's avatar

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.

edit flag offensive delete link more

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  ( 2010-06-10 18:36:57 -0500 )edit
Evgeny's avatar Evgeny  ( 2010-06-10 20:36:46 -0500 )edit
Tanks a lot, that worked :)
jeremy's avatar jeremy  ( 2010-06-13 14:32:26 -0500 )edit
0

answered 2010-06-09 20:25:48 -0500

Evgeny's avatar

updated 2010-06-10 00:47:47 -0500

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?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2010-06-09 19:23:59 -0500

Seen: 1,255 times

Last updated: Jun 10 '10