Michael,

Thank you for your help! It works, I have loaded tags and reverted version
to which is needed. I tried to use 0.7.1., 0.7, 0.6.1, 0.6.2, 0.6, 0.5 - but
is does not working with my radiant :(

tornado# rails --version
Rails 2.1.2
tornado# radiant --version
Radiant 0.7.1
*Is ot okay?*

Also, I'have done the following things:

rake development db:bootstrap
cd vendor/extensions/sns
git tag
git reset --hard v0.7.1
cd ../../..
rake development db:extensions:migrate
== 4 RenameTextAssetFilenameAndDependencyListColumns: migrating
===============
-- rename_column(:text_assets, :filename, :name)
   -> 0.0063s
-- rename_column(:text_asset_dependencies, :list, :names)
   -> 0.0410s
== 4 RenameTextAssetFilenameAndDependencyListColumns: migrated (0.0509s)
======


Then restarted mongrel. But:
Processing SiteController#show_page (for XX.XX.XX.XX at 2009-07-11 17:00:51)
[GET]
  Session ID: BAh7CToMY3NyZl9pZCIlYmRiMGJkYWU4MmU2YTMzMjRmNzQzY2MzZTM0ZTA4
MDciDHVzZXJfaWRpBjoOcmV0dXJuX3RvMCIKZmxhc2hJQzonQWN0aW9uQ29u
dHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--e07d96601216e6070fb6ffa24fa5ce28f7d40a68
  Parameters: {"url"=>"/", "action"=>"show_page", "controller"=>"site"}


NoMethodError (undefined method `no_login_required?' for
#<SiteController:0x29f43868>):
    /vendor/extensions/sns/lib/sns/site_controller_ext.rb:24:in
`ensure_no_login_required'


________________
Regards,
Mamed Mamedov

Gilda Radner <http://www.brainyquote.com/quotes/authors/g/gilda_radner.html>
- "Adopted kids are such a pain - you have to teach them how to look
like
you."

On Sat, Jul 11, 2009 at 1:07 PM, Michael Kessler <mi...@netzpiraten.ch>wrote:

> 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:   Radiant@radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to