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 ?

#7 media-update-7017-fix-7.x-1.0.patch632 byteschingis
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch media-update-7017-fix-7.x-1.0.patch. Unable to apply patch. See the log in the details link for more information. View


Dave Reid’s picture

Status: Active » Postponed (maintainer needs more info)

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

broadcastor’s picture

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

Dave Reid’s picture

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

broadcastor’s picture

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

Dave Reid’s picture

Version: 7.x-2.x-dev » 7.x-1.0-rc3

Ack, 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.

broadcastor’s picture

Thank you,

I downloaded another time, put it online, ran update.php, and the problem still occurs. Here is the error i got :

The update process was aborted prematurely while running update #7017 in media.module. All errors have been logged.
chingis’s picture

632 bytes
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch media-update-7017-fix-7.x-1.0.patch. Unable to apply patch. See the log in the details link for more information. View

Patch attached

HyperGlide’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing issue do to no activity and Media 7.x-1.2 is out.

Please feel to reopen if required and updated to current version.

jerdavis’s picture

Status: Closed (cannot reproduce) » Active

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

ParisLiakos’s picture

Version: 7.x-1.0-rc3 » 7.x-1.x-dev
Category: support » bug
ParisLiakos’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, media-update-7017-fix-7.x-1.0.patch, failed testing.

ParisLiakos’s picture

Status: Needs work » Fixed

No longer applies, but comitted anyway..thanks for re-opening this jerdavis

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

correcting my poor english