Our site had 6.x-1.1-beta1 installed, which failed after we ran update.php. This did not make sense at the time, as the BrightCove module was not being updated.
We have now installed (6.x-1.1-beta2), and again run update.php, but still the video embeds do not display. And, we are getting this error message when we create a new video:
include_once(/echove.php): failed to open stream: No such file or directory
If I try and save an existing video, I get the error:
Class 'Echove' not found in /mnt/webfs1/HTDOCS/test-best100.workingmother.com/sites/all/modules/platform/media_brightcove/media_brightcove.module on line 142
Any ideas how to fix this?
Also, update.php complained that it "could not create table cache_media_brightcove_status, already exists" after update - so I reset the site back to beta1 and manually dropped that table, and re-ran update.php, which then gave no errors.
Thanks for you help!
Comments
Comment #1
hctomsubscribing
Comment #2
captaindav CreditAttribution: captaindav commentedWe determined "Echove" error message is because we need to install the Echove library under /sites/all/libraries (http://echove.net/).
Also, the BrightCove checkbox was unchecked on the Content Type Embedded Media field, so we have checked that.
But the videos still don't work.
Comment #3
Darren OhDisabling the video availability check has resolved our problems.
Comment #4
captaindav CreditAttribution: captaindav commentedWe were able to fix this issue of the bad beta1 update (causes BrightCove checkbox to disappear) by following this procedure:
1. Install the Echove-1.0.9 library under /sites/all/libraries
2. Update the media_brightcove module to the latest beta version (6.x-1.1-beta2)
3. Run update.php
4. Flush Caches
5. Disable the validation check.
a. Go to SIte Configuration > Media: Brightcove
b. Scroll to the option that says "Check for unavailable videos"
c. Uncheck this box
6. Re-enable the Brigthcove media type (may not be needed if just doing regular update)
a. Go to Content Management > Content Types > Edit Video > Manage Fields
b. Edit the field "field_video_embed_code"
c. Make sure to check the "Brightcove" box under "Video Settings > Providers"
7. Resave all video nodes (don't need to make any changes, just need to save them - only need to do if BrightCove checkbox was missing do to beta1 update issue mentioned above.
Comment #5
aaron CreditAttribution: aaron commentedWow, I'm really sorry about having that unleashed on folks. I forgot about the condition where the echove library hadn't been installed. I have almost no time this week with a new infant, but will try to roll a fix and new release by Monday.
And thanks for the instructions for folks experiencing the issue, captaindav.
Thanks,
Aaron
Comment #6
aaron CreditAttribution: aaron commentedOK, these issues should now be fixed:
* The update will only create the table if it doesn't exist.
* The check for video availability defaults to FALSE.
* Even if the admin checks that box, it won't run unless the Echove library has also been installed.
* The related error shouldn't appear anymore, as the class won't be called unless the Echove library exists.
Thanks, @captaindav and @Darren Oh.
Until I get the new release rolled, please use the steps in #4 to resolve.
Comment #7
aaron CreditAttribution: aaron commentedor use the dev release, of course.