Denise (
denise) wrote in
dw_dev_training2013-06-25 04:04 am
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
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.
[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.
no subject
Grepping for "s2layers" and ignoring the results talking about the database shows that bin/dev/newtheme.pl may also need updating, but this is less urgent since it's just explanatory text.
I'm sending off an email to everybody who I set 'hacks up for from the 14th onwards to let them know about this bug. Thanks! :D