Jump to content

Recommended Posts

Hello

First i am happy to use Prestashop it's really good and nice

I am new in Prestashop API ,

I download the last version 1.5.3, But i have these problems

1. there is no web services php library compatible with this version always have this message

Error : This library is not compatible with this version of PrestaShop. Please upgrade/downgrade this library

 

i tried to edit this line in old library

const psCompatibleVersionsMin = '1.5.0.0';

const psCompatibleVersionsMax = '1.5.1.0';

to be

const psCompatibleVersionsMin = '1.5.0.0';

const psCompatibleVersionsMax = '1.5.3.1';

 

I could add customer

i could delete the customer

but

i could not update the custoemr and i have this error

 

Error : HTTP XML response is not parsable : array ( 0 => LibXMLError::__set_state(array( 'level' => 3, 'code' => 5, 'column' => 1, 'message' => 'Extra content at the end of the document ', 'file' => '', 'line' => 2, )), )

Notice: Undefined variable: resources in \2-Update.php on line 32

 

Warning: Invalid argument supplied for foreach() in \2-Update.php on line 32

 

Notice: Undefined variable: xml in \2-Update.php on line 40

 

Fatal error: Call to a member function asXML() on a non-object in \2-Update.php on line 40

 

 

Colud you please publish a new library if there something change

and if you can help me to fix the errors

Thanks in Advanced

Edited by zexperto (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...