Title: Problem broadcasting attachments
Last modified: August 22, 2016

---

# Problem broadcasting attachments

 *  [Danny-Stijlgenoten](https://wordpress.org/support/users/danny-stijlgenoten/)
 * (@danny-stijlgenoten)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/problem-broadcasting-attachments/)
 * Hey,
 * I have a multisite installation with quite a few sites, but since I last updated
   I’m having a problem broadcasting from site Y to the main blog site (ID 1). When
   I have debug mode on, I can see its copying the post fine, copying the image 
   fine, but in the wrong dir.
 * For example, the debug log shows that its copying from the correct path, but 
   the target path is wrong: /wp-content/uploads/2015/01/
    If I look at the broadcasted
   posts on site ID 1 it shows a broken image, because it assumes it was placed 
   in /wp-content/uploads/sites/1/2015/01/
 * Strange thing is, when I view the Broadcast information page on site ID 1, it
   gives me this:
    array ( ‘path’ => ‘/var/www/vhosts/xxxxx.com/httpdocs/wp-content/
   uploads/sites/1/2015/01’, ‘url’ => ‘[http://www](http://www). xxxxx.com/wp-content/
   uploads/sites/1/2015/01’, ‘subdir’ => ‘/2015/01’, ‘basedir’ => ‘/var/www/vhosts/
   xxxxx.com/httpdocs/wp-content/uploads/sites/1’, ‘baseurl’ => ‘[http://www.xxxxx.com/wp-content/uploads/sites/1&#8217](http://www.xxxxx.com/wp-content/uploads/sites/1&#8217);,‘
   error’ => false, )
 * (replaced original main by xxxxxx)
 * So it seems those paths are correct. In the past, before it stopped working, 
   it was copying the images to the correct paths.
    Also it seems to me that everything
   is okay, just the wrong path for the image to copy to.
 * Any idea where i can look into this issue? I don’t know if its the plugin fault,
   or some other setting that I’m missing.
 * [https://wordpress.org/plugins/threewp-broadcast/](https://wordpress.org/plugins/threewp-broadcast/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [edward_plainview](https://wordpress.org/support/users/edward_plainview/)
 * (@edward_plainview)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/problem-broadcasting-attachments/#post-5728917)
 * What I’d do is switch on Broadcast debug mode, publish the post again and follow
   the debug dump. Somewhere in the dump it is going to start talking about handling
   attachments.
 * There you can see the paths and file sizes of the source and target files. Have
   a look there and see if you see anything.

Viewing 1 replies (of 1 total)

The topic ‘Problem broadcasting attachments’ is closed to new replies.

 * ![](https://ps.w.org/threewp-broadcast/assets/icon.svg?rev=1013783)
 * [Broadcast](https://wordpress.org/plugins/threewp-broadcast/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/threewp-broadcast/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/threewp-broadcast/)
 * [Active Topics](https://wordpress.org/support/plugin/threewp-broadcast/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/threewp-broadcast/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/threewp-broadcast/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [edward_plainview](https://wordpress.org/support/users/edward_plainview/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/problem-broadcasting-attachments/#post-5728917)
 * Status: not resolved