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

Members fund testing for the Drupal project. Drupal Association Learn more


ejah’s picture

Version: 7.x-1.x-dev » 7.x-1.0-beta2

Same 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,

mcaden’s picture

Duplicate of #970328: Fatal Error during Media Browser upload unless there's more info he's not tellin.

wbjin’s picture

I have the same issue using a clean drupal 7 install. This module is completely unusable with WYSIWYG

effulgentsia’s picture

Status: Active » Closed (duplicate)

As 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.

cangeceiro’s picture

Version: 7.x-1.0-beta2 » 7.x-1.2
Status: Closed (duplicate) » Active
48.32 KB

This 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

zoo33’s picture

I 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.

mikemadison’s picture

Version: 7.x-1.2 » 7.x-1.4
Issue summary: View changes

There 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.

marcoka’s picture

exactly. the first thing i learned with media is that jquery update always will kill something.