Re: ozpost shipping module
Quote:
Originally Posted by
robbie269
I got errors overnight for line 117 and 107 but not line 92. So I have partially fixed it.
I have now added the code above lines 92, 107 & 117. The lines with $order->delivery. Hopefully that gets rid of all the errors.
I haven't tried, but I'm wondering if adding
$order = new stdClass();
To line#46 or thereabouts would take the place of all of the other additions (as well as any others not yet identified)
Cheers
Rod
Re: ozpost shipping module
Quote:
Originally Posted by
RodG
I haven't tried, but I'm wondering if adding
$order = new stdClass();
To line#46 or thereabouts would take the place of all of the other additions (as well as any others not yet identified)
Cheers
Rod
OK I have put it at line 46 only. Got no errors when I used the shipping estimator to test but I will see how it goes overnight.
Robyn
Re: ozpost shipping module
No errors so far with code here:
Code:
require_once('includes/classes/http_client.php'); // shipping in basket
//PHP5.4 fix
$order = new stdClass();
/*
// moved below and altered to include Tare
// totals info
$totalsDisplay = '';
Rod, I'll let you know if anything changes.
Robyn
Re: ozpost shipping module
Quote:
Originally Posted by
robbie269
Rod, I'll let you know if anything changes.
I just got an order and this new error appeared in the cache:
[14-Oct-2013 11:09:21 Australia/Sydney] PHP Warning: Illegal string offset 'cost' in /home/admin/public_html/store/includes/classes/order.php on line 355
Robyn
Re: ozpost shipping module
Quote:
Originally Posted by
robbie269
I just got an order and this new error appeared in the cache:
[14-Oct-2013 11:09:21 Australia/Sydney] PHP Warning: Illegal string offset 'cost' in /home/admin/public_html/store/includes/classes/order.php on line 355
Robyn
See fix here: http://www.zen-cart.com/showthread.p...ng-offset-cost
There are lots of these related to php 5.4
They don't cause problems and can be ignored for now.
Re: ozpost shipping module
Quote:
Originally Posted by
gilby
Thanks Gilby.
Re: ozpost shipping module
I just installed the latest version of this module on a 1.5.1 zen-cart store. Eveyrthing seemed to go smoothly, but we don't have any clicknsend options in the admin. Have I done something wrong?
Re: ozpost shipping module
Quote:
Originally Posted by
Danielle
I just installed the latest version of this module on a 1.5.1 zen-cart store. Eveyrthing seemed to go smoothly, but we don't have any clicknsend options in the admin. Have I done something wrong?
Hard to say. Are you referring to the ozpost configuration area where you set which methods to enable/disable, or are you referring to the items in the customers menu where you download the click n send .csv file(s)?
If the former, I suggest you try clicking the button to remove the module, then click again to reinstall (no need to mess with any files). The act of (re)installing will attempt to fix any errors, and it will report any that it can't fix. This solves most problems. Almost all you your current settings (if any) will survive this process.
If it is the dropdown items that you are missing, they down't appear until/unless there is a .cvs file for you to download.
Cheers
Rod
Re: ozpost shipping module
Hmmm yes it is the dropdown items, but it should have carried forward when we did the upgrade shouldn't it have? I can see all those links in the 1.3.9h store. I just uninstalled and reinstalled the mod in the 1.5.1 version.
Quote:
Originally Posted by
RodG
Hard to say. Are you referring to the ozpost configuration area where you set which methods to enable/disable, or are you referring to the items in the customers menu where you download the click n send .csv file(s)?
If the former, I suggest you try clicking the button to remove the module, then click again to reinstall (no need to mess with any files). The act of (re)installing will attempt to fix any errors, and it will report any that it can't fix. This solves most problems. Almost all you your current settings (if any) will survive this process.
If it is the dropdown items that you are missing, they down't appear until/unless there is a .cvs file for you to download.
Cheers
Rod
1 Attachment(s)
Re: ozpost shipping module
Attachment 13284
Here's a screenshot of what we have on the old site. How can we get this data back on the upgraded site?