Mamed,

Use the git repo from the Radiant dev team at 
http://github.com/radiant/radiant-sns-extension/tree/master

If you've already installed another version, change the origin and pull it again:

cd vendor/extension/sns
git remote rm origin
git remote add origin git://github.com/radiant/radiant-sns-extension.git
git pull --tags origin master

Now you can have a look at the tags with:

git tag

Pre-Release
v0.2
v0.2.1
v0.3
v0.3.1
v0.4
v0.4.1
v0.5
v0.6
v0.6.1
v0.6.2
v0.7
v0.7.1

and reset to the matching tag, since head is actually for Radiant 0.8.0

git reset --hard v0.7.1

Michael


On 11 Jul 2009, at 12:05 AM, Mamed Mamedov wrote:

Hi! Who knows some information about sns extension and his author.
http://ext.radiantcms.org/extensions/53-sns

Which is current version of this extension? With is current compatible
radiant version for this extension?
On my radiant0.7.1 with rails2.1.2 - it fails on migrate with:
** Execute radiant:extensions:sns:migrate
== 2 AddDependenciesToTextAssets: migrating
===================================
rake aborted!
PGError: ERROR:  relation "text_assets" 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 = 'text_assets'::regclass
              AND a.attnum > 0 AND NOT a.attisdropped
            ORDER BY a.attnum

And with 500 error when trying to access it:
Processing Admin::ExtensionsController#index (for XX.XX.XX.XX at 2009-07-11
03:00:18) [GET]
Session ID: BAh7CDoMY3NyZl9pZCIlN2Q4ZjA2MzJmYzVlZDNjMmE1OTYxNjEzZWVmNGQ0
OWIiDHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxh
c2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA ==--277a32b6b2db5ee1edd55c5ca36ddde9749c6da3
 Parameters: {"action"=>"index", "controller"=>"admin/extensions"}
Cookie set: session_token=c600a6cb231fb66f80fddf3a49be60c6baa22443; path=/;
expires=Fri, 24 Jul 2009 22:00:18 GMT
Rendering template within layouts/application
Rendering admin/extensions/index
Completed in 0.64189 (1 reqs/sec) | Rendering: 0.44538 (69%) | DB: 0.02168
(3%) | 200 OK [http://rcba.com/admin/extensions]
DEPRECATION WARNING: 'Admin::AbstractModelController' has been deprecated.
Please update 'Admin::TextAssetController' to use
Admin::ResourceController. See http://www.rubyonrails.org/ deprecation for
details. (called from inherited at
/usr/local/lib/ruby/gems/1.8/gems/radiant-0.7.1/app/controllers/ admin/abstract_model_controller.rb:5)
/!\ FAILSAFE /!\  Sat Jul 11 03:00:32 +0500 2009
 Status: 500 Internal Server Error

Can somebody explain me the problem? And, if possible, the model of problem.
________________
Regards,
Mamed Mamedov
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
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

Reply via email to