First of all: Thanks for this nice module.
So far it worked great, but I recently set up a new site, where I ran into some problems with the library browser.
The problem is, that in the media browser settings (as well as in the media-module-provided "add media" dialog) the media library is not shown.
On admin/config/media/browser I can only choose to activate "Upload" and "Web".
"Library" and "View Library" are missing.
Also, when adding media to an article, the only option/tab available is "Upload".
It is not possible, to reuse images already present on the server by browsing the library.
I already tried reinstalling the media module (Version 7.x-2.0-unstable7).
The plugins are present in the module folder (in media/includes/), and the file permissions are also ok.. but they just are not recognized.
Any ideas?
Thanks for your help & best regards,
leliem
Comment | File | Size | Author |
---|---|---|---|
#14 | remove-extra-plugin-info-caching-1889422-14.patch | 2.1 KB | Devin Carlson |
#13 | remove-extra-plugin-info-caching-1889422-13.patch | 1.68 KB | Devin Carlson |
#3 | media_lib_prob.jpg | 46.17 KB | leliem |
Comments
Comment #1
wunderbard CreditAttribution: wunderbard commentedThis is the answer I have received ( http://drupal.org/node/1886994 ):
Posted by Dave Reid on January 12, 2013 at 8:00pm
Status: active » postponed (maintainer needs more info)
The tab was renamed to just 'Library' and the old deprecated 'Library' tab was removed. You may have to double-check your field configuration to check which plugins are enabled to be displayed as well.
= - = - = - = - = - = - =
Comment #2
ParisLiakos CreditAttribution: ParisLiakos commentedCheck under
admin/config/media/browser
that the rightEnabled browser plugins
are checkedComment #3
leliem CreditAttribution: leliem commentedThanks for your replies.
However, I'm not sure, if I get you right.
The problem is, that in the first place I am not able to activate the plugins under
admin/config/media/browser
(see attached screenshot).There are only "Upload" and "Web" - not "Library" available for activation.
Is there another place (or maybe some table in the db) which controls that behavior, that might be broken?
Comment #4
arthurf CreditAttribution: arthurf commentedDo you have the views module installed?
Comment #5
leliem CreditAttribution: leliem commentedThanks a LOT, arthurf!
That was a hint to the right direction.
The views module was installed and active, but for some reason the media browser view was not activated...
It's working fine now.
Comment #6
tchopshop CreditAttribution: tchopshop commentedThis happened to me also. Under the field's settings for Enabled browser plugins the only ones available are Upload, Web and YouTube. Other file media fields are working correctly so it is not a matter of Views or the Media browser not being active or set.
It happened to me prior to this but after a few days of using the field I was eventually I was able to go back to the settings and the Library field had appeared. But not the My Library field.
Now it is happening again with a new field.
Comment #7
tchopshop CreditAttribution: tchopshop commentedUPDATE: Clear your cache! I cleared my cache and went back to the field's Edit page and now the browser plugins are appearing.
Comment #9
scottalan CreditAttribution: scottalan commentedI have recently run across this issue and I'm having to clear cache every so often to get the 'options' to show up. As was stated in #7
This seems to still be an issue.
Comment #10
tom friedhof CreditAttribution: tom friedhof commentedI can confirm that this still seems to be an issue. Clearing cache gets my Library and My Files tab to show back up.
Comment #11
siva.thanush CreditAttribution: siva.thanush commentedI still have this issue.
I couldn't see the option to browse server to upload the files from the server itself instead of uploading it from the local system.
Have anyone figured out a solution to get rid of this.
I tried clearing the cache also but no luck.
Comment #12
korzh-nick CreditAttribution: korzh-nick commentedI had a similar problem. decision - include views Media browser (it was turned off), and clear the cache
Comment #13
Devin Carlson CreditAttribution: Devin Carlson commentedI also see this from time to time. I think we can safely remove the extra caching from
media_get_browser_plugin_info()
. Invoking a hook and an alter isn't an overly taxing operation (core uses the same pattern intoken_info()
,_trigger_get_all_info()
, etc) compared to retrieving a small array from cache and I didn't notice any real change in my testing.Comment #14
Devin Carlson CreditAttribution: Devin Carlson commentedMissed a cache clear in
media_views_invalidate_cache()
.Comment #15
Devin Carlson CreditAttribution: Devin Carlson commentedThis might be related to #1751132: Media browser native plugin information hook not called.
Comment #16
mattheweigand CreditAttribution: mattheweigand commentedI'm getting this issue too. I just updated the Media module from 7.x-2.0-unstable7+60-dev to the latest dev release. I held off on upgrading because I was worried there would be problems. And, there are! I can't see a Library or My Files tab. The Media Browser view is present, its turned on, and it works in the Views UI preview area. But I simply can't see a tab for it in the modal popup window.
Comment #17
mattheweigand CreditAttribution: mattheweigand commentedMy issue was apparently because the Library and My Files options were de-selected in admin/structure/types/manage//fields/. I have been going crazy about this, and did not realize that local settings existed there that overrode universal settings set at admin/config/media/browser. So now everything works.
I would encourage anyone else having this problem to check the field settings on their content types to make sure that they have all the relevant options checked.
Comment #18
Devin Carlson CreditAttribution: Devin Carlson commentedWhile many of these issues are config related, I'm going to commit #14 and see if that helps things. I think the advanced static pattern might be more useful for performance here anyway.
Comment #21
pacos47 CreditAttribution: pacos47 commentedParis,
I have just two options for media widget: file and media browser. Is it equivalent to media file browser or I miss something?
PS: where is drupal 8 you have promissed to me?
Comment #22
maxperience CreditAttribution: maxperience commentedHi, I've also had this problem with my D7 installation. I couldn't find a solution for years. Today I changed the media browser theme from the default administration theme to the theme I was actually using for the front end at admin/config/media/browser
And my media library showed up again. That's my two cents.
Comment #23
ericdsd CreditAttribution: ericdsd commentedEdit : sadly this tip didn't make the trick completely.