Closed (won't fix)
Project:
MediaFront
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2010 at 16:13 UTC
Updated:
16 Jun 2010 at 13:03 UTC
Jump to comment: Most recent file
Comments
Comment #1
travist commentedI will test out the upgrade path tonight and see if I can fix this issue.
Thanks.
Travis.
Comment #2
travist commentedI just went through a clean install. Installed the BETA2, and then upgraded to the DEV and it worked just fine for me. Has anyone else had this problem?
Here are the steps I took...
1.) Download clean install of Drupal 6 and install.
2.) Download and install MediaFront Beta 2 module.
3.) Setup a preset to verify that it works.
4.) Download and install latest DEV release.
5.) Run the update.php script.
6.) Verify that the player updated. The latest player has a version of 0.95.
This worked just fine.
Comment #3
mstrelan commentedI know that the correct way is to disable the module before upgrading it, but in practise how many people ever do that?
I was not logged in. I replaced the files and tried to log in, but got this fatal error.
require_once(sites/all/modules/mediafront/players/osmplayer/player/OSMPlayer.php) [function.require-once]: failed to open stream: No such file or directory in C:\www\sites\all\modules\mediafront\players\osmplayer\osmplayer.module on line 3.
After refreshing I was able to load up the log in page to run update.php
I haven't looked at your code but I wonder if you can use include_once instead of require_once, that way it won't throw a fatal error in this situation.
As well as this my presets are totally screwed now. Please see screenshot
Comment #4
almalino commentedBTW, may be my module upgrade procedure is wrong?
shall module be enabled BEFORE runing update.php?
Someone told me here that it should:
http://drupal.org/node/828956
Comment #5
travist commentedHere is what the sequence should be on all modules.
1.) Put your site in maintenance mode.
2.) Backup your database.
3.) Delete the files from the old module ( DO NOT DO ANY PAGE REFRESHES ON YOUR SITE AFTERWARD ).
4.) Copy over the new module files.
5.) Run update.php
6.) Put your site out of maintenance mode.
Nowhere in that proceedure should you disable the module. I am pretty sure that is what is causing this issue.
Please let me know otherwise.
Thanks,
Travis.