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.
The documentation for install is not clear at all, and also there is a lot of duplicate files due to composer (vendor/sebastian, /vendor/symfony, etc..) into the libraries folder.
Why not implement Brightcove module with the Composer Manager module so we will be able to:
1/ Install it with Drush in one line
2/ Avoid install problems and troubleshoot
3/ Avoid hundreds of duplicate files
4/ Manage easily the update for security issues by Composer Manager
Comment | File | Size | Author |
---|---|---|---|
#12 | brightcove-composer_manager-2828789-12.patch | 329 bytes | sergiu.savva |
#7 | error.PNG | 8.85 KB | Vj |
Comments
Comment #2
Vj CreditAttribution: Vj as a volunteer commentedYes agreed documentation is not clear at all. Installed brightcove module on clean install.
Steps followed till now
As suggested kobee can we include composer manger here to make install clean & something like hook_requirements which will take care of all packages are installed correctly before module enabled.
Thanks,
Vj
Comment #3
tamasd CreditAttribution: tamasd at Pronovix commentedI am open to this, but I don't want to drop the libraries support. When I will have some budget, I will look around how this can be implemented.
Comment #4
Vj CreditAttribution: Vj as a volunteer commentedHey tamasd,
Can you please help me to resolve error "Fatal error: Class 'Brightcove\Object\Playlist' not found in sites/all/modules/contrib/brightcove/brightcove.playlist.inc on line 24".
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedNOT TO HIJACK THE ISSUE
We are having nothing but trouble installing this module on a clean 7.54 Drupal install with all of the dependencies and Bootstrap theme I keep getting Brightcove client is not found. It will not write the API information.
Comment #6
jan.mashat CreditAttribution: jan.mashat at Pronovix for BrightCove commentedVj, which documentation is not clear?
And where exactly did you find 7.x-6.x install steps telling you to do the following?
weavingmedia, have you tried searching for that error? Here is one result for example.
In case anyone hasn't found the installation guide, it's linked under Documentation in the sidebar of the project page.
Comment #7
Vj CreditAttribution: Vj as a volunteer commentedHey jan.mashat,
Followed steps 1 to 3 from https://www.drupal.org/docs/7/modules/brightcove-video-connect-7x-6x/ins... on clean drupal site.
On module enable It throws error "Fatal error: Cannot use variable $client twice in \sites\all\modules\contrib\brightcove\brightcove.video.inc on line 107".
Module versions:
brightcove-7.x-6.4.zip
ctools-7.x-1.12.zip
date-7.x-2.10.zip
entity-7.x-1.8.zip
libraries-7.x-2.3.zip
Library version:
PHP-API-Wrapper-1.0.zip
Thanks,
Vj
Comment #8
tamasd CreditAttribution: tamasd at Pronovix commentedVj: that is a known issue, and it is fixed in dev. It is a simple typo, if you need a quick fix just apply this patch: http://cgit.drupalcode.org/brightcove/patch/?id=4501a064460108abe0e6f653...
Comment #9
Anonymous (not verified) CreditAttribution: Anonymous commentedWHOOT!!!!!!!!!!
Thank you it installed with the current stable version I now have an API Client!!!!!
Comment #10
Vj CreditAttribution: Vj as a volunteer commented@tamasd
Thanks its working now. Can we add this step in documentation till new version released with fix.
Comment #11
jan.mashat CreditAttribution: jan.mashat at Pronovix for BrightCove commentedI've added a note about it to the docs.
Comment #12
sergiu.savva CreditAttribution: sergiu.savva commentedIt's a good idea to use composer_manager. I'm using it for my project.
I attached the patch
Comment #13
sergiu.savva CreditAttribution: sergiu.savva commented