Gallery_Behaviour

Hi,

I am trying out the Gallery_Behaviour plugin, but on untarring it to
public/vendor/plugins and restarting Radiant, I get the following
error messages:

Can somebody help?

thanks,
saji

/usr/lib/ruby/gems/1.8/gems/radiant-0.6.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:266:in
load_missing_constant': uninitialized constant Behavior (NameError) from /usr/lib/ruby/gems/1.8/gems/radiant-0.6.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:452:inconst_missing’
from
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:464:in
const_missing' from ./script/../config/../vendor/plugins/gallery_behavior/lib/gallery_behavior.rb:7 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:ingem_original_require’
from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in require' from /usr/lib/ruby/gems/1.8/gems/radiant-0.6.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:inrequire’
from
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in
new_constants_in' from /usr/lib/ruby/gems/1.8/gems/radiant-0.6.1/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:inrequire’
… 23 levels…
from
/usr/lib/ruby/gems/1.8/gems/radiant-0.6.1/vendor/rails/railties/lib/commands/server.rb:39
from
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:inrequire’
from script/server:3


Saji N. Hameed

APEC Climate Center +82 51 668 7470
National Pension Corporation Busan Building 12F
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 [email protected]
KOREA

Gallery_Behavior isn’t a plugin; it’s a page behavior for the old 0.5
radiant versions. It’s incompatible with 0.6.x. You may want to
take a look at BigChiefLabs’ Gallery plugin. I have it running on my
0.6.1 edge installation without troubles.

http://darcs.bigchieflabs.com/radiant/extensions/gallery/rdoc/

Matt

Hi Matt,
Thanks for the clarification. Right now I am satisfying my requirements
with
some javascript snippets, but I would like to try the Gallery plugin.

I tried installing it on my 0.6.1 gem installation, getting the
extension using darcs and running

rake radiant:extensions:gallery:install

On rebooting the server I find the new tabs for Galleries, yet when I
click on them I get the following message :

Application error (Apache)

Change this error message for exceptions thrown
outside of an action (like in Dispatcher setups or
broken Ruby code) in public/500.html

I hope somebody can help me correct this,
thanks
saji

lib/gallery_behavior.rb:7
activesupport/lib/active_support/dependencies.rb:495:in `require’

Site: http://lists.radiantcms.org/mailman/listinfo/radiant


Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


Saji N. Hameed

APEC Climate Center +82 51 668 7470
National Pension Corporation Busan Building 12F
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 [email protected]
KOREA

Il giorno 23/mag/07, alle ore 09:52, Saji Njarackalazhikam H. ha
scritto:

On rebooting the server I find the new tabs for Galleries, yet when I
saji
Can you read the log or error files? Maybe we can understand the
problem! let me know


Andrea F.

[email protected]
http://bigchieflabs.com/blog/
http://think.bigchief.it

Hi Andrea,
Sorry for the delayed response due to holiday (Buddha’s birth day) in
Korea.
Here is a snippet from the log file when I try to click on the
Gallery tab in the admin interface.

Please let me know if you need any other things to uncover this .
saji


Processing GalleryController#index (for 190.1.1.24 at 2007-05-25
10:17:47) [GET]
Session ID: f8415b3a8f817c8779f3dbd63f886bbc
Parameters: {“action”=>“index”, “controller”=>“admin/gallery”}

TypeError (can’t convert nil into String):
/home/saji/public_html/Radiant/vendor/extensions/gallery/app/controllers/admin/gallery_controller.rb:144:in
join' /home/saji/public_html/Radiant/vendor/extensions/gallery/app/controllers/admin/gallery_controller.rb:144:in create_galleries_root_folder_unless_exists’


extension using darcs and running
broken Ruby code) in public/500.html

[email protected]
http://bigchieflabs.com/blog/
http://think.bigchief.it


Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


Saji N. Hameed

APEC Climate Center +82 51 668 7470
National Pension Corporation Busan Building 12F
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 [email protected]
KOREA

It seems that it’s not setted the default gallery folder in the
config table. Try inserting a new record in the config table with
“galleries.path” as key and ‘galleries’ as value…or try the latest
version of the gallery extension.

Il giorno 25/mag/07, alle ore 03:24, Saji Njarackalazhikam H. ha
scritto:

Processing GalleryController#index (for 190.1.1.24 at 2007-05-25
`create_galleries_root_folder_unless_exists’

Hi Matt,
On rebooting the server I find the new tabs for Galleries, yet
thanks
http://think.bigchief.it

APEC Climate Center +82 51 668 7470
National Pension Corporation Busan Building 12F
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 [email protected]
KOREA


Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


Andrea F.

[email protected]
http://bigchieflabs.com/blog/
http://think.bigchief.it

Do you have RMagick installed (and working)?