# Radiant 0.7.1 and Gallery Extension - Type Error

**URL:** <https://www.ruby-forum.com/t/radiant-0-7-1-and-gallery-extension-type-error/165997>\
**Category:** Radiant CMS\
**Created:** [April 20, 2009, 9:09pm UTC](https://www.ruby-forum.com/t/radiant-0-7-1-and-gallery-extension-type-error/165997 "2009-04-20T21:09:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ziggles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7ba0ec/32.png) [@ziggles](https://www.ruby-forum.com/u/ziggles)\
**Post date:** [April 20, 2009, 9:09pm UTC](https://www.ruby-forum.com/t/radiant-0-7-1-and-gallery-extension-type-error/165997/1 "2009-04-20T21:09:35Z")

</div>

Hi All,

Having an issue with Andrea F.’ Gallery extension on 0.7.1 (  
[GitHub - gravityblast/radiant-gallery: Photo Gallery Management System based on Radiant CMS (Ruby on Rails).](http://github.com/pilu/radiant-gallery/tree/master) ).

I’ve been able to successfully install attachment\_fu and the Gallery  
extension by following the github directions exactly but when it comes  
to actually uploading a file i get the following Type error:

[http://pastie.org/452685](http://pastie.org/452685)

I also noticed that firebug threw a JS error:

logged\_in\_setup is not defined  
logged\_in\_setup();

Has anyone been able to get this extension working on 0.7.1? Or any  
thoughts as to what may be wrong?

Thanks!!

---

<div class="post-metadata">

**Author:** ![ziggles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7ba0ec/32.png) [@ziggles](https://www.ruby-forum.com/u/ziggles)\
**Post date:** [April 24, 2009, 8:13pm UTC](https://www.ruby-forum.com/t/radiant-0-7-1-and-gallery-extension-type-error/165997/2 "2009-04-24T20:13:22Z")

</div>

I sent a email to the list earlier today with this exact same issue. I  
have  
gotten the gallery extension to work fine with Radaint 0.7.1 - so I have  
no  
idea what I did wrong this time, or what has changed…

For now, I’ve switched to using the paperclipped extension and manually  
creating a gallery with lightbox or something.

Dave

---

<div class="post-metadata">

**Author:** ![ziggles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7ba0ec/32.png) [@ziggles](https://www.ruby-forum.com/u/ziggles)\
**Post date:** [April 26, 2009, 10:09pm UTC](https://www.ruby-forum.com/t/radiant-0-7-1-and-gallery-extension-type-error/165997/3 "2009-04-26T22:09:01Z")

</div>

Dave Kroondyk wrote:

> I sent a email to the list earlier today with this exact same issue. I  
> have  
> gotten the gallery extension to work fine with Radaint 0.7.1 - so I have  
> no  
> idea what I did wrong this time, or what has changed…
> 
> For now, I’ve switched to using the paperclipped extension and manually  
> creating a gallery with lightbox or something.
> 
> Dave

Hi Dave,

Sorry about the double post to the list! Previously ive subscribing to  
the digest Only so i may have missed yours… AND im following via  
ruby-forum lol, chaos makes me stronger! 🙂

Unfortunately, I’ve been unable to resolve this issue on my own and ran  
into some dead ends with the kind people of #radiantcms and  
#rubyonrails.

As a last resort i contacted Andrea F. (author of ext:  
[http://gravityblast.com/projects/radiant-gallery/](http://gravityblast.com/projects/radiant-gallery/)) and inquired if he’s  
using any kind of bug tracking software that we could log this defect  
against.

I’m fairly certain it’s a bug as i get the issue w/ a core radiant  
install and the extension.

Have you had any luck or found a workaround? Still sticking with  
paperclipped?

---

<div class="post-metadata">

**Author:** ![ziggles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7ba0ec/32.png) [@ziggles](https://www.ruby-forum.com/u/ziggles)\
**Post date:** [April 27, 2009, 10:41am UTC](https://www.ruby-forum.com/t/radiant-0-7-1-and-gallery-extension-type-error/165997/4 "2009-04-27T10:41:27Z")

</div>

Dave,

think i fixed it actually.

check my comment on the bug.

Submitted it to Andrea for inclusion.

---

<div class="post-metadata">

**Author:** ![ziggles](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/7ba0ec/32.png) [@ziggles](https://www.ruby-forum.com/u/ziggles)\
**Post date:** [April 27, 2009, 10:18am UTC](https://www.ruby-forum.com/t/radiant-0-7-1-and-gallery-extension-type-error/165997/5 "2009-04-27T10:18:09Z")

</div>

Dave,

Heard back from Andrea and opened a bug here:

> **[Issues · gravityblast/radiant-gallery](https://github.com/gravityblast/radiant-gallery/issues#issue/1)**
>
> Photo Gallery Management System based on Radiant CMS (Ruby on Rails). - Issues · gravityblast/radiant-gallery
