[Radiant] SnS Extension - 500 Error

2009-01-16 Thread coffeepostal

Hello-

I'm relatively new to the RoR world and am trying to use Radiant for my CMS,
but I keep running into problems with the Styles n' Scripts (SnS) extension.
I initially had problems installing it, it kept not finding the
"extension_meta" table. I finally solved this by bootstrapping the entire
db, rather than just the production db. It then installed, apparently, just
fine.

My new problem is that now that it's installed, when I click in the new tabs
(CSS and JS) in Radiant I get sent to a 500 error. It's sending me to
domain.com/admin/css and domain.com/admin/js, so that's correct, but a 500
error isn't.

I've tried reinstalling the extension, reinstalling the entire app, and
restarting the server multiple times. Any and all help would be appreciated.

Oh, I'm on DreamHost, if that helps/explains anything. Thanks!

UPDATE: I tried again, this time I bootstrapped all db's and it worked. For
the record, all of the tutorials, one from Radiant and two from the
extension authors, had you bootstrap the production db, but not all three
db's. Anyway, if you're having issues, try bootstrapping everything.
-- 
View this message in context: 
http://www.nabble.com/SnS-Extension---500-Error-tp21486070p21486070.html
Sent from the Radiant - User (New) mailing list archive at Nabble.com.

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Problems with the page_versioning extension

2009-01-16 Thread Jason Grimes

Hi,

We are having some problems with the page_versioning extension and 
setting the page type to any of the "archive" types.  The following 
error is one that was generated:


ActionView::TemplateError (undefined method 
`archive_month_index_page_edit_url' for 
#) on line #2 of 
vendor/extensions/page_versioning/app/views/admin/_select_revision.html.haml:

1: - unless element.revisions.empty?
2:   - form_tag send("#{element.class.to_s.underscore}_edit_url", 
element), :method => :get do

3: #revision
4:   %label{ :for => "revision" } Revision
5:   = insert_select_revision_tag(element)

Is there any way of disabling the versioning extension for archived 
pages or is this a bug?  Does the extension just not work with the 
archive page types?  I can see that they would step on each others toes. 
It's too bad as we find the versioning extension very useful.


Thanks,

Jason
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] banner rotator -- banners disappearing from pages on deploy

2009-01-16 Thread Joe Van Dyk
I haven't looked into this too much yet, just wanted to throw it out there.

I'm using Mr. Cribbs' banner rotator extension.  For some reason, the
banners become unattached from pages every so often.  So -- I attach
the banner to the page, and then later on, they become unattached.  I
think it happens when I do a deploy -- I will need to look into it
more.

Anyone else experience anything like that?

Joe
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] adding tags to paperclipped?

2009-01-16 Thread Joe Van Dyk
Hi,

My client has a lot of assets stored in Radiant.  We're using
paperclip.  They wanted to know if they could use folders to organize
their assets, but I thought tags would be better.

Has anyone else done anything like this?  Is it something that should
be added to paperclipped?  Or other thoughts on organizing a ton of
assets?  (they are mostly PDF documents, on various topics)

Thanks,
Joe
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Error migrating 0.5.2 -> 0.6.9 (gem)

2009-01-16 Thread Brian Gernhardt
I'm trying to update a fairly ancient install of radiant and am having  
some problems. It appears that Radiant::Initializer.run (called by  
config/environment.rb) is attempting to access the database before the  
migrations have run.  Bad monkey.


Anyone have any ideas on how to get this to work?

~~ Brian

Here's what I did:

$ radiant radiant_new
$ cp radiant/config/database.yml radiant_new/config/database.yml
$ cd radiant_new
$ script/version
Radiant 0.6.9
$ rake production db:migrate
(in ~/radiant_new)
rake aborted!
Mysql::Error: Unknown column 'class_name' in 'field list': SELECT  
DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name  
IS NOT NULL


(See full trace by running task with --trace)
$ rake production db:migrate --trace
(in ~/radiant_new)
** Invoke production (first_time)
** Execute production
** Invoke environment (first_time)
** Execute environment
rake aborted!
Mysql::Error: Unknown column 'class_name' in 'field list': SELECT  
DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name  
IS NOT NULL
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.9/vendor/rails/ 
activerecord/lib/active_record/connection_adapters/abstract_adapter.rb: 
150:in `log'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.9/vendor/rails/ 
activerecord/lib/active_record/connection_adapters/mysql_adapter.rb: 
281:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.9/vendor/rails/ 
activerecord/lib/active_record/connection_adapters/mysql_adapter.rb: 
273:in `select_rows'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.9/vendor/rails/ 
activerecord/lib/active_record/connection_adapters/abstract/ 
database_statements.rb:27:in `select_values'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.9/app/models/page.rb: 
195:in `load_subclasses'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.9/lib/radiant/ 
extension_loader.rb:96:in `activate_extensions'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.9/lib/radiant/ 
initializer.rb:110:in `after_initialize'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.9/vendor/rails/railties/ 
lib/initializer.rb:114:in `process'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.9/vendor/rails/railties/ 
lib/initializer.rb:49:in `send'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.9/vendor/rails/railties/ 
lib/initializer.rb:49:in `run'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.9/lib/radiant/ 
initializer.rb:89:in `run'

~/radiant_new/config/environment.rb:12
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in  
`gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in  
`require'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.9/vendor/rails/railties/ 
lib/tasks/misc.rake:3

/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in  
`execute'

/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in  
`execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in  
`invoke_with_call_chain'

/usr/local/lib/ruby/1.8/monitor.rb:238:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in  
`invoke_with_call_chain'

/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in `invoke'
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.6.9/lib/tasks/ 
environments.rake:10

/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in  
`execute'

/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in  
`execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in  
`invoke_with_call_chain'

/usr/local/lib/ruby/1.8/monitor.rb:238:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in  
`invoke_with_call_chain'

/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in `invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in  
`invoke_task'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in  
`top_level'

/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in  
`top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in  
`standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in  
`top_level'

/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in  
`standard_exception_handling'

/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31
/usr/local/bin/rake:19:in `load'
/usr/local/bin/rake:19

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site

[Radiant] file system extension and reorder

2009-01-16 Thread Keith Bingman
Has anyone gotten the reoder extension to work with the file_system  
extension? It seems to be dumping the position column of the pages,  
but on reimport they are no longer there. A quick look (very quick...)  
didn't reveal anything to me.


Any ideas?

Keith Bingman

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Try to install Radiant

2009-01-16 Thread Mohit Sindhwani

Sean Cribbs wrote:

Try the install video! 


The place to start is probably: http://wiki.radiantcms.org/Summer_Reboot
Then, please see:

   * Downloading and Installing Radiant
  –
 gem, git, edge :
 http://wiki.radiantcms.org/Downloading_and_Installing_Radiant
   * Create your first Radiant project
  –
 *now with video! :*
 http://wiki.radiantcms.org/Create_your_first_Radiant_project*
 *
   * Getting Started  I –
 “Hello world” with Radiant :
 http://wiki.radiantcms.org/Getting_Started

Hope this helps.

Cheers,
Mohit.
1/16/2009 | 9:53 PM.

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


Re: [Radiant] Try to install Radiant

2009-01-16 Thread Sean Cribbs

Try the install video! 

Sean

johan wrote:

I just don't get this to work.
I can't even figure out which installation guide I'm supposed to use?
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

  


___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


[Radiant] Try to install Radiant

2009-01-16 Thread johan
I just don't get this to work.
I can't even figure out which installation guide I'm supposed to use?
___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant