Forum: Radiant CMS page_attachment didnt works!

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B9df2b41bdd7666b5d266f5b38de6586?d=identicon&s=25 ozon (Guest)
on 2007-06-01 15:49
hello!

I'm istalled a page_attachment (i migrated database and copy code to
proper directories) in my radiant cms site on mediatemple, and this
plugin didn't works. What i do wrong?

thanks
8802b1fa1b53e2197beea9454244f847?d=identicon&s=25 Sean Cribbs (Guest)
on 2007-06-01 15:55
(Received via mailing list)
rake radiant:freeze:edge
rake radiant:extensions:page_attachments:update

Restart your app server.

Sean
B9df2b41bdd7666b5d266f5b38de6586?d=identicon&s=25 ozon (Guest)
on 2007-06-01 16:04
Sean Cribbs wrote:
> rake radiant:freeze:edge
> rake radiant:extensions:page_attachments:update
>

still this same. i'm currently on mediatemple.
B9df2b41bdd7666b5d266f5b38de6586?d=identicon&s=25 ozon (Guest)
on 2007-06-01 16:09
i also use TinyMCE extension, maybe this one causes the problem?
B9df2b41bdd7666b5d266f5b38de6586?d=identicon&s=25 ozon (Guest)
on 2007-06-01 16:10
here is also result of my rake command:

rake radiant:extensions:page_attachments:update RAILS_ENV=production
(in /home/x/containers/rails/y)
Loaded suite /home/x/data/rubygems/gems/bin/rake
Started

Finished in 0.000179 seconds.
F75e4e025bdd575580201ae566f0182f?d=identicon&s=25 Andrew Ermakov (reynar)
on 2007-06-01 19:16
Sean Cribbs wrote:
> rake radiant:freeze:edge
> rake radiant:extensions:page_attachments:update
>
> Restart your app server.
>
> Sean

And on rake radiant:extensions:page_attachments:update
I have:
C:\radiant>rake radiant:extensions:page_attachments:update
(in C:/radiant)
rake aborted!
Don't know how to build task
'radiant:extensions:page_attachments:update'

Any ideas?:)
B9df2b41bdd7666b5d266f5b38de6586?d=identicon&s=25 ozon (Guest)
on 2007-06-02 03:04
maybe someone post a FULL instruction how to install page_attachment
plugin? please. i'm try to do this from scrathch.
8802b1fa1b53e2197beea9454244f847?d=identicon&s=25 Sean Cribbs (Guest)
on 2007-06-02 06:44
(Received via mailing list)
1) Follow the general instructions (available on the Wiki, weblog, and
mailing list archive) for installing Radiant and creating a new
"project", including initializing the database.
2) From the root of your Radiant project/instance, run these commands in
order:

svn export
http://svn.seancribbs.com/svn/rails/plugins/extens...
vendor/extensions/page_attachments

rake db:migrate:extensions
rake radiant:freeze:edge
rake radiant:extensions:page_attachments:update

(those rake commands can be combined into one if you want)

3) Start up or restart your application server.

If you continue to have problems, please contact me privately.

Sean
B9df2b41bdd7666b5d266f5b38de6586?d=identicon&s=25 ozon (Guest)
on 2007-06-02 15:29
> rake radiant:extensions:page_attachments:update

rake radiant:extensions:page_attachments:update RAILS_ENV=production
(in /home/*/containers/rails/*)
Loaded suite /home/*/data/rubygems/gems/bin/rake
Started

Finished in 0.000185 seconds.

0 tests, 0 assertions, 0 failures, 0 errors

So...nothing will happen on this command.
8802b1fa1b53e2197beea9454244f847?d=identicon&s=25 Sean Cribbs (Guest)
on 2007-06-02 15:38
(Received via mailing list)
Heh, it just _looks_ like it doesn't do anything.  If you check your
public directory you should find javascripts/page_attachments.js and
stylesheets/page_attachments.css were added.

Sean
E0c115311c3316ab1f043e8413915cdf?d=identicon&s=25 Adam (Guest)
on 2007-06-16 00:18
I have the same problem and i looked for the .js but couldn't find it.
 404 Not Found [http://0.0.0.0/javascripts/page_attachments.js]
The install procedure was quite simple so I can't understand what went
wrong but the file just isn't there. I probably made some sort of
mistake, maybe I could just copy the .js manually?
8802b1fa1b53e2197beea9454244f847?d=identicon&s=25 Sean Cribbs (Guest)
on 2007-06-16 01:17
(Received via mailing list)
Adam,

If all else fails, yes you can just copy it manually.

Sean
Ff2c500b4f2690c6e60d580f6b3caf78?d=identicon&s=25 David Minor (Guest)
on 2007-06-19 03:40
(Received via mailing list)
I found when I went through this process earlier today that on step 4
<http://dev.radiantcms.org/radiant/wiki/InstallingP...,
instead of 'rake radiant:extensions:page_attachments:update', I
needed to specify the environment 'rake production
radiant:extension....'

If a person sets up a valid development environment, the command as
written probably won't give an error, but won't copy the files to the
right place either.

dm
This topic is locked and can not be replied to.