Forum: Radiant CMS Gallery_Behaviour

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
621080472679266b8e9b81aff4800398?d=identicon&s=25 Saji Njarackalazhikam Hameed (Guest)
on 2007-05-23 07:13
(Received via mailing list)
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:in
`const_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:in
`gem_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:in
`require'
        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:in
`require'
         ... 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:in `require'
        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      saji@apcc21.net
KOREA
88b8fe9e9bc03bd33208830fa612dc50?d=identicon&s=25 Matt Bauman (Guest)
on 2007-05-23 07:21
(Received via mailing list)
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/g...

Matt
621080472679266b8e9b81aff4800398?d=identicon&s=25 Saji Njarackalazhikam Hameed (Guest)
on 2007-05-23 09:57
(Received via mailing list)
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

* Matt Bauman <mbauman@gmail.com> [2007-05-23 00:20:13 -0500]:

>
> >
> > 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:   Radiant@lists.radiantcms.org
> 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      saji@apcc21.net
KOREA
D03835ee1210e4251e8c1a3976a38bc5?d=identicon&s=25 Andrea Franz (Guest)
on 2007-05-23 18:29
(Received via mailing list)
Il giorno 23/mag/07, alle ore 09:52, Saji Njarackalazhikam Hameed 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 Franz

andrea@bigchief.it
http://bigchieflabs.com/blog/
http://think.bigchief.it
88b8fe9e9bc03bd33208830fa612dc50?d=identicon&s=25 Matt Bauman (Guest)
on 2007-05-24 05:59
(Received via mailing list)
Do you have RMagick installed (and working)?
621080472679266b8e9b81aff4800398?d=identicon&s=25 Saji Njarackalazhikam Hameed (Guest)
on 2007-05-25 03:29
(Received via mailing list)
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'

************************************


* Andrea Franz <andrea@bigchief.it> [2007-05-23 18:28:15 +0200]:

> > extension using darcs and running
> >     broken Ruby code) in public/500.html
>
> andrea@bigchief.it
> http://bigchieflabs.com/blog/
> http://think.bigchief.it
>
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> 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      saji@apcc21.net
KOREA
D03835ee1210e4251e8c1a3976a38bc5?d=identicon&s=25 Andrea Franz (Guest)
on 2007-05-25 11:18
(Received via mailing list)
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 Hameed 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      saji@apcc21.net
> KOREA
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant



-----
Andrea Franz

andrea@bigchief.it
http://bigchieflabs.com/blog/
http://think.bigchief.it
This topic is locked and can not be replied to.