# Problems with copy\_move extension and 0.6.6

**URL:** <https://www.ruby-forum.com/t/problems-with-copy-move-extension-and-0-6-6/135774>\
**Category:** Radiant CMS\
**Created:** [April 24, 2008, 9:46pm UTC](https://www.ruby-forum.com/t/problems-with-copy-move-extension-and-0-6-6/135774 "2008-04-24T21:46:12Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![luigi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/73ab20/32.png) [@luigi](https://www.ruby-forum.com/u/luigi)\
**Post date:** [April 24, 2008, 9:46pm UTC](https://www.ruby-forum.com/t/problems-with-copy-move-extension-and-0-6-6/135774/1 "2008-04-24T21:46:12Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![luigi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/73ab20/32.png) [@luigi](https://www.ruby-forum.com/u/luigi)\
**Post date:** [April 24, 2008, 10:26pm UTC](https://www.ruby-forum.com/t/problems-with-copy-move-extension-and-0-6-6/135774/2 "2008-04-24T22:26:14Z")

</div>

Luigi R. 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

---

<div class="post-metadata">

**Author:** ![luigi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/73ab20/32.png) [@luigi](https://www.ruby-forum.com/u/luigi)\
**Post date:** [April 24, 2008, 10:57pm UTC](https://www.ruby-forum.com/t/problems-with-copy-move-extension-and-0-6-6/135774/3 "2008-04-24T22:57:55Z")

</div>

David P. wrote:

> Luigi R. 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

---

<div class="post-metadata">

**Author:** ![luigi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/73ab20/32.png) [@luigi](https://www.ruby-forum.com/u/luigi)\
**Post date:** [April 25, 2008, 11:00am UTC](https://www.ruby-forum.com/t/problems-with-copy-move-extension-and-0-6-6/135774/4 "2008-04-25T11:00:26Z")

</div>

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 P. wrote:

> David P. wrote:
> 
> > Luigi R. 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

---

<div class="post-metadata">

**Author:** ![luigi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/73ab20/32.png) [@luigi](https://www.ruby-forum.com/u/luigi)\
**Post date:** [April 25, 2008, 1:10pm UTC](https://www.ruby-forum.com/t/problems-with-copy-move-extension-and-0-6-6/135774/5 "2008-04-25T13:10:04Z")

</div>

On Fri, Apr 25, 2008 at 11:00 AM, Arik J. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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  
([GitHub - gravityblast/radiant-copy-move: It's an extension for Radiant CMS. It allows for a page to be copied (or moved) under a new parent.](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 F.  
[http://gravityblast.com](http://gravityblast.com) - [http://nimboo.net](http://nimboo.net)

---

<div class="post-metadata">

**Author:** ![luigi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/73ab20/32.png) [@luigi](https://www.ruby-forum.com/u/luigi)\
**Post date:** [April 25, 2008, 5:33pm UTC](https://www.ruby-forum.com/t/problems-with-copy-move-extension-and-0-6-6/135774/6 "2008-04-25T17:33:13Z")

</div>

Andrea F. 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  
> ([GitHub - gravityblast/radiant-copy-move: It's an extension for Radiant CMS. It allows for a page to be copied (or moved) under a new parent.](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

---

<div class="post-metadata">

**Author:** ![luigi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/73ab20/32.png) [@luigi](https://www.ruby-forum.com/u/luigi)\
**Post date:** [April 25, 2008, 6:12pm UTC](https://www.ruby-forum.com/t/problems-with-copy-move-extension-and-0-6-6/135774/7 "2008-04-25T18:12:47Z")

</div>

On Fri, Apr 25, 2008 at 1:09 PM, Andrea F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
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.

---

<div class="post-metadata">

**Author:** ![luigi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/73ab20/32.png) [@luigi](https://www.ruby-forum.com/u/luigi)\
**Post date:** [April 25, 2008, 7:27pm UTC](https://www.ruby-forum.com/t/problems-with-copy-move-extension-and-0-6-6/135774/8 "2008-04-25T19:27:05Z")

</div>

Luigi R. 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

---

<div class="post-metadata">

**Author:** ![luigi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/73ab20/32.png) [@luigi](https://www.ruby-forum.com/u/luigi)\
**Post date:** [April 25, 2008, 6:29pm UTC](https://www.ruby-forum.com/t/problems-with-copy-move-extension-and-0-6-6/135774/9 "2008-04-25T18:29:52Z")

</div>

Yes: it means “Yes, I still have problems …” ☹

---

<div class="post-metadata">

**Author:** ![luigi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/73ab20/32.png) [@luigi](https://www.ruby-forum.com/u/luigi)\
**Post date:** [April 25, 2008, 9:23pm UTC](https://www.ruby-forum.com/t/problems-with-copy-move-extension-and-0-6-6/135774/10 "2008-04-25T21:23:35Z")

</div>

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
