denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)
Denise ([staff profile] denise) wrote in [site community profile] dw_dev_training2013-06-25 04:04 am

Styles error on fresh install

So, after trying to get things working under OSX and failing horribly, I installed the code on an Ubuntu VM locally so I could hack without internet. Everything's going well enough so far, except that I had a mistake in my $LJHOME when I first ran update-db.pl (I had it as /home/dw/ instead of /home/dw). I corrected it later, but now all the styles are kind of fucked. When I visit /customize, it gives me this error:

[Error: You cannot use this theme. at /home/dw//cgi-bin/LJ/Customize.pm line 58. @ dev-dw]

After fixing the path error in $LJHOME, I tried deleting all the styles from the DB and re-ran update-db.pl -p, which at least forced all the styles to recompile, but that didn't make the error go away. I also tried changing the theme_preview_styleid userprop using /admin/propedit, but no dice.

Anybody have any further thoughts? If things are really fucked I can drop the entire dw database table and start over, but if somebody knows of anything quicker than that, that'd be great.
triadruid: Apollo and the Raven, c. 480 BC , Pistoxenus Painter  (Default)

[personal profile] triadruid 2013-06-27 06:15 am (UTC)(link)
I love research/detective work like that.

I hate research/detective work like that.