Page copying went wrong

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.



2 Attachments

View Replies:
MattWaters replied on at Permalink Reply
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
Hi Matt, I couldn't find a QueuePageDuplicationRelations table in the database...
mkly replied on at Permalink Reply
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
Add this code
echo 'Queue Deleted';

Execute the tools file by navigating to(replace with your site)

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

Best Wishes,
tsilbermann replied on at Permalink Reply
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

gordonc200 replied on at Permalink Reply
Hi tsilbermann

Did you ever resolve this please? I have the same issue and mkly's code didn't have any effect on the actual dashboard message for me either.

There's probably a value or two can be changed in the database I imagine.

I may have to restore a C5 dbase backup in my case but this doesn't seem to be a practical solution on a site with many editors if it happens again in the future.

Many Thanks
tsilbermann replied on at Permalink Reply
Hi Gordon,
no, I didn't resolved it.

gordonc200 replied on at Permalink Reply
Thanks for replying anyway.