Gallery 500 Error

I’m getting a 500 Error in my Gallery admin tab and the images don’t
display on my site.

My gallery folder with all the images is still intact in “public”.

Is there a way to clear everything and rebuild, but not lose the images?

I updated radiant and all my extensions over the weekend so both are
current, but I’m not sure when it broke.

Thanks for your help,

Ben

Ben M. wrote:

I’m getting a 500 Error in my Gallery admin tab and the images don’t
display on my site.

Upon futher inspection in the production.log, I found:

ActionView::TemplateError (undefined method `parent’ for
#Array:0x2ba402816c40) on line #3 of gallery_items/_item.html.erb:
1:


2: <%= item_label(item) %>
3: <%= item_preview(item) %>
4: <%= item_buttons(item) %>
5:
<%= “#{item.description}” %>

6:

Any ideas on how I could fix it?

I tried deleting the extension directory in “vendor” and re-installing
it, twice. This did not fix the problem.

The error message about “undefined method ‘parent’” seems to point to
something in the gallery controller, but if it is working for everybody
else, that doesn’t make much sense.

If any of you could shed some light on this, or give me something to
try, I would be extremely grateful.

To see what happens head over to http://www.artcrete.com/showcase/. The
images point to a link that contains the error message.

Well, I figured it out after banging my head on the desk a few times –
I had frozen the radiant install so it couldn’t take advantage of the
new gem. Running the unfreeze task fixed it.