when try to add a new client i get the following fatal error:

Class 'Brightcove\API\Client' not found in /brightcove/brightcove.client.inc on line 261

I have downloaded the latest php-wrapper library from https://github.com/brightcove/PHP-API-Wrapper
my path to brightcove library is PHP-API-Wrapper/*
And client.php is located in PHP-API-Wrapper/API/client.php
I have also tried this path : PHP-API-Wrapper/Brightcove/API/client.php But no success.

Can someone please suggest whats wrong here.

Comments

jan.mashat’s picture

Status: Active » Closed (won't fix)

7.x-6.x-dev, as the name implies, is under development and some parts are not working properly.

7.x-6.0-alpha3 can be used for testing, and requires version 0.1 of the wrapper:
https://github.com/brightcove/PHP-API-Wrapper/releases/tag/0.1

johnennew’s picture

Status: Closed (won't fix) » Active

I get this error as well and am using 7.x-6.0

jan.mashat’s picture

Status: Active » Postponed (maintainer needs more info)

7.x-6.0 requires version 0.3 of the wrapper, which needs to be installed properly as discussed here: https://www.drupal.org/node/2573625

q0rban’s picture

Title: brightcove wraper libraries client class not available » Update documentation for 6.x branch on how to install Brightcove PHP library
Status: Postponed (maintainer needs more info) » Active

I have downloaded 7.x-6.0, which states in the README.txt:

Download Brightcove PHP MAPI Wrapper from http://opensource.brightcove.com/project/PHP-MAPI-Wrapper/, module is tested with PHP MAPI Wrapper 2.0.4 and later.

Unzip framework to sites/all/libraries/*. After unzipping, there needs to be a file at sites/all/libraries/*/bc-mapi.php.

Is that no longer correct? If so, then I think the task here is to update the README.txt with the correct installation instructions.

jan.mashat’s picture

Status: Active » Closed (duplicate)

README.txt will be removed in next release as per https://www.drupal.org/node/2572439