• Resolved jjennings

    (@jjennings)


    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

    (@erolsk8)

    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

    (@jjennings)

    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

    (@erolsk8)

    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’);

    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!

    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 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

    (@erolsk8)

    Wow, thanks @ziontrooper!

    I’ll fix it right away ??

    Plugin Author erolsk8

    (@erolsk8)

    Hey @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

    (@jjennings)

    @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.