Title: [Plugin: Shadowbox JS] Source files always missing&#8230;
Last modified: August 20, 2016

---

# [Plugin: Shadowbox JS] Source files always missing…

 *  [mcarballo](https://wordpress.org/support/users/mcarballo/)
 * (@mcarballo)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/)
 * Since I uploaded shadowbox on my multisite WordPress, I get always the same message:
   The Shadowbox JS source files are missing…
 * But as I can see by FTP, the sources files are all in the right folder :
    …/wp-
   content/plugins/shadowbox-js/src
 * I tried to remove them (and all the files of shadowbox) and upload many times,
   I tried to change the settings to remove the cache… bit I have always the same
   result
 * So can I do more ?
 * Is it a path’s problem because I use a multisite wordpress ? I don’t know…
 * Can you help me please ?
 * Thanks for your answer…
 * [http://wordpress.org/extend/plugins/shadowbox-js/](http://wordpress.org/extend/plugins/shadowbox-js/)

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/page/2/?output_format=md)

 *  Plugin Author [Matt Martz](https://wordpress.org/support/users/sivel/)
 * (@sivel)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/#post-2692374)
 * This plugin has not been tested on multisite at all, so I cannot answer your 
   question. If you figure it out let me know. Otherwise it could be several weeks
   before I get around to it.
 *  [krisalis903](https://wordpress.org/support/users/krisalis903/)
 * (@krisalis903)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/#post-2692375)
 * I’m having the same problem as well. I just updated the plugin yesterday and 
   received this message that the SRC files were missing.
 * I downloaded the zip file from the link provided, extracted them to the location
   noted (/wp-content/plugins/shadowbox-js/src), yet when I refreshed the settings
   page, it’s still giving me the same error message. I’ve tried resetting the options
   and renaming the src folder to shadowbox (which I noticed it was called in my
   backup), but nothing has worked.
 * I’m in a multisite environment also (WP 3.3.1)
 *  [krisalis903](https://wordpress.org/support/users/krisalis903/)
 * (@krisalis903)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/#post-2692562)
 * mcarballo—
    I think we may be putting the files in the wrong location. I just
   realized they should be in /wp-content/**uploads**/shadowbox-js/src and not /
   wp-content/**plugins**/shadowbox-js/src
 * I tried manually uploading mine, but for some reason my username doesn’t have
   permission to edit the uploads folder (separate issue I’m working on with my 
   IT folks). Have you tried uploading them to the uploads folder?
 *  Thread Starter [mcarballo](https://wordpress.org/support/users/mcarballo/)
 * (@mcarballo)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/#post-2692627)
 * I tried in the two locations /wp-content/uploads/shadowbox-js/src and /wp-content/
   plugins/shadowbox-js/src
 * I tried also (I did it first) to upload the files automatically…
 * but the problem is the same… sources files looks always missing
 *  Plugin Author [Matt Martz](https://wordpress.org/support/users/sivel/)
 * (@sivel)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/#post-2692645)
 * Ok, on multisite it goes in the subsites uploads dir, which should be something
   like:
 * `wp-content/blogs.dir/123/files/`
 * So you would create a directory such as:
 * `wp-content/blogs.dir/123/files/shadowbox-js`
 * and upload the extracted `src` directory to that location so that it looked like:
 * `wp-content/blogs.dir/123/files/shadowbox-js/src`
 * I have just pushed a fix into the plugin repository. The new version is 3.0.3.10.2.
 * One thing to note is that this fix is only an informative fix. The meta box telling
   you where you can upload the files to will use the correct location. Keep in 
   mind that if you allowed the plugin to download the files and move them into 
   place, that it would have put them in the correct location to begin with.
 * You will need to do this for every subsite of the network that runs this plugin.
   I may see if I can find a way later down the road to allow a snippet of code 
   to specify a single location instead of requiring it for every subsite.
 *  [sortofme](https://wordpress.org/support/users/sortofme/)
 * (@sortofme)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/#post-2692660)
 * that is a bit of a pitty, as this was working fine for multisites previously…
   adding these source files to every subsite now is a vast task with more than 
   200 subsites. I will have to search for a better option to accomplish this.
 *  Thread Starter [mcarballo](https://wordpress.org/support/users/mcarballo/)
 * (@mcarballo)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/#post-2692664)
 * The right location for the plugins in a multisite wordpress is always /wp-content/
   plugins/ or /wp-content/mu-plugins/ but you can’t put them in the directory of
   a subsite…
 * Cf. the codex for a complet information
 *  Plugin Author [Matt Martz](https://wordpress.org/support/users/sivel/)
 * (@sivel)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/#post-2692667)
 * > The right location for the plugins in a multisite wordpress is always /wp-content/
   > plugins/ or /wp-content/mu-plugins/ but you can’t put them in the directory
   > of a subsite…
   > Cf. the codex for a complet information
 * It’s not the plugin dir that is the problem. Plugin generated content should 
   be stored in the uploads directory. It becomes tricky when you use Multi site,
   as you have to store it in each sites upload directory.
 * The alternative, is to build your own shadowbox.js per the FAQ, and drop a mu-
   plugin in that sets the locations for the files. See the sections titled “How
   can I use my own shadowbox.js?” and “How can I use my own shadowbox.css?” at 
   [http://wordpress.org/extend/plugins/shadowbox-js/faq/](http://wordpress.org/extend/plugins/shadowbox-js/faq/)
 *  [nickd32](https://wordpress.org/support/users/nickd32/)
 * (@nickd32)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/#post-2692672)
 * Or you could just install “Easy Fancybox” – which is already Multi-site compatible
   and handles photos/videos/PDFs/etc.
 * [http://wordpress.org/extend/plugins/easy-fancybox/](http://wordpress.org/extend/plugins/easy-fancybox/)
 *  [rkmorley](https://wordpress.org/support/users/rkmorley/)
 * (@rkmorley)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/#post-2692691)
 * Hi! I’ve recently updated my WordPress to version 3.3.2
 * My Shadow box version is 3.0.3.10.2
 * I’m not a multisite user.
 * I’m using Mac OSX.
 * I’m using Filezilla for FTP.
 * My problem is that, I don’t have a directory for this:
 * /homepages/7/d361549152/htdocs/wp-content/uploads/shadowbox-js/src
 * I downloaded the file and I can’t change the directory. So I decided to use Filezilla
   and copy-paste the directory into the remote site (my website).
 * Unfortunately, it can’t find the directory.
 * Is there anyway I can upload it? A directory that works. It couldn’t find that
   on the remote site.
 *  [jimbofoxman](https://wordpress.org/support/users/jimbofoxman/)
 * (@jimbofoxman)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/#post-2692693)
 * rkmorley…..
 * I was getting the same error, even after uninstalling the plugin, downloading
   the 3.0.3.10.2 version from WP. It said to check the settings in the setting 
   page of ShadowBox JS. I found a link that when you clicked on it, it downloaded
   the source files. Now I don’t show that error anymore. Might wanna look for that
   and see if you have a button to click to get source files.
 *  [rkmorley](https://wordpress.org/support/users/rkmorley/)
 * (@rkmorley)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/#post-2692694)
 * Thank you, jimbofoxman! You’re a lifesaver! I was tweaking the setting of Easy
   Fancybox awhile ago ’til I saw your post.
 * I’m happy that my website still has the same looks and feel with Shadowbox JS.
   😀
 *  Thread Starter [mcarballo](https://wordpress.org/support/users/mcarballo/)
 * (@mcarballo)
 * [14 years ago](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/#post-2692705)
 * With the latest versions of WordPress (3.3.2) and Shadowbox (3.0.3.10.2), I can
   confirm that everything works the same version multisite but this is not practical
   because you have to manually install the required dependencies for each site
 * for example here where 2 is the ID of a site: …/wp-content/blogs.dir/2/files/
   shadowbox-js/src
 * It is therefore possible for some sites but not for a platform that hosts hundreds
   of sites …
 * What I do not understand is that it works automatically and seamlessly with older
   versions of Shadowbox … So why this change in strategy? Is it for purely commercial?
 * Thank you anyway for this update! pending a future setting Definetely the problem?
 *  [toddheitner](https://wordpress.org/support/users/toddheitner/)
 * (@toddheitner)
 * [14 years ago](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/#post-2692712)
 * I just wanted to comment on this as well, since I’m running into the same problem
   on a multisite installation. It doesn’t make sense to have to install the source
   files for every sub-site. It would waste a lot of space and seems really unnecessary.
 * I think the idea of specifying where the source files are located could work,
   but that option would have to be available only for the Network Administrator.
   Otherwise if it was on a per-site basis, users could potentially point to harmful
   files.
 *  Plugin Author [Matt Martz](https://wordpress.org/support/users/sivel/)
 * (@sivel)
 * [14 years ago](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/#post-2692713)
 * Assuming that I do add the functionality, it will need to be done via an add 
   on plugin, probably by some code that you can drop in the mu-plugins directory.
   It will likely involve adding a filter on the location where the src directory
   resides. That directory will also need to be web accessible.
 * I’ll post more information when I get around to adding that code.

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/page/2/?output_format=md)

The topic ‘[Plugin: Shadowbox JS] Source files always missing…’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/shadowbox-js.svg)
 * [Shadowbox JS](https://wordpress.org/plugins/shadowbox-js/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shadowbox-js/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shadowbox-js/)
 * [Active Topics](https://wordpress.org/support/plugin/shadowbox-js/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shadowbox-js/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shadowbox-js/reviews/)

 * 21 replies
 * 12 participants
 * Last reply from: [Marcel Brinkkemper](https://wordpress.org/support/users/macbrink/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-shadowbox-js-source-files-always-missing/page/2/#post-2692788)
 * Status: not resolved