On Apr 1, 2010, at 4:35 PM, john muhl wrote:

> On Thu, Apr 1, 2010 at 3:14 PM, Arlen Walker <arlen.wal...@gmail.com> wrote:
>> Was working with a development environment when suddenly the admin pages 
>> started looking funny, and I'm getting some javascript errors.
>> 
>> The js errors are centered around Behavior, which comes from lowpro.js, and 
>> I'm noticing that the admin pages aren't loading it correctly. not sure what 
>> I screwed up, but when I try to go back and
> 
> what does the error console have to say about the javascript errors?

TypeError: Result of expression 'Behavior' [undefined] is not an object.

Far as I can tell, this is because lowpro.js  is not getting loaded after 
prototype and before the rest of the js files

> 
>> rebuild from fresh, I'm getting "undefined method 'locale'" after logging in.
> 
> this part sounds like you were running an edge version and then
> updated to a newer edge version and didn't run `rake db:migrate`

Yep, you and Jim both nailed this one. Usually when I do a fresh install I do 
:update before doing :bootstrap, it appears either this time I didn't or the 
updated migration isn't in bootstrap, because the migration fixed that.

I'm beginning to suspect the js errors are coming from an installation that's 
an unholy hybrid between 0.8.1 and 0.9. IIRC, it was created by the radiant-rc 
gem (there seems to be no way of having both the rc *and* the 0.8.1 gem on your 
system at the same time -- at least the radiant executable identifies itself as 
0.9 after installing radiant-rc, and I don't find the 0.8.1 executable anywhere 
on the system anymore) but I used rake radiant:freeze:edge TAG=0.8.1 to freeze 
it, so it used the current stable code. Does that sound likely as a cause?

Have Fun,
Arlen

------------------------------
In God we trust, all others must supply data

_______________________________________________
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
List Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Radiant: http://radiantcms.org
Extensions: http://ext.radiantcms.org

Reply via email to