[Radiant] Something strange here

2010-04-01 Thread Arlen Walker
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 rebuild from fresh, I'm getting 
undefined method 'locale' after logging in.

Any idea what I screwed up?


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


Re: [Radiant] Something strange here

2010-04-01 Thread Jim Gay

On Apr 1, 2010, at 5:14 PM, Arlen Walker 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 rebuild from fresh, I'm getting 
 undefined method 'locale' after logging in.
 
 Any idea what I screwed up?

rake db:migrate

Radiant is now internationalized and a 'locale' is added for each user in the 
database.

Have you updated your public files and configs with this:

rake radiant:update

If that doesn't solve it, look into any file loading errors where it might look 
for javascripts/lowpro.js, but it's actually in javascripts/admin/lowpro.js. 
Some extensions had required lowpro and if you've updated them, they might be 
looking for it in a new location.




Jim Gay
http://www.saturnflyer.com




___
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


Re: [Radiant] Something strange here

2010-04-01 Thread john muhl
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?

 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`

 Any idea what I screwed up?


 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

___
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


Re: [Radiant] Something strange here

2010-04-01 Thread Arlen Walker

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