erolsk8
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Sync] Error 404Sorry to hear that @saibotknif but the question is – how can I replicate this?
If someone can share these problematic hosting providers (their firewalls probably) and how everything is configured, I’d be happy to give it a try in fixing it.
Forum: Plugins
In reply to: [Media Sync] Directory files not showing in Media LibraryUnfortunately, there isn’t a way with this plugin. Since you can’t import files that are already imported and there is no “undo” option, at least not in the UI. So you could revert the database to the time before the import and do it again. But of course, this would revert everything else you worked on since then.
Forum: Plugins
In reply to: [Media Sync] Directory files not showing in Media LibraryHello @flintstoned, it could depend on the date option it was selected. If “Default” was used, then all files would have current date. There is also “Smart file time” which would use year and month based on the folder in which files are located. But it’s all better explained in the UI.
Hope it helps.
Erol
Forum: Plugins
In reply to: [Media Sync] White Screen on Scan FilesHi @way245, sorry for the delay. But without some specific error, it’s hard to guess what it might be.
Forum: Plugins
In reply to: [Media Sync] Error 404Thank you for the details. Well, maybe you can get in touch with them and tell them to whitelist requests to this URL: https://mediasyncplugin.com/
If that’s even the issue, I’m not sure what else it could be.
But eventually, I’d like to solve it within the plugin.
Forum: Plugins
In reply to: [Media Sync] Error 404Hi @spiwee, it sounds similar to this issue: https://ww.wp.xz.cn/support/topic/media-sync-page-404/
But that issue just resolved itself so I still don‘t know what was causing it. Googling “wsidchk 404” makes me guess it is some Cloudflare issue (cache or firewall):
- https://community.cloudflare.com/t/cloudflare-caching-issue/341549
- https://community.cloudflare.com/t/disabled-webshield-from-inmunify-and-still-sometimes-i-get-404-errors/594711/3
- https://ww.wp.xz.cn/support/topic/redirecting-to-404-page/
And you probably shouldn’t disable anything in the long run. It’s best if I could replicate it and handle it somehow in the plugin. But it would help to know what is causing it exactly. Is it some special hosting, some plugin and how to configure all of it to replicate the issue.
So any help with this is greatly appreciated.
Erol
Forum: Plugins
In reply to: [Media Sync] Scan directoryHey @primozn, I kept it available, so it can be found here at the bottom of page: https://ww.wp.xz.cn/plugins/media-sync/advanced/
Forum: Plugins
In reply to: [Media Sync] not workingIf you have imported files, you are done. This is the only thing that this plugin does, so there are no further steps.
Forum: Plugins
In reply to: [Media Sync] Doesnt work !Hi @alekte, I’m sorry to hear it didn’t work for you. Are you maybe using it on windows server? Because support for that is coming in the following days (it’s already available in latest beta version).
Or do you see any errors if you go to Settings -> Media Sync Pro -> Logs? You can also share this privately via support: https://users.freemius.com/store/6428/support/
I hope we can find the issue and make it work in your case. But either way, you can request a refund and it should be automatically processed (within 14 days of purchase).
Forum: Plugins
In reply to: [Media Sync] Incorrect “_wp_attachment_metadata” value addedHey @joeparadis2, would you be interested in testing this in pro version? I can give you a coupon to activate pro version and try it out there. Just send me an email referring to this topic (email can be found in “Contact Support” in footer: https://mediasyncplugin.com/).
Because code is much better there and I can also release a fix as beta version for you to try. And then if it works there, I’ll do the same in this free version.
Forum: Plugins
In reply to: [Media Sync] media-sync-page – 404Strange, but I’m glad it works now.
Thanks for the update 🙂
Forum: Plugins
In reply to: [Media Sync] Incorrect “_wp_attachment_metadata” value addedIt works with only this change, but what’s the path you get from
get_attached_file($attach_id)? Because for me, it’s exactly the same as$absolute_path.So it’s strange to use
get_attached_file()(which probably does an additional database query) for item we just saved to database (especially when importing thousands of files).Maybe the only difference is back vs forward slashes. So I’m wondering if it will work for you (on windows server) if only this line is changed:
$attach_data = wp_generate_attachment_metadata($attach_id, wp_normalize_path($absolute_path));Forum: Plugins
In reply to: [Media Sync] Incorrect “_wp_attachment_metadata” value addedI didn’t forget about this but when I apply your code, I get this error: “Attachment metadata could not be generated”, because
$attach_datais an empty array. I tried all of the relative paths I could think of, for example:2020/02/test-file.gif/2020/02/test-file.gif/wp-content/uploads/2020/02/test-file.gif
But it just doesn’t work, it needs an absolute path.
I’ll try to find some time to replicate and fix this, but I can’t promise when. It’s crazy times at the moment 😀
Forum: Plugins
In reply to: [Media Sync] media-sync-page – 404Hey @volder,
I’ve tried it on a few servers with the same versions, but couldn’t replicate it. Does it also happen if you go to Settings -> Media Sync?
I just double-checked, and even if your remote server is blocking requests that fetch content for that “Media Sync Pro” block, it should just not show that block without any error. So I’m running out of ideas.
Could you maybe turn on debugging and find some error messages?
Thanks
Erol
Forum: Plugins
In reply to: [Media Sync] Multiple images appearing in Media folderWithout steps to replicate the issue in this plugin, I’m not sure how to provide additional help.
By the way, I try to maintain this free version of the plugin whenever I find time. But doing it for free is quite challenging. So I’m sorry, but if it’s not a bug I can replicate, I can’t really fix it.