Page copying went wrong

Permalink
Hi Guys,

after copying a page that went wrong(see attached image 1) in site map I get the following error message: "Page copy operation pending". Any idea how/where I can fix that? "Resume copy", Database refresh, cache clearing didn't work.

Regards

Torsten

2 Attachments

tsilbermann
View Replies:
MattWaters replied on at Permalink Reply
MattWaters
Hi Torsten,

Hmm, that's kind of weird. Do you have a database backup?

If so, are you comfortable inspecting the QueuePageDuplicationRelations table in your database (with phpMyAdmin, command line or similar) and seeing if it's empty? I skimmed concrete/tools/dashboard/sitemap_copy_all.php and at first glance it seems like that table is used during the copy process and then truncated (wiped out).

I wonder if you have some entries in there?
tsilbermann replied on at Permalink Reply
tsilbermann
Hi Matt, I couldn't find a QueuePageDuplicationRelations table in the database...
mkly replied on at Permalink Reply
mkly
Hello,
You can probably just clear that entire queue if it's stuck like that. As always please make a database backup first.

Disable the Overrides Cache.

Create a tools file
/tools/clear_copy_queue.php
Add this code
Queue::get()->deleteQueue('copy_page');
echo 'Queue Deleted';


Execute the tools file by navigating to(replace example.com with your site)
[code]
http://www.example.com/index.php/tools/clear_copy_queue...

You may also need to click the "Reset All Jobs" button in the Jobs page in the Dashboard after that.

Best Wishes,
Mike
tsilbermann replied on at Permalink Reply
tsilbermann
Hi Mike, I tried that and i think it clears that queue but (after resetting automated jobs) the notice (like on the image) still appears. But starting the copy process again shows first the status bar (what it didn't before clearing) and then the error message (as you see in second image).

My problem is that I can't remove the notice in sitemap.

Best regards

Torsten