Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When inserting e.g. an image via the "media browser" button, everything works as expected, until the "submit" button is clicked.
At that point, another popup should show allowing to choose the format of the image (e.g. large).
This does not happen. Instead, the popup just disappears, but the lightbox shadow remains and the editor is not accessible anymore.
This happens regardless of editor and regardless of whether an image is uploaded, provided by URL or selected from the library
Comment | File | Size | Author |
---|---|---|---|
#5 | Screen Shot 2012-08-08 at 10.27.44 AM.png | 48.32 KB | cangeceiro |
Comments
Comment #1
ejah CreditAttribution: ejah commentedSame issue here, Drupal RC2, Media Beta2.
Going to the admin pages for the types will yield:
* Notice: Undefined index: media_link in media_format_form() (regel 262 van /var/www/vhosts/xxxxx/httpdocs/sites/all/modules/media/media.filter.inc).
* Notice: Undefined index: media_link in media_get_file_without_label() (regel 355 van /var/www/vhosts/xxxxx/httpdocs/sites/all/modules/media/media.filter.inc).
* Notice: Undefined index: settings in media_get_file_without_label() (regel 357 van /var/www/vhosts/xxxxx/httpdocs/sites/all/modules/media/media.filter.inc).
* Warning: array_merge(): Argument #1 is not an array in media_get_file_without_label() (regel 357 van /var/www/vhosts/xxxxx/httpdocs/sites/all/modules/media/media.filter.inc).
as error messages.
Hope this helps getting this sorted out.
Cheers and thanks,
Ernst
Comment #2
mcaden CreditAttribution: mcaden commentedDuplicate of #970328: Fatal Error during Media Browser upload unless there's more info he's not tellin.
Comment #3
wbjin CreditAttribution: wbjin commentedI have the same issue using a clean drupal 7 install. This module is completely unusable with WYSIWYG
Comment #4
effulgentsia CreditAttribution: effulgentsia commentedAs per #2, this is a duplicate of that other issue. I updated the project page to be more clear that the beta2 release is incompatible with versions of Drupal 7 later than beta2. For now, use CVS HEAD, or the dev snapshot. We'll hopefully release a 1.0 soon.
Comment #5
cangeceiro CreditAttribution: cangeceiro commentedThis does not appear to be a duplicate of the issue in #4. I am experiencing this with
Drupal 7.15
Media 1.2
Wysiwyg 7.x-2.1
Attached is a screenshot of the outcome from uploading an image and attempting to embed it
Comment #6
zoo33 CreditAttribution: zoo33 commentedI had this problem, but it turned out to be strictly CSS related. The Seven theme uses
hook_css_alter()
to override the appearance of jQuery UI elements, and it ended up breaking the Media browser for me. The file browsing area was too tall, and the file format form was positioned outside of the window, which meant only the dark background was visible.Switching to a different admin theme solves this. However I ended up implementing
template_process_html()
and altering $styles in a kinda brutal way instead. :)Not sure if this is the case for everyone who has this problem, but it's easy to check.
Edit: Just realized that I'm using a custom jQuery UI theme (stolen from Panopoly), so I can't say for sure if it works without Seven with a standard configuration.
Comment #7
mikemadison CreditAttribution: mikemadison commentedThere is a related issue to this (or it may be the same issue) in 1.4 if you are running jQuery update and a newer version of jQuery
There is an error that is thrown when you try to submit because wysiwyg-media.js has jQuery.browser in it. This method is unsupported in newer versions of jQuery.
Comment #8
marcoka CreditAttribution: marcoka commentedexactly. the first thing i learned with media is that jquery update always will kill something.
Comment #9
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedClosing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team