Ruby Forum Radiant CMS > Problems with copy_move extension and 0.6.6

Posted by Luigi Rizzo (luigi)
on 24.04.2008 21:46
(Received via mailing list)
Hi. Is there anyone on the list who has got a successful installation
of the copy_move extension with the latest radiant release? I
installed it without problems with SVN from the author web site, and
according the other instructions set  forth in the readme file, but no
buttons showed up on the admin page interface--as I would have
expected. Is there something I've to take attention at or is this a
known issue? Many thanks in advance for your assistance on this
matter.
Posted by David Piehler (davidpiehler)
on 24.04.2008 22:26
Luigi Rizzo wrote:
> Hi. Is there anyone on the list who has got a successful installation
> of the copy_move extension with the latest radiant release?

I did. I got the code from the SVN repository and used the following 
rake command to install:

sudo rake development radiant:extensions:copy_move:install

Did your terminal window give you any errors when running rake? Maybe 
the /public/images/admin/ directory where the images are copied to was 
not writable by the server?

- Dave
Posted by David Piehler (davidpiehler)
on 24.04.2008 22:57
David Piehler wrote:
> Luigi Rizzo wrote:
>> Hi. Is there anyone on the list who has got a successful installation
>> of the copy_move extension with the latest radiant release?
> 
> I did. I got the code from the SVN repository and used the following 
> rake command to install:
> 
> sudo rake development radiant:extensions:copy_move:install
> 
> Did your terminal window give you any errors when running rake? Maybe 
> the /public/images/admin/ directory where the images are copied to was 
> not writable by the server?

One thing I did notice was that copying a page with attached files (via 
the page_attachments extension) caused the new page to lose the 
attachments. I assumed this was just how CopyMove was built and not a 
0.6.6 bug, as I had never used CopyMove before.

- Dave
Posted by Arik Jones (imakethings)
on 25.04.2008 11:00
Well actually since all page attachments associate with a page's id, 
copying a page would include a new page id, therefore unattached files. 
It kind of sucks, but at the same I don't think its a critical feature 
to have for neither page attachments or copy/move.


David Piehler wrote:
> David Piehler wrote:
>> Luigi Rizzo wrote:
>>> Hi. Is there anyone on the list who has got a successful installation
>>> of the copy_move extension with the latest radiant release?
>> 
>> I did. I got the code from the SVN repository and used the following 
>> rake command to install:
>> 
>> sudo rake development radiant:extensions:copy_move:install
>> 
>> Did your terminal window give you any errors when running rake? Maybe 
>> the /public/images/admin/ directory where the images are copied to was 
>> not writable by the server?
> 
> One thing I did notice was that copying a page with attached files (via 
> the page_attachments extension) caused the new page to lose the 
> attachments. I assumed this was just how CopyMove was built and not a 
> 0.6.6 bug, as I had never used CopyMove before.
> 
> - Dave
Posted by Andrea Franz (Guest)
on 25.04.2008 13:10
(Received via mailing list)
On Fri, Apr 25, 2008 at 11:00 AM, Arik Jones <makingme@gmail.com> wrote:

> Well actually since all page attachments associate with a page's id,
> copying a page would include a new page id, therefore unattached files.
> It kind of sucks, but at the same I don't think its a critical feature
> to have for neither page attachments or copy/move.


Yes, CopyMove copies just the page attributes and no other attributes or
tables created by other extensions. I suggest you to use the git 
repository
(http://github.com/pilu/radiant-copy-move/) because my svn repo is no 
longer
updated.
Luigi does it work now or you still have problems?

--
Andrea Franz
http://gravityblast.com - http://nimboo.net
Posted by David Piehler (davidpiehler)
on 25.04.2008 17:33
Andrea Franz wrote:
> Yes, CopyMove copies just the page attributes and no other attributes or
> tables created by other extensions.

That makes sense. There's no reason CopyMove should account for data or 
files attached with another extension (and in this case, you'd have to 
duplicate the files in the file structure as well).

> I suggest you to use the git repository
> (http://github.com/pilu/radiant-copy-move/)
> because my svn repo is no longer updated.

I didn't realize GitHub had a download feature until now. Very nice!

- Dave
Posted by Luigi Rizzo (luigi)
on 25.04.2008 18:12
(Received via mailing list)
On Fri, Apr 25, 2008 at 1:09 PM, Andrea Franz <franz.andrea@gmail.com> 
wrote:
>  Luigi does it work now or you still have problems?

Yes. I used the git repository code, installed it, changed the owner
to "nobody" to the extension directory, and got no warning/error
message from the console or the log file. Still no luck ... :(
Simply the code is missing from the admin interface page. I'm using
shards 0.1, and it is loaded as first extension.
Posted by Luigi Rizzo (luigi)
on 25.04.2008 18:29
(Received via mailing list)
Yes: it means "Yes, I still have problems ..." :(
Posted by David Piehler (davidpiehler)
on 25.04.2008 19:27
Luigi Rizzo wrote:
> I'm using shards 0.1, and it is loaded as first extension.

Shards is up to at least 0.3 -- could the old Shards extension code be 
the problem?

- Dave
Posted by Luigi Rizzo (luigi)
on 25.04.2008 21:23
(Received via mailing list)
David, thank you! This was the trick ...
I installed the latest shards from the trunk, and restarted the web 
server.
Now this extension is working fine.
-L