In Filebird 3.5, we could see a folder pane in the right-sidebar of the media editor.
With the new pro version of Filebird, 4.9.3 the folder pane is no longer visible, and no longer available in the screen options.
What must we do to have the folder pane available in the media editor?
Steps to Reproduce
1. Click “Media” from WordPress’s left sidebar.
2. Click on a media item (image, PDF, etc).
3. The “Attachment Details” popup will be displayed.
4. On the bottom right of the popup, click “Edit more details”.
5. The “Edit Media” page will be displayed.
6. It is here we no longer have access to the folders pane.
And the Crop, Undo and Redo buttons are grayed out. I need this tool because I have to crop my photos very often.
Here is what I have already tried:
Created a staging site on the same server
Deactivated All plugins (did not work)
Changed the theme back to 2021 with all plugins deactivated (did not work)
Reinstalled WordPress from the updates page (did not work)
This leads me to believe that it is happening because of the hosting server? But the same server also has another WordPress site and that site DOESN’T have this problem.
I am using Vultr VPS managed by Cloudways.com, PHP 7.4 with MariaDB 10.1 and I don’t see any errors in the Browser Console.
Anything I am missing? I would really appreciate any help.
Thanks
]]>I need the media-editor.min.js script on the admin for something I am developing, but for some reason the script is just not there. I have another WP installation where the script is present on all screens no problem. But on the one I need it its not there and is causing JS errors. I already deactivated all the plugins, I switched to the default theme. The script is still not there, I deleted the cache, I used incognito mode, but no luck.
I have the 5.5.3 WP version (Both on the installation that works and the one that doesn’t)
Why would the media-editor.min.js not be included on an installation with no plugins and default theme?
The ONLY thing that occurs to me is that at some point I installed some cache plugins to test some things out, I already since deleted these plugins and all their files, but would that be the issue? I would really appreciate the help.
Worst case scenario, if I need to automatically enqueue the script then its fine, but i’d like to know why.
Thank you in advance.
]]>TypeError: wp.media is undefined
]]>I run a Debian / Jessie version of WordPress as indicated. For the most part it runs well, and when there are problems I usually get them fixed. This means I am also running my own Apache server from home.
There has been one annoying functionality, which I do not benefit from. When I go into my Media Library, Select an Image, and then click on Edit, I get a broken image preview icon, and no ability to edit.
I have narrowed this problem down. to an AJAX call to the file
/usr/share/wordpress/wp-admin/admin-ajax.php
I can duplicate the call to that file as an HTTP call from my browser, and find the only thing this file outputs, is the ASCII numeral 0 (zero) – where it should output some sort of image. AFAIK, this problem has always existed, or has at least existed since my first attempt to edit an image from within WordPress.
I see over 200 postings on the Web, where other WordPress bloggers report the exact same problem. But then in pursuit of each case, each thread predictably runs into a dead end. Out of 200 postings, there is not 1 adequate explanation for why this happens.
In some cases, the OP thanks the other posters profusely, to confirm that this problem is theoretically possible. Another thread goes careening on some wild tangent. Each thread greets the OP with some wild chaotic response, that offers no conclusion, and then just dies.
I would like to know once and for all, what no other WordPress blogger has ever found an answer to: What causes this malfunction? BTW, I have the package
php5-gd
Installed, as I am supposed to, and in certain other Web-applications on my server, this package works. Also, this package successfully builds thumbnails and resized versions of the uploaded images automatically, in
/srv/www/wp-content/dirkmittler.homeip.net/uploads/…
I would hate to install a 3rd-party photo-editing plug-in, and my main reason is the fact that the ones I have found are cloud-based. My second reason not to would be, the fact that I can just GIMP whatever images I want on the same machine – I am not critically dependent on this working inside WordPress.
I do not have bizarre rewrite rules in my .htaccess, only the rules which belong there.
I do not have mod_security installed, and do not have mod_headers enabled. I have created no special restrictions against myself accessing the folder
/usr/share/wordpress/wp-admin
I.e., I can admin my blog just fine. I think I would notice, if I could not. And here is my blog:
https://dirkmittler.homeip.net/blog/
I have scanned dozens of server-scripts for that closing ?> , but wouldn’t you know it, none of the scripts I have tested, contain that basic PHP bug. I do not intend to output-buffer all my content, to ob_clean() it. And I do not intend to delete my ‘functions.php’ file, and think this will achieve anything other than a full failure of the site.
Please, suggest more chaotic answers, and then tell me the problem is fixed!
Dirk
Oh, And my .PHP Files are Not UTF-8 encoded, with a BOM. My PHP-Scripts are ASCII-encoded, with no BOM.
Edit: Some posters wanted to know the full list of plug-ins which the OP had installed, because maybe in some cases, there could be a plug-in intercation causing this. Well, this is my info on that subject:
root@Phoenix:/var/lib/wordpress/wp-content/plugins# ls
akismet media-library-assistant
awesome-weather memcached-is-your-friend
captcha metronet-profile-picture
captcha-pro plugins
custom-scrollbar postie
custom-scrollbar-pro post-views-counter
email-users printfriendly
featured-video-plus transposh-translation-filter-for-wordpress
google-sitemap-generator update-control
htaccess user-role-editor
index.php who-hit-the-page-hit-counter
insert-headers-and-footers who-hit-the-page-widget
limit-attempts widget-logic
limit-attempts-pro wordpress-importer
limit-login-attempts-reloaded wp-mail-smtp
lj-maintenence-mode wp-postviews
root@Phoenix:/var/lib/wordpress/wp-content/plugins#
Note: Some of these are not activated. Eg, since I have both limit-attempts and limit-attempts-pro, limit-attempts would be redundant. And, media-library-assistant and metronet-profile-picture are not activated.
Although some plug-in interaction might be causing this, in my case there are so many, that it is a pointless theory to pursue. And, why would so many other OPs, of other threads, necessarily have the same plug-ins as I do?
And, I have actually examined the PHP-Script ‘admin-ajax.php’.
It sets the variables ‘$core_actions_get’ and ‘$core_actions_post’, with an array of AJAX-Actions. The action ‘imgedit-preview’ is nowhere in the lists.
If the requested action is not found, it defaults to
// Default status
die( ‘0’ );
I encountered problems in setting the site identity icon and cropping.
Site Identity Icon
I uploaded a 512×512 image, the exact dimension WordPress suggested, for the site icon. However, when I [select] it, it does nothing. I checked the console and there’s an error:
b.trigger is not a function
The funny thing is it only happens when attempting to [select] an image with the exact dimensions.
I tried selecting an image with larger dimension. It proceeded to the next step where I have to crop an image but when clicking the [crop] button, an error occurred:
filename.jpg
There has been an error cropping your image.
I was only able to successfully choose a site icon when I selected an image with a smaller dimension.
Cropping
When I try to crop an image, the editor only shows a broken image.
Any ideas how to fix these problems?
]]>I re-activated 2015 Theme, switched to media library, chose an image and the ability to edit / crop image etc becomes available as expected.
I re-activated Customizr theme, switched to media library and the ability to edit / crop images is available.
I re-activated customizr-child theme, switched to media library, chose a file and the image is no longer there so cannot edit / crop etc with the image editor. The thumbnail was still in the RHS but the image is not shown (some sort of small icon in the LHS corner of the editor, not the actual image so it’s not possible to do any editing.
I replaced my customizr-child theme functions.php & style.css with empty versions, i reloaded and was still unable to edit a media file using the image editor.
Finally I delete the empty files so the customise-child theme folder had no files but it was still the active theme. I switched to the media library, chose an image and the image is available again in the editor.
It looks like there is a problem with customizr-child theme making the image editor unable to load an image to be edited when the child theme functions.php and style.css files exist. Which kind of defeats the objective of having a child theme.
I’ve tried this with both Safari & Chrome on a Mac, same problem.
Dropping the original functions.php and style.css back in the child folder causes the image editor to malfunction gain.
Does anyone have a workaround other than making the changes in customizr theme then re-activating the child theme.
]]>Any ideas about how to fix this?
]]>I’ve even uploaded the exact same image, just saved as both and when i try and edit the JPEG the spiny icon appears but then it stops and cannot shop the image.
The same PNG works fine, image appears and you can edit.
Is this default or something i can fix?
]]>