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.
Hi everyone,
i ran a big update on my site (core 7.0 -> 7.12), and updated every modules, following the update.txt procedure. Everything was OK, but i got these problems on Review Update in the update.php
7017 - Move file display configurations from the 'file_displays' variable to the {file_display} table.
7018 - Rebuild the menu to fix access for WYSIWYG.
7019 - Update old per-view-mode media field formatters to the generic media formatter with a setting.
7020 - Delete the wysiwyg_allowed_types variable if it is the same as default.
As a result, the videos views i got on my site are not running anymore. Any idea ?
Comment | File | Size | Author |
---|---|---|---|
#7 | media-update-7017-fix-7.x-1.0.patch | 632 bytes | chingis |
Comments
Comment #1
Dave ReidIt doesn't seem to me that your updates actually had any problems - to me it looks like they ran successfully unless you forgot to copy/paste the actual errors.
If you upgraded from an older version of Media likely you'll need to re-configure any Views that you've made because there was a big switch from media entities to using file entities.
Comment #2
broadcastor CreditAttribution: broadcastor commentedActually, i didnt paste the error message, i do apologize. Here is what i get (in french, i can translate if needed)
Une erreur HTTP AJAX s'est produite. Code de statut HTTP : 200 Informations de débogage suivantes. Chemin: http://www.mysite.com/update.php?op=selection&token=qx8lhWDOJQLCZF6ffT2U8Pfo8ThDJlzqA77IUWAxuf8&id=3197&op=do StatutTexte: OK ReponseTexte: Fatal error: Call to undefined function file_entity_update_7001() in /space/www/mysite/data/htdocs/sites/all/modules/media/media.install on line 576
Comment #3
Dave ReidIf you were updating to Media 7.x-2.x from 1.x then you need to make sure you have http://drupal.org/project/file_entity also downloaded.
Comment #4
broadcastor CreditAttribution: broadcastor commentedDave, I've just downloaded file_entity 7.x-2.0-unstable, unzipped it, moved file_entity on /htdocs/sites/all/modules/media/ but i still have this error message.
So Media is currently in 7.x-1.0-rc3, and file_entity in 7.x-2.0-unstable3. The update.php script is still not runnable...
Thanks for your advices
Comment #5
Dave ReidAck, you selected the wrong version when filing this bug. Please make sure to select the correction module version you are using as there are important differences between the help I can give you between the 1.x and 2.x versions of the module.
I assumed you were using Media 2.x. There's no need to download the separate file_entity module then and there should be a file_entity module that is included in your Media 7.x-1.0-rc3 folder. Make sure that exists. Might want to re-try downloading the RC3 release.
Comment #6
broadcastor CreditAttribution: broadcastor commentedThank you,
I downloaded another time, put it online, ran update.php, and the problem still occurs. Here is the error i got :
Comment #7
chingis CreditAttribution: chingis commentedPatch attached
Comment #8
HyperGlide CreditAttribution: HyperGlide commentedClosing issue do to no activity and Media 7.x-1.2 is out.
Please feel to reopen if required and updated to current version.
Comment #9
jerdavisThis is still a problem in the current dev snapshot of Media 7.x-1.x. The patch above should take care of it, but does need to be applied.
Comment #10
ParisLiakos CreditAttribution: ParisLiakos commentedComment #11
ParisLiakos CreditAttribution: ParisLiakos commentedJust committed the fix to 7.x-2.x
http://drupalcode.org/project/media.git/commit/b433b27
Comment #13
ParisLiakos CreditAttribution: ParisLiakos commentedNo longer applies, but comitted anyway..thanks for re-opening this jerdavis
http://drupalcode.org/project/media.git/commit/76bc22f
Comment #14.0
(not verified) CreditAttribution: commentedcorrecting my poor english