Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Error in PHP 32 bit version

Marko Jul 13, 2012 08:21AM CEST

When I send reservation id's with PHP sometimes I receive an error, for example when calling "cancelReservation". Other functions are operating correctly

Up -6 rated Down
Marko Jul 13, 2012 08:27AM CEST MMK Agent
Problem is with 32 bit limitation of your PHP server and large integer numbers will overflow because of it.

The obvious solution is to move to 64 bit server, but if that is impossible for you, the most common solution when there is a problem with native PHP SOAP component is to build your SOAP envelope manually and send it over to the web service via simple POST operation.

That is one approach that you can use to solve your problem with methods that require long id's. Please consult:

http://stackoverflow.com/questions/3006977/how-can-i-send-soap-xml-via-curl-and-php
http://eureka.ykyuen.info/2011/05/05/php-send-a-soap-request-by-curl/

Kind Regards,
Marko

This question has received the maximum number of answers.

Contact Us

support@mmksystems.com
http://assets3.desk.com/
mmksystems
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
Invalid characters found
/customer/en/portal/articles/autocomplete