This Plugin has no functionality and should be removed. The option to actually perform the work, “Synchronize Media…”, is grayed out on the current and all past versions with a note that says a paid plugin must now be used to actually do the work.
]]>This plugin has been created at first to extend JoomUnited’s WP Media Folder plugin with actual file structure.
They finally integrated this feature back in their core WP Media Folder plugin.
As the plugin had no other features, there is no reason to maintain it anymore.
If you still use the plugin, you can deactivate it and enable the actual file feature in JoomUnited’s plugin, please check their documentation about that https://www.joomunited.com/wordpress-documentation/wp-media-folder/584-wp-media-folder-physical-folders
]]>I’m install in my development environment and this Notice appears in the media library page:
( ! ) Notice: WP_Scripts::localize foi chamada incorretamente. O parametro $l10n
deve ser um array. Para passar um dado arbitrário para os scripts, use a fun??o wp_add_inline_script()
ao invés. Leia como Depurar o WordPress para mais informa??es. (Esta mensagem foi adicionada na vers?o 5.7.0.) in /home/rbs/sites/wpdev/wp-includes/functions.php on line 5535
—-
Translating do english:
`( ! ) Notice: WP_Scripts::localize was called incorrectly. The parameter $l10n
must be a array. To pazz a arbitrary data to the scripts, uses a function wp_add_inline_script()
instead. Read how Debug the WordPress for more information. (This message was added in version 5.7.0.) in /home/rbs/sites/wpdev/wp-includes/functions.php on line 5535( ! )
My WordPress is 5.7.1
]]>Is it possible to sync server folder without copying files to noew directory ? Just linking with file in original path ? The ideal will be option to enable it for certain sync tasks.
]]>This is a cut paste I sent to your support… unfortunately their responses are slow and inadequate. We’d prefer to get this working rather than uninstall…thanks.
Hello, this is not the experience we are having, your video does not accurately represent the issue.
Please see here…
https://www.dropbox.com/s/l22uirf6e8dru7a/Video%20Mar%2005%2C%2011%2049%2004%20AM.mp4?dl=0
The photos that are loading were uploaded before your plugin.
The photo that are not were uploaded after via your dropbox connector.
We have cleared caches and tried multiple browsers on multiple mobile devices. You can see from my video that there is an error returned and an attempt to link to our Joom dropbox connection direct to our dropbox and NOT download from our WP media folder directly, please take a look.
Thanks,`
]]>queue.js
jQuery(document).ready(function($){
checkQueue = function() {
$.ajax({
url : wpmf_ajaxurl,
type : 'POST',
data : {
action: 'wpmfs_queue',
},
beforeSend : function(){
$('#wp-admin-bar-wpmfs-topbar span.wpmfs').addClass('wpmfs-querying');
},
success : function(data){
data = JSON.parse(data);
$('#wp-admin-bar-wpmfs-topbar span.wpmfs').removeClass('wpmfs-orange wpmfs-green');
if (data.queue_length > 0) {
$('#wp-admin-bar-wpmfs-topbar span.wpmfs').addClass('wpmfs-orange');
} else {
$('#wp-admin-bar-wpmfs-topbar span.wpmfs').addClass('wpmfs-green');
}
$('.wpmfs-queue').html(data.queue_length);
$('.wpmfs-queue').html(data.queue_length);
$('#wp-admin-bar-wpmfs-topbar').attr('title', data.title);
},
complete: function(){
$('#wp-admin-bar-wpmfs-topbar span.wpmfs').removeClass('wpmfs-querying');
}
});
};
setTimeout(checkQueue, 1000)
setInterval(checkQueue, 10 * 1000);
// Initialize for check queue click
$('#wp-admin-bar-wpmfs-topbar a').click(function(e){
e.preventDefault();
checkQueue();
});
});
setInterval(checkQueue, 10 * 1000);
Request every 10 seconds. During long-term work, a lot of ajax requests accumulate in the admin panel.
]]>I have tried to import a folder with a lot of subdirectories, it imports some of the files and transfers the directory structure correctly, but then it stops. I have tried to enable debug but no file is generated ?? I’m sworn to get gray hair ..
All help is appreciated
]]>Hi,
I will explain the case just for others who have the same problem, but I also explain the solution here.
When I create a “button” block with Gutenberg, I copy-paste the file url for the link which from the Media gallery. This folders are virtual (with the plugin WP Media Folder from Joomunited) but also real in server using your plugin. The button is not working as it is trying to find the file in /uploads and not in the real folder in server (/uploads/folder/subfolder).
The solution, if it is not clear in the documentation of Joomunited plugin, is:
1. Going to Settings of that plugin (not the ones of this plugin) and activate “Activate sync” (IMPORTANT, DO NOT activate “2 ways sync” or you will see in your Media gallery all the thumbnails that wordpress generates for the images, this can be very confusing; you can use this button maybe at first stages of working, uploading files massively, but then you should turn it off)
2. then, select one folder in “server folders” (left tree) and the correspondent in Virtual folders tree (right); press “Add”.
3. Do the same with the rest of folders that you want, one by one. PLEASE NOTICE that syncing one folder affects also its subfolders, so you don’t have to “Add” them manually one by one.
I have set 1 minute delay cause the time of 60 minutes delay by default is strange.
Hope it helps!
I’m unable to login in our site, and in recovery mode the WP Media Folder plugin says:
This plugin failed to load properly and is paused during recovery mode
An error of type E_COMPILE_ERROR was caused in line 2 of the file /www/wp-content/plugins/wp-media-folder/class/class-helper.php. Error message: Namespace declaration statement has to be the very first statement or after any declare call in the script
Some quick Googling says the best way to fix this error with a plugin is to delete and re-add the plugin.
Is this your recommendation, or should I do something else? Will I lose any files if I do this?
]]>Hi,
I just uploaded an image to a folder called “new”. That folder is real in server and virtual in wordpress’ Library (with WP Media Folder’s joomunited plugin).
When I take a look at the FTP, some size versions of the image appear in “/uploads” (root) and some other in “/uploads/new” folder. The original image appears in “new” folder. May it be question of waiting? as if all the size versions where created in root and then moved to their correspondent folder? I don’t know, but it has passed about 20 minutes now.
The image was uploaed when making a post, not directly in Library. Images uploaded in Library are working fine (all have their different sizes in the same folder as the original image).
This issue is not affecting (apparently) the normal function of images.
Another question, does your plugin delete empty folders from the server when their correspondent virtual folder is deleted in Media?
One more question: Does the folder “et-temp” belongs to your plugin or to Joomunited’s plugin?
Thanks!
]]>I update the WordPress to version 5.5 and the plugin stopped working and showing folders in the media library.
]]>Hi Damien,
I realize this is probably not really a bug and more an expected consequence of the way I’m using the plugin, but I’m still reaching out in hopes you can advise and/or offer some help. (And yes, this is the second time I’m asking for your help)
I have to move a big number of media files at a time – like, say, 20 or 30 images – and I’m noticing that, once I start trying to move or just edit the fourth or fifth one, the system gets increasingly unstable, often leading to critical errors on the site. Since I have so many files to move around, it’s becoming a big issue for me.
I should note I’m working on this site locally for now, using Wampserver, so that absolutely could be related to the problem, although it only really happens when I’m moving files around.
Sadly I can’t really illustrate the problem any better, but if needed I can activate debug mode and share whatever errors I’m getting.
I appreciate any help you can give me, even if that help is “you’re using it wrong”!
Best regards,
Mythos
Hi,
I have installed your plugin and bought WP Media Folder plugin, from Joomunited.
I have read the documentation, but folders are not synchronizing:
A. The folders made in server (or using your plugin, writing the filepath for a file) are not appearing in WordPress Media.
B. The folders created with Joomunited plugin (WP Media Folder) are not appearing in server.
In the settings of your plugin, I have clicked in “Move existing media”.
In the settings of WP Media Folder, I have activated the Server Folder Sync.
The web is complete new and fresh wordpress instalation:
–Theme used is Twenty Twenty.
–plugins activated are Limit “Login Attempts Reloaded”, “WP Media folder” and “WP Media folders”
Thanks!
Hi,
I just installed the plugin and when changing the filepath of an image, it takes so long that finally this error appears: https://imgur.com/a/l2NiqRI
After a while, the web loads correctly.
I am using wokiee theme.
If I use this plugin in an empty and new wordpress installation, it works fine, so I guess the theme o any plugin are causing the error.
Thanks!
Hello
After the latest plugin updates, I can’t enter the admin panel.
I use the “WP Media folders” plugin a long time…
but after last update “You don’t have permission to access this page”
Thank you for help.
]]>Hi,
I want to know why the v1.1.8 is made by WP Hi-Tech and now in the 1.1.10 has change to Damien Barrère.
Thanks
]]>We really like this plugin (thanks!), but we’ve been having issues with our server CPU spiking while uploading to the media manager. (confirmed via Nixstats and Cloudlinux LVE manager) After testing and disabling plugins, I’ve narrowed it down to this plugin. Are you aware of this? Is there anything that can be done?
FYI, we’re on a Vultr VPS running cPanel + CloudLinux + Litespeed + PHP 7.3
]]>Hello,
I’m developing a new website locally for now and using WP Media Folders to organize the hundreds of image files in manageable and SEO-friendly folders.
I just noticed changing the locations of new images was breaking some older ones and realized it’s because they have the same filename, they’re just gonna be in separate folders, but the database table replacement is changing the URLs on the old images as well and breaking multiple pages.
Is there any way to disable that feature?
]]>I use wp media folder + wp media folders plugins.
The number of files in the 3000+ media library (/uploads/), excluding generated images.
I tested the plugin on different servers (apache, nginx) and everywhere it gives a 504 error.
An error appears when trying to transfer a file from the root (/uploads/) to a subfolder.
Jobs are added to the queue and are not completed.
On the server, the database load increases to maximum values.
Slow queries appear that run for 2-3 minutes.
If I disable wp media folders plugin, the load disappears.
Example of slow query:
SELECT meta_id,meta_value FROM sns_postmeta WHERE
meta_value REGEXP ‘s:[0-9]+:”.*(https\\://mysite\\.com/wp\\-content/uploads/articles/info/koridor_v_baskete_4\\-150×150\\.jpg|/articles/info/koridor_v_baskete_4\\-150×150\\.jpg).*”;’;
Load examples:
https://pastenow.ru/2286ca5b4ab22aa9425d411c92542329
https://pastenow.ru/bc06116c4b48dbdf0b31388b330ae3bb
Hi, I can’t seem to get your plugin working.
I am using WordPress 5.4.1
I already have the paid plugin WP Media Folder 5.1.2
Debug error logs look like this:
Info : Ajax queue proceed request (queue length: 3)
Info : Proceed queue ajax
Info : Proceed queue synchronously
Info : Max execution time is 1645570141.326
Error : file is not int the upload folder C:\Website/web/app/uploads
Error : file is not int the upload folder C:\Website/web/app/uploads
Error : file is not int the upload folder C:\Website/web/app/uploads
Info : Synchronous queue finished
Info : Proceed queue asynchronously success
I thought it may have been because I was using Bedrock
https://roots.io/bedrock/
And this changes the default upload directory, but I tested on a non-Bedrock site with a standard WordPress install and it does the same.
Info : Proceed queue ajax
Info : Proceed queue synchronously
Info : Max execution time is 1645573723.171
Error : file is not int the upload folder C:\Website-2/wp-content/uploads/2020/05
Info : Synchronous queue finished
Info : Proceed queue asynchronously success
When I install your plugin I also see the new ‘File Path’ section when looking at an image’s details.
And it says ‘The file is not in the allowed upload folder’.
https://imgur.com/lJL5How
So I can’t seem to get it to function at all.
Any ideas?
Thanks.
Hi,
I just update your plugins yesterday and I just found out today that the folders is missing from library.
The library view is back to normal wordpress media library.
Can i revert the installation before the last update?
Need reply A.S.A.P.
Thank you!
]]>Hi,
Extremely necessary plugin!
But when you need to upload many media files to a custom folder – it really hard to make because this plugin required to:
a) Upload all files to a default folder.
b) Open and move EACH file one-by-one!!! Even with queue delays!
Why it so complex?? It’s just a terrible waste of time!!!
Your plugin really very lacks of possibility to:
1) or best of all to set uploading folder before media files uploading.
2) or a “batch move” – at top of media gallery list add a button “move to folder”, on press display a popup string with new file path, so users would be able to check all needed files and move them to a needed folder at once!
Amazing why this option still not implemented?!
Add it please!
]]>Is the plugin supports files with utf-8 file names such as greek characters?
]]>(creating new thread per dev request)
PHP 7.2.9, WP 5.4, just updated the plugin to this latest version you uploaded with the debug logging. Running the local site on a “Local by Flywheel” instalation, nginx and MySQL 5.7.23.
I had migrated my site from a server on UTC-3 to a local instalation which is at UTC-4, and had kept the old setting. Now i have set the local installation to UTC-4.
The manual fix does not work, i still have the file in the queue. When i visit the manual fix page, a single “0” is printed on the white page, but twhen i go back to the dashboard, the file is still waiting in the queue. The debug log shows 2 lines repeating, and it keeps increasing in size with those two same lines, they are:
Info : Ajax queue proceed request (queue length: 1)
Info : Proceed queue asynchronously
I am having the exact same issue as this post: https://www.ads-software.com/support/topic/queue-never-executed/. When I upload media I can see it is added to the queue with the orange dot but doesn’t ever synch. As soon as I follow the steps recommended in the previous support topic of visiting /wp-admin/admin-ajax.php?action=wpmfs_proceed&wpmfs_token=THE_TOKEN_YOU_COPIED_PREVIOUSLY in a private window everything synchs as expected.
Additional info
I am using WP Media folder Version 5.1.2 and WP Media folders Version 1.1.6
WP Version 5.4.
Server architecture: Linux 4.15.0-1044-gcp x86_64
Web server: Apache
PHP version: 7.3.16-1+ubuntu18.04.1+deb.sury.org+1 (Supports 64bit values)
I have tried deactivating all plugins except for the WP Media folder and WP Media folders, clearing the WP-Engine cache and resetting file permissions and have the same results. I have also checked the “Mode debug activated” in the plugin settings but do not see a file generated.
What can I do to fix this issue?
]]>Hi, everybody. There is a problem with sorting. Arithmetic is not taken into account in sorting. For example, we have 10 images and their sorting works like this-img1 img10 img2 img3….
How to solve this problem so that the sorting is adequate with math in mind.
Hello,
I’m using the 1.1.6 version with WP media folder 5.0.1.
I enabled the debug mode but it doesn’t create the debug.php in the plugin folder (I tried with 777 chmod just to check if it was a permission issue but it’s not).
The queue seems to never be executed, I have 2 files in queue, small images.
I check on my server (php 7.2) error log, nothing.
Any idea?
thanks
]]>Hi,
maybe I missed, so i will ask here ??
1. when I upload pictures to Google Drive the picture stay with same size – 2-3mb!
any option to compress pictures when I upload – like in WordPress media?
after that site needs to load pictures with 2-3mb size!
2. possible to move files from WordPress media to Google Drive from the media?
I getting error that its not possible but maybe need to change settings?
thank you
]]>Hi,
I have a test site locally, where I have GeneratePress as theme, and BeaverBuilder as page builder. It’s pretty much a clean install other than these.
I’ve created a page with BB containing only an image, then installed WP Media folders, moved the image to a different folder (on the file system it was moved perfectly), then I checked the created page, and the link did not change, so the image doesn’t show up.
When I try to edit the page (to regenerate cached BB files), the module is not there, so I can’t change the image location either. Is this the expected behaviour? Because then I can’t use this plugin ??
]]>Hello,
I hope you can help. When I create a post in WordPress, the images in different formats are automatically put into the folder “/02/2020/”. Is there a possibility that a certain image format is put into a different folder in the main directory from the first image that is uploaded? So outside of the media folder?
I hope my question is understandable.
When uploading, for example, the contribution image should also be copied to another folder. Preferably only a certain format. Is that possible?
Greetings
Andreas