Hi all,
I configured and installed the UPS XML mod for a client into ZenCart 1.3.8a.
They do have a UPS account and so I got the credentials configured into the Admin area of UPS XML.
Now, even though I have disabled UPS and enabled UPS XML, the shipping estimator doesn't load up on the shopping cart page. My estimator is configured as a list display rather than a popup.
I did enable the logging facility in upsxml.php and the error I get is
Code:
[15-Sep-2008 02:26:05] PHP Fatal error: Cannot use string offset as an array in <webserver path>/includes/modules/shipping/upsxml.php on line 262
The line 262 is in bold in the following code from upsxml.php
Code:
if (isset($this->servicesTimeintransit[$type])) {
$eta_array = explode("-", $this->servicesTimeintransit[$type]["date"]);
$months = array (" ", "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
$eta_arrival_date = $months[(int)$eta_array[1]]." ".$eta_array[2].", ".$eta_array[0];
$_type .= ", ETA: ".$eta_arrival_date;
}
Can someone please guide me how to solve this problem because my client would like to enable shipping worldwide and hence can't use the ZC UPS.
thanks
callingrohit
Bookmarks