Troubleshooting
Where the extension writes its logs and how to solve the problems that appear most often.
Log files
The extension writes its logs in the folder devman_chronodiali_shipping, inside the log folder of OpenCart:
| OpenCart version | Folder |
|---|---|
| 2.2, 2.3 and 3.x | system/storage/logs/devman_chronodiali_shipping/ |
| 1.5.6.4, 2.0 and 2.1 | system/logs/devman_chronodiali_shipping/ |
If your store moved the storage folder outside the web root, the folder is inside that storage folder instead. Open the files by FTP or with the file manager of your hosting.
| File | What it contains |
|---|---|
chronodiali_api.log | Every request to Chronodiali that failed, with the error code and the answer of Chronodiali. With Debug Mode on, also every request and answer that succeeded. |
chronodiali_service.log | Problems while preparing shipments: order not found, missing consignment, missing settings. |
chronodiali_webhook.log | Status updates from Chronodiali that left the order status unchanged because no order status matches the event. |
Errors are always written. Turn on Debug Mode in the settings only while you investigate a problem, because it writes the full details of every request.
When you open a support ticket, attach the lines of these files around the time of the problem. Remove your API key if it appears in what you send.
The shipping method does not appear at checkout
- Check that Status is on and that you pressed Apply Changes.
- Check the Geo Zone. The customer's shipping address must be inside it. Choose All Zones to test.
- On OpenCart 3.x, check that the extension is installed in Extensions > Extensions > Shipping (green install button already pressed).
The Chronodiali panel does not appear in the order
- The panel only appears for orders whose shipping method is Chronodiali Shipping, and only while Status is on.
- On OpenCart 2.x and 3.x, go to Extensions > Modifications and press the refresh button. If you use a theme or another extension that changes the order page, the panel may not find its place; contact us with your setup.
- On OpenCart 1.5.6.4, check that vQmod works and that
vqmod/xml/chronodiali_shipping_oc1564.xmlis in your store. - On OpenCart 2.x, check that you installed the package of your version:
2.0.0.0-to-2.2.0.0for 2.0 to 2.2,2.3.Xfor 2.3.
Messages when you press Create Shipment
| Message | What to do |
|---|---|
| This order does not use Chronodiali shipping method. | The customer chose another shipping method. Only orders with Chronodiali Shipping can get a consignment. |
| Chronodiali Shipping module is not installed or enabled. | Turn on Status in the settings and press Apply Changes. |
| Consignment already exists: followed by a number | The order already has a consignment. Reload the order page to see it. |
| Failed to create consignment. Please check logs for details. | Chronodiali refused the consignment or could not be reached. Read chronodiali_api.log. |
The most common reasons for a refused consignment are:
- API Key, Customer Code, Hub Code or Service Type ID missing or wrong. The log shows
HTTP Errorfollowed by the code and the answer of Chronodiali. Check the four values with Chronodiali. Without an API key, the log showsAPI key is not configuredand nothing is sent. - A Service Type ID that does not exist in your account. Without a value,
PREMIUMis sent and a warning is written inchronodiali_service.log. - An incomplete shipping address or telephone in the order.
- A
cURL Errorin the log: your server cannot reach the API URL. Check the address and ask your hosting provider to allow outgoing HTTPS connections to it.
Automatic shipments are not created
- Check that Auto Create Consignment is on and that Order Status Trigger is the exact status you give the orders.
- The order must use Chronodiali Shipping and must not have a consignment already.
- The consignment is created only when the status changes to the trigger status. Orders that already had that status before you turned on the setting are not processed; use Create Shipment for them.
- If nothing appears in the panel, read
chronodiali_api.logandchronodiali_service.log.
No pickup ID after creating a shipment
The pickup is requested only when Customer Code and Sender Postcode are filled in. Fill them in, then turn on Debug Mode and create the next shipment: the reason of a failed pickup request is written in chronodiali_service.log.
The label does not download
The message Failed to download label. Please check logs for details. means Chronodiali did not return the PDF. Read chronodiali_api.log for the answer of Chronodiali, and try again later if Chronodiali could not be reached.
The shipment cannot be cancelled
The message Failed to cancel consignment. Please check logs for details or if it is already cancelled. means Chronodiali refused the cancellation or could not be reached. Read chronodiali_api.log for the answer of Chronodiali, check the shipment with Verify Status and contact Chronodiali if the shipment is already on its way.
Webhook updates do not arrive or do not change orders
- Check the address you gave Chronodiali. See Tracking updates.
- If you entered a Webhook API Key (x-api-key), it must be exactly the key Chronodiali sends. With a different key, your store answers with status code
401and ignores the update. - If updates arrive but the order status does not change as expected, check the names of your order statuses in System > Localisation > Order Statuses. The updates that found no matching status are listed in
chronodiali_webhook.log. - Webhooks are available on OpenCart 2.x and 3.x, not on OpenCart 1.5.6.4.
The licence screen shows CURL ERROR NUMBER
Your server cannot connect to devmanextensions.com to load the settings form. Ask your hosting provider to allow outgoing cURL connections over HTTPS. See Licence activation.
Shipment records disappeared after reinstalling
Uninstalling the extension deletes its database table, and with it the link between your orders and their consignments. The consignments are still in your Chronodiali account. To update the extension, install the new version over the old one without uninstalling. See Installation.
Still need help?
Open a support ticket from your account and our team will look at your store with you.