I need some help from someone that can catch the little things I can't see.
I have a PHP script that is used to extract some data from our economics system, and import these data into our intranet database. It has been working flawlesly for tha last year or so. Yesterday (more or less) it stopped working.
Please take a look at the three code snippets below. The first two work just fine, no problem. I get all the data I need for my 338 debtors and for my 225 creditors.
The third one has always worked, and has given me all data for some 3100 parts. But not now...
As far as I can see, I get the ProductHandles. But the code never gets passed the ProductDataObjects-line. It hangs, as if if there is no response at all.
$debtorHandles = $client->Debtor_GetAll()->Debtor_GetAllResult->DebtorHandle;
$debtorDataObjects = $client->Debtor_GetDataArray(array('entityHandles' => $debtorHandles))->Debtor_GetDataArrayResult->DebtorData;
$creditorHandles = $client->Creditor_GetAll()->Creditor_GetAllResult->CreditorHandle;
$creditorDataObjects = $client->Creditor_GetDataArray(array('entityHandles' => $creditorHandles))->Creditor_GetDataArrayResult->CreditorData;
$productHandles = $client->Product_GetAll()->Product_GetAllResult->ProductHandle;
$productDataObjects = $client->Product_GetDataArray(array('entityHandles' => $productHandles))->Product_GetDataArrayResult->ProductData;
Any one, who can tell me why this has stopped working ?
Your help will be much appreciated.
Thank you in advance.