Bigcommerce Class 'Bigcommerce\Api\Error' not found -


i keep getting error when try execute simple script on server while runs fine on local machine.

error

fatal error: class 'bigcommerce\api\error' not found in /customers/0/4/1/mydomainname/httpd.www/demo/hello/bigcommerce.php on line 370

link api

sample code

require_once 'bigcommerce.php'; use bigcommerce\api\client bigcommerce;  bigcommerce::configure(array(     'store_url' => 'https://www.mystore.com/',     'username' => 'myusername',     'api_key' => 'mypass' ));  bigcommerce::setcipher('rc4-sha'); bigcommerce::verifypeer(false);  ?> 

php version

  • server: 5.3.23
  • local: 5.3.13

i fixed moving declaration of class error above line 370 class clienterror declared.


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -