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.
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.
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!
Wow, thanks @ziontrooper!
I’ll fix it right away 🙂
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.
@erolsk8 Hey thanks for the update. That’s great news!