I've had a lot of issues upgrading from 5.x to 6.x. First I was unable to get the API Client to Authenticate on a windows machine, but eventually got it to work on a Linux box. (Still not sure why windows will not work)

Both machines complained about the Brightcove_Field module being missing.
Error is:

User warning: The following module is missing from the file system: brightcove_field. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1128 of /data01/sites/OURSITE/includes/bootstrap.inc).

We are running version 6.4 and this error still persists everytime we go to the update screen.

After adding the brightcove client we do not have any default Player options. I have a contact at brightcove looking into this at the moment, however I know we have players configured because we are using them on other non-Drupal sites. What specifically needs to be done within brightcove to get this dropdown to populate??

Every page I access that interacts with the brightcove module throws the following error. I suspect it has something to do with the fact that no default player is defined, but I'm unsure.

Brightcove\API\Exception\APIException: Invalid status code: expected 200-299, got 0.

in Brightcove\API\Client->request() (line 321 of /data01/sites/OURSITE/sites/all/libraries/PHP-API-Wrapper/lib/Brightcove/API/Client.php).

My biggest motivation for upgrading to version 6.x was to take advantage of HTTPS in the video cloud. I was already able to get a responsive version of the player working in version 5.x.

Some of these issues were touched on in the upgrade guide (https://www.drupal.org/node/2636984) and even claimed to be fixed, but I'm still having issues.

Does anyone have any advice on how to resolve these issues? Is anyone else experiencing the same problems?

Comments

ladybug_3777 created an issue. See original summary.

ladybug_3777’s picture

Issue summary: View changes
ladybug_3777’s picture

Issue summary: View changes
tamasd’s picture

Version: 7.x-6.4 » 7.x-6.x-dev
Assigned: Unassigned » tamasd

Authentication issue: check PHP versions and curl versions. I suspect that curl on Windows is an old version, and there were some changes in curl behavior in the last few years.

The brightcove field module missing issue will be fixed in the new release (7.x-6.5).

I answered the player problem in its separate issue.

For the APIException: open the lib/Brightcove/Api/Client.php file in the PHP-API-Wrapper and enable the request debugging by setting the $debugRequests field to a filename (e.g. /tmp/bc.txt). This will log all brightcove requests, so you can see which request fails. However the response code 0 indicates that PHP fails to connect to the brightcove servers. This can be a firewall problem, check if you can access https://cms.api.brightcove.com from your server.

ladybug_3777’s picture

My windows machine has PHP 5.6 and curl is 7.52.1

I'll edit that client.php file and see if that gives me some more info. THANKS!

ladybug_3777’s picture

Status: Active » Closed (cannot reproduce)
ladybug_3777’s picture

I'm closing this issue since I was finally able to get things up and running without the need of any patches.