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
I hate research/detective work like that.
no subject
Once i confirmed it wasn't just me messing something up in the config, i actually had a really fun time with it! I love that kind of hunting things down.