My conclusion about this topic is:

I have Radiant 0.6.1 and had installed 0.3.2 gallery extension and 
gallery didn't work, so I remove the extension in that way: dropped 
tables: galleries and gallery_items and then removed the gallery folder 
from /vendor/extensions folder. I logged into Radiant CMS and saw that 
there is no gallery extensions. The website  also had any bugs. So tried 
the old one version of gallery extension 0.2.0. So i copied the gallery 
folder into /vendor/extensions and made
"rake radiant:extensions:gallery:install". I logged into Radiant and saw 
that in Extensions tab is "Gallery extension". So i went to "Galleries" 
and received error:
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

IN production log i got error:

ActiveRecord::StatementInvalid (PGError: ERROR:  relation "galleries" 
does not exist
:             SELECT a.attname, format_type(a.atttypid, a.atttypmod), 
d.adsrc, a.attnotnull
              FROM pg_attribute a LEFT JOIN pg_attrdef d
                ON a.attrelid = d.adrelid AND a.attnum = d.adnum
             WHERE a.attrelid = 'galleries'::regclass
               AND a.attnum > 0 AND NOT a.attisdropped
             ORDER BY a.attnum
):


So i assume that there is no tables in database "galleries" and 
"galleries_item". But i did the "rake". What is wrong?? What should i do 
?? It's important for me...



-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to