First time here? Check out the FAQ!
0

My ASKBOT_DEFAULT_SITE was set to my MEDIA_REVISION

  • retag add tags

Hi, suddenly, for no apparent reason, I started getting logs of KeyErrors and no page of my Askbot site worked.

I dug, and it turned out that ASKBOT_DEFAULT_SITE was '34', so the skin loader failed.

And 34 happened to be my media revision! So I guess something, at some point, wrote on the wrong field.

Good luck debugging this, it sounds tough! :-)

siovene's avatar
431
siovene
asked 2012-12-20 13:50:08 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Maybe you meant ASKBOT_DEFAULT_SKIN? It should be the same string as name of the theme.

Evgeny's avatar
13.2k
Evgeny
answered 2012-12-20 14:54:41 -0600
edit flag offensive 0 remove flag delete link

Comments

Yes, I meant that. I solved my problem by putting the name of the theme using mysql, but the bug report remains. :)

siovene's avatar siovene (2012-12-22 01:03:20 -0600) edit
add a comment see more comments