Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author edward_plainview

    (@edward_plainview)

    Does the item already exist on the child blog before broadcasting? Perhaps from cloning the site?

    If so, then you’ll need to tell Broadcast to link the exists posts before broadcasting. You can use the “Find Unlinked Children” bulk post action to create links between the existing posts.

    After that, broadcasting should no longer create duplicates.

    Thread Starter omerfarukaslan

    (@omerfarukaslan)

    Thank you so much for the prompt response. I don’t think that’s the case. The sites are older than 3 years. We experience this on the news items, so it’s pretty unlikely for an item to pre-exist.

    However I tried “Find Unlinked Children” on the post, but it didn’t help.

    Plugin Author edward_plainview

    (@edward_plainview)

    Could you enable Broadcast debug mode, broadcast the post to one blog, and then send me the debug text to read through? [email protected]

    Thread Starter omerfarukaslan

    (@omerfarukaslan)

    I posted the text to you. It doesn’t always create duplicates, therefore I broadcasted the post to all sites after activating the debugging.

    The plugin worked as expected on my first post, then I created a second post, it created the duplicates on this second post.

    Plugin Author edward_plainview

    (@edward_plainview)

    E-mail received.

    For people following this thread, I suspect a PHP timeout due to (1) duplicates and (2) broadcasting to a lot of blogs at the same time.

    Thread Starter omerfarukaslan

    (@omerfarukaslan)

    Edward, you were right. It seems the max_execution_time was causing this. We decided not to increase the PHP timeout. Therefore proceeded with the add-ons listed at item 2 and 3 below. And it seem to be working just fine now. I share the information here in case other people need it.

    —-
    There are several solutions to this problem:
    1. Increase the PHP timeout in your PHP.ini settings. This will not speed up broadcasting, only increase your chances of completely broadcasting the post.
    2. Use the Duplicate Attachments add-on. This will duplicate any attachments + thumbnails instead of regenerating them on each child blog.
    3. Use the Queue add-on to put each child broadcast into a queue that is emptied by javascript.

    You will not need solution #1 if you use solutions #2 and #3. 🙂
    —-

    Thank you so much!!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Broadcasting duplicates’ is closed to new replies.