Hi I upgraded all my site yesterday including drupal 7.26, file_entity-7.x-2.x-dev dated 16 January 2014 and media-7.x-2.x-dev dated 20 January 2014. After upgrading media (or don't know what other module may be the cause) when I click select button on any image field with media file selecter button a completely blank pop up appears with no option to even close the popup. I went to the admin/structures/views to look at media browser view and the view seems to be working in the views admin interface.
I have changed no setting from my previous version of the site. In my settings no browser plugins are selected so that all are available. I don't know what has happened.
Issue fork media-2178023
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 2178023-media-browser-pop
changes, plain diff MR !1
Comments
Comment #1
aanjaneyam commentedOk I have done some more digging:
I am using Aegir from omega8.cc (BOA platform).
I followed HINT -6 on https://omega8.cc/import-your-sites-to-aegir-in-8-easy-steps-109 and moved my site files directory to ~/static/site-files/mysite_files using mv command and then ran:
ln -s /data/disk/c1/static/site-files/mysite_files /data/disk/c1/static/platform-path/site-name/filesIt may be that media is not able to handle symlinked file system vis JS etc or folder permission needed by it is absent.
I went to firebug console and found following errors:
Comment #2
aanjaneyam commentedIt is Media module some how. I have another site on which I have not moved the files directory as mentioned in #2 above. The files directory is in its standard place. In order to test I just upgraded media-7.x-2.x-dev (20 Jan 14) and file_entity-7.x-2.x-dev (16 Jan 14) and nothing else. And the error mentioned in #1 above (blank media browser pop up) occurs in this site too. So it must be some how related to media and file entity upgrade.
Comment #3
aanjaneyam commentedIt works when I manually revert old versions of media and file_entity modules dated 3 Dec 13 and 10 Nov 13 respectively. So it must be some how related to media and file entity upgrade.
Comment #4
aanjaneyam commentedComment #5
aanjaneyam commentedIt seems nobody else is getting the same problem.
Comment #6
drupalok commentedi do
Comment #7
themusician commentedI am experiencing this as well. Both on clean install of 7.x-2.x-dev and an upgrade from alpha-3.0.
When I click the Media icon within an WYSIWYG, ckeditor, area the pop-up appears just as a white screen.
My console spits out the following:
I have not tried the upgrade on a live site with a FQDN, though the path just looks wrong within the Network Error 500. Shouldn't it point to the actual module, so something like /sites/all/modules/media/browser?render=...
I do have other modules enabled, and am providing a list here: they are enabled by my install profile.
;Core Modules
dependencies[] = aggregator
dependencies[] = block
dependencies[] = contextual
dependencies[] = dashboard
dependencies[] = dblog
dependencies[] = field
dependencies[] = field_ui
dependencies[] = file
dependencies[] = filter
dependencies[] = help
dependencies[] = image
dependencies[] = list
dependencies[] = menu
dependencies[] = node
dependencies[] = number
dependencies[] = options
dependencies[] = overlay
dependencies[] = path
dependencies[] = rdf
dependencies[] = search
dependencies[] = system
dependencies[] = taxonomy
dependencies[] = text
dependencies[] = update
dependencies[] = user
;Base Contributed Modules
dependencies[] = accordion_menu
dependencies[] = addressfield
dependencies[] = advanced_help
dependencies[] = auto_entitylabel
dependencies[] = cas
dependencies[] = ctools
dependencies[] = date
dependencies[] = diff
dependencies[] = entity
dependencies[] = entityreference
dependencies[] = email
dependencies[] = file_entity
dependencies[] = flexifilter
dependencies[] = fullcalendar
dependencies[] = google_appliance
dependencies[] = hierarchical_select
dependencies[] = htmlpurifier
dependencies[] = image_caption
dependencies[] = image_resize_filter
dependencies[] = insert
dependencies[] = jquery_update
dependencies[] = job_scheduler
dependencies[] = link
dependencies[] = media
dependencies[] = media_youtube
dependencies[] = media_vimeo
dependencies[] = panels
dependencies[] = pathauto
dependencies[] = pathologic
dependencies[] = phone
dependencies[] = token
dependencies[] = wysiwyg
dependencies[] = wysiwygpatch
dependencies[] = views
dependencies[] = views_bulk_operations
;Acilliary Contributed Modules
dependencies[] = admin_menu
dependencies[] = backup_migrate
dependencies[] = features
dependencies[] = field_group
dependencies[] = globalredirect
dependencies[] = google_appliance
dependencies[] = google_appliance_suggest
dependencies[] = hidden_nodes
dependencies[] = iconizer
dependencies[] = imageapi_optimize
dependencies[] = imagecrop
dependencies[] = libraries
dependencies[] = linkchecker
dependencies[] = media_browser_plus
dependencies[] = module_filter
dependencies[] = menu_block
dependencies[] = mollom
dependenceis[] = multiform
dependencies[] = nodequeue
dependencies[] = r4032login
dependencies[] = views_accordion
dependencies[] = views_responsive_grid
dependencies[] = views_tree
dependencies[] = workbench
dependencies[] = workbench_media
dependencies[] = workbench_moderation
dependencies[] = wwuzen_gsa
dependencies[] = xmlsitemap
Comment #8
themusician commentedTurning off Media YouTube allows the form to render and no errors are thrown in the console.
Media YouTube throws the following fatal error in my PHP error logs.
[30-Jan-2014 19:22:10 UTC] PHP Fatal error: Call to undefined function media_access() in /Applications/MAMP/htdocs/media-upgrade-test/sites/all/modules/media_youtube/includes/MediaYouTubeBrowser.inc on line 19
This is media-youtube-rc4.
Apparently there is a fix here: https://drupal.org/node/2178337
Comment #9
trumanru commentedAgree with theMusician (#8) - it's Media: YouTube module's RC4 bad.
I had same trouble after I'd applied the last Media 2.x dev version. After I applied patch https://drupal.org/comment/8260713#comment-8260713 problem has been resolved.
Comment #10
cubeinspire commentedI have the same issue when I try to add media to the boy field with CKeditor.
The overlay opens and shows:
Fatal error: Call to undefined function media_access() in /home/cubein/sd/stopnoma/www/profiles/bear/modules/media_youtube/includes/MediaYouTubeBrowser.inc on line 19----------------------------------
technical information
Drupal version: 7.23
Using clean install with profile: bear-7.x-1.x-dev-core
Comment #11
rcodinaJust updating to latest media_youtube release (7.x-2.0-rc4+18-dev) solved the problem for me.
Comment #12
alexanansi commentedI unchecked using thumbnails by default, and disabled using the default view at admin/config/media/media_browser_plus_settings
Also, I disable skipping fields, filetypes, and schemes at admin/config/media/file-settings
After this it worked
Comment #13
karolus commentedI'm having the same issue as theMusician. This is on a new install of Drupal core. Am going over all settings now to see what could be causing this.
Comment #14
dat deaf drupaler commented+1 for #11 above
Comment #15
adam1 commented+1 for #11 above, too. Saved me hours of debugging!
Comment #16
kellyimagined commentedThis just happened with the latest update. I ended downloading again and running update.php again that solved the problem.