Many errors
-
Hi,
thank you very much for this plugin. I’ve waiting for this for long time.
However I’m having many troubles to generate shipping labels with it.
The first error was that the PDF/File couldn’t be saved/generated (I don’t know the exact error code any more).
Than I saw that the order was transferred to DHL. However the street wasn’t correct. Two zeros (00) were added to the street.
And the last error code is: Could not create label – Bitte geben Sie ein gültiges Sendungsdatum an.
(There is no valid shipping date?)I’ve been trying to solve the problems for hours but didn’t have success yet. Please help me.
Many thanks
-
I get the first error message again. The exact error message is: “DHL Label file cannot be saved!”
Could you delete your current version and install the updated one to see if this is related to the street number issue? Please let us know if this issue still occurs.
Best.
Thank you for the update. The problem with the street number is solved now. Unfortunately I’m still getting the error: “DHL Label file cannot be saved!”.
Do you know how I can solve this issue?
Best regards
I would need to see what is sent to the DHL API and what response is sent back, can you open the log file under the “DHL Paket” settings and copy and paste the request and response here?
Somehow I’m now getting other errors:
“SOAP-ERROR: Encoding: object has no ‘streetNumber’ property”
12-04-2017 @ 15:47:10 – Authorize User – Client ID: XXX
12-04-2017 @ 15:47:10 – Authorize User – Client Secret: XXX
12-04-2017 @ 15:47:10 – “createShipmentOrder” called with: Array
(
[Version] => Array
(
[majorRelease] => 2
[minorRelease] => 2
)[ShipmentOrder] => Array
(
[sequenceNumber] => 19961
[Shipment] => Array
(
[ShipmentDetails] => Array
(
[product] => V01PAK
[accountNumber] => 63000017200101
[shipmentDate] => 2017-12-04
[ShipmentItem] => Array
(
[weightInKG] => 0.5
))
[Shipper] => Array
(
[Name] => Array
(
[name1] => XXX XXX
[name2] => XXX
)[Address] => Array
(
[streetName] => XXX XXX
[streetNumber] => 48
[zip] => 44797
[city] => Bochum
[state] => Deutschland
[Origin] => Array
(
[countryISOCode] => DE
))
[Communication] => Array
(
[phone] => 0123 123123
[email] => [email protected]
))
[Receiver] => Array
(
[name1] => XXX XXX
[Address] => Array
(
[streetName] => Richtstrecke
[streetNumber] => 10
[zip] => 44799
[city] => Bochum
[Origin] => Array
(
[countryISOCode] => DE
))
[Communication] => Array
(
[phone] => 0123
))
)
)
)
12-04-2017 @ 15:47:10 – Response Body: stdClass Object
(
[Version] => stdClass Object
(
[majorRelease] => 2
[minorRelease] => 0
)[Status] => stdClass Object
(
[statusCode] => 10
[statusText] => Request processing failure
[statusMessage] => Es ist ein allgemeiner Fehler aufgetreten.
))
12-04-2017 @ 15:47:35 – Authorize User – Client ID: XXX
12-04-2017 @ 15:47:35 – Authorize User – Client Secret: XXX
12-04-2017 @ 15:47:35 – “createShipmentOrder” called with: Array
(
[Version] => Array
(
[majorRelease] => 2
[minorRelease] => 2
)[ShipmentOrder] => Array
(
[sequenceNumber] => 9126
[Shipment] => Array
(
[ShipmentDetails] => Array
(
[product] => V01PAK
[accountNumber] => 63000017200101
[shipmentDate] => 2017-12-04
[ShipmentItem] => Array
(
[weightInKG] => 0.3
))
[Shipper] => Array
(
[Name] => Array
(
[name1] => Aydan Terzi
[name2] => XXX
)[Address] => Array
(
[streetName] => Gr?fin-Imma-Str.
[streetNumber] => 48
[zip] => 44797
[city] => Bochum
[state] => Deutschland
[Origin] => Array
(
[countryISOCode] => DE
))
[Communication] => Array
(
[phone] => 0123 123123
[email] => [email protected]
))
[Receiver] => Array
(
[name1] => XXX XXX
[Address] => Array
(
[streetName] => Richtstrecke 10
[zip] => 44799
[city] => Bochum
[Origin] => Array
(
[countryISOCode] => DE
))
[Communication] => Array
(
[phone] => 0123
))
)
)
)
12-04-2017 @ 15:48:44 – Authorize User – Client ID: XXX
12-04-2017 @ 15:48:44 – Authorize User – Client Secret: XXX
12-04-2017 @ 15:48:44 – “createShipmentOrder” called with: Array
(
[Version] => Array
(
[majorRelease] => 2
[minorRelease] => 2
)[ShipmentOrder] => Array
(
[sequenceNumber] => 20453
[Shipment] => Array
(
[ShipmentDetails] => Array
(
[product] => V01PAK
[accountNumber] => 63000017200101
[shipmentDate] => 2017-12-04
[ShipmentItem] => Array
(
[weightInKG] => 0.6
))
[Shipper] => Array
(
[Name] => Array
(
[name1] => Aydan Terzi
[name2] => XXX
)[Address] => Array
(
[streetName] => Gr?fin-Imma-Str.
[streetNumber] => 48
[zip] => 44797
[city] => Bochum
[state] => Deutschland
[Origin] => Array
(
[countryISOCode] => DE
))
[Communication] => Array
(
[phone] => 0123 123123
[email] => [email protected]
))
[Receiver] => Array
(
[name1] => Edgar XXX
[Address] => Array
(
[streetName] => XXX Street 1
[zip] => 49733
[city] => Haren (Ems)
[Origin] => Array
(
[countryISOCode] => DE
))
[Communication] => Array
(
[phone] => +49170 123 123
))
)
)
)
Not being able to save the file might be related to permissions of PHP trying to save the file to the server. Have you had any such issues with your host in the past?
No, actually I’ve never had such issues with my Woocommerce shop system..
Have you updated to the latest version of the plugin to confirm if this issue is still happening? If it is I may need access to your website to debug it.
Yes, it is the last plugin version (1.01). How can I give you the credentials to the shop?
Now I’m getting again the error: SOAP-ERROR: Encoding: object has no ‘streetNumber’ property…
Update: Okay, I’ve seen your comment on the other post. I’ve copied the street number to the second adress field and it’s working again. But is this a real solution since some people have a second address field like company name?
Thank you for your efforts!
- This reply was modified 6 years, 11 months ago by asevims.
We are looking into the best way to handle this and will update you shortly.
So just to follow up, are you able to generate the label or are you still having the error that the label cannot save?
Thank you very much. Yes, I’ve still the problems to save the PDFs. How can I send you the credentials to fix the issue? This would be great!
- This reply was modified 6 years, 11 months ago by asevims.
Thank you. I’ve sent you the credentials.
Shadi helped me to solve the problem. It was the configuration in the php.ini file. I’d to add the following lines to the php.ini file. Since that it works like a charm:
allow_url_fopen = On
allow_url_include = OnMy last question is: Is it possible to customize the mail sent to the customer?
Can you also solve the issue with the street number so the street number included in the first address field will be recognized automatically since we’ve many customers who give the company name as the second street number.
Many thanks!!
- The topic ‘Many errors’ is closed to new replies.