Title: Scan Button Does Nothing
Last modified: March 7, 2019

---

# Scan Button Does Nothing

 *  Resolved [jjennings](https://wordpress.org/support/users/jjennings/)
 * (@jjennings)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/scan-button-does-nothing/)
 * When I click scan, at the bottom of the page it tells me:
 * Everything seems fine here, there are no files that are not already in your Media
   Library.
 * However, there are no files in Media Library, and the wp-content/uploads folder
   is full of files that I need imported.

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

 *  Plugin Author [erolsk8](https://wordpress.org/support/users/erolsk8/)
 * (@erolsk8)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/scan-button-does-nothing/#post-11285310)
 * Scan ignores WP generated thumbnails, so any file name ending with thumbnail 
   size (e.g. -100×100). Because it would be huge list if those are also shown, 
   but I’m planning to make that optional.
 * Can’t think of anything else that might be wrong, if you are looking at right
   folder.
 *  Thread Starter [jjennings](https://wordpress.org/support/users/jjennings/)
 * (@jjennings)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/scan-button-does-nothing/#post-11286830)
 * There are no wp generates files in wp-content/uploads. Doesn’t the plugin look
   in there? There doesn’t seem to be an option to change where to look.
 *  Plugin Author [erolsk8](https://wordpress.org/support/users/erolsk8/)
 * (@erolsk8)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/scan-button-does-nothing/#post-11286931)
 * There is no option to change where plugin look for files because it uses default“
   uploads” directory that WordPress itself uses. That is shown highlighted on first
   page of this plugin (below “Scan Files” button).
 * You can change default “uploads” directory of WordPress and also of this plugin,
   if you add this to wp-config.php:
 * /** Change Media Upload Directory */
    define(‘UPLOADS’, ‘wp-content/media’);
 *  [Nemanja Cimbaljevic](https://wordpress.org/support/users/ziontrooper/)
 * (@ziontrooper)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/scan-button-does-nothing/#post-11371155)
 * I have exactly same problem.
    Click on button just shows same page (URL argument
   scan_files=1 passed).
 * Here are some server info:
    OS: Linux 4.15.0-45-generic #48-Ubuntu SMP Tue Jan
   29 16:28:13 UTC 2019 x86_64 Shell: /bin/bash PHP binary: /usr/bin/php7.2 PHP 
   version: 7.2.15-0ubuntu0.18.04.2 php.ini used: /etc/php/7.2/cli/php.ini
 * Also, with debug mode ON I have nothing.
    No errors in console, no nothing.
 * Just page redirect, and instant opening.
 * Cheers!
 *  [Nemanja Cimbaljevic](https://wordpress.org/support/users/ziontrooper/)
 * (@ziontrooper)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/scan-button-does-nothing/#post-11371187)
 * Alrighty then 😀
 * Answer to this problem is php short open tag 😀
    Replacing everything in MediaSync.
   php fixes it, and now it actually it seems to work.
 * [@erolsk8](https://wordpress.org/support/users/erolsk8/) you might want to update
   this, as there is more than few hosting companies not having this enabled by 
   default.
 * Other than this, works like charm!
    Good one!
 *  Plugin Author [erolsk8](https://wordpress.org/support/users/erolsk8/)
 * (@erolsk8)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/scan-button-does-nothing/#post-11371197)
 * Wow, thanks [@ziontrooper](https://wordpress.org/support/users/ziontrooper/)!
 * I’ll fix it right away 🙂
 *  Plugin Author [erolsk8](https://wordpress.org/support/users/erolsk8/)
 * (@erolsk8)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/scan-button-does-nothing/#post-11371339)
 * Hey [@jjennings](https://wordpress.org/support/users/jjennings/), just want to
   let you know that Nemanja found issue which might have caused you trouble, and
   I just updated plugin to fix that issue. So if you ever need this plugin, you
   can try again.
 *  Thread Starter [jjennings](https://wordpress.org/support/users/jjennings/)
 * (@jjennings)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/scan-button-does-nothing/#post-11371387)
 * [@erolsk8](https://wordpress.org/support/users/erolsk8/) Hey thanks for the update.
   That’s great news!

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

The topic ‘Scan Button Does Nothing’ is closed to new replies.

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

 * 8 replies
 * 3 participants
 * Last reply from: [jjennings](https://wordpress.org/support/users/jjennings/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/scan-button-does-nothing/#post-11371387)
 * Status: resolved