Jump to content

Webservice


Recommended Posts

Bonjour,

 

Je commence a utiliser le web service de Prestashop et je rencontre un problème bizarre

 

Pour que je puisse afficher la liste XML des clients par exemple:

 

http://monsite.fr/api/customers

 

Il faut que l'option "display_errors" du fichier config.inc.php soit à ON

Alors que pour accéder à un client particulier, le 20 par exemple, cela fonctionne sans que cette variable soit à ON

 

http://monsite.fr/api/customers/20

 

Sinon, j'ai un message d'erreur du type :

 

[color=#000000][font=monospace][size=3]
<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">[/size][/font][/color]
[color=#000000][font=monospace][size=3][indent=1]


<errors>
[indent=1]


<error>
[indent=1]


<message>
[indent=1]


<![CDATA[
[indent=1]Internal error. To see this error please display the PHP errors.[/indent]
]]>[/indent]
</message>[/indent]
</error>[/indent]
</errors>[/size][/font][/color][/indent][color=#000000][font=monospace][size=3]
</prestashop>[/size][/font][/color]

 

Je vous remercie de votre aide

Cordialement

Fabrice

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...