Re: ozpost shipping module
Quote:
Originally Posted by
hayden
ok i worked out why its adding the disabled options, well enough to know it only happens when in debug mode....
Yes, it is designed to do that. The debug code intentionally displays ALL results returned by the server. This is to help isolate possible reasons why certain selected methods don't show... for example, if trying to use Sea mail to send a parcel to New Zealand. - instead of making that particular quote unavailable (normal operation) it will show any errors returned by the server, in this case a 'Destination not available by Sea), or similar.
This is even mentioned when you enabled the debug
-------------------------------------------
Enable Debug?
See how parcels are created from individual items.
Shows all methods returned by the server, including possible errors.
-------------------------------------------
Cheers
Rod
Re: ozpost shipping module
whichever , it wasnt working (for whatever reason) and now i got it working thats enough for me, if you dont think it needs any changes, fine. but trust me i tried reinstalling plenty of times, so logically there must have been some problem or it would have worked... maybe related to some other mod ...
Re: ozpost shipping module
Quote:
Originally Posted by
hayden
also, you need to look at why the nice big ozpost.jpg image/icon only shows for the error states and not the valid server quotes ...
Yeah, there are still a couple of annoying issues with the code relating to the icons. I wasn't aware of this one, but I'll take a look into it (just in case it hasn't already been fixed along with other more recent changes).
Cheers
Rod
Re: ozpost shipping module
Quote:
Originally Posted by
hayden
whichever , it wasnt working (for whatever reason) and now i got it working thats enough for me, if you dont think it needs any changes, fine. but trust me i tried reinstalling plenty of times,
I don't dispute that at all.
Quote:
Originally Posted by
hayden
so logically there must have been some problem or it would have worked...
I agree, and I also acknowledge that you did find a problem else you wouldn't have gone to the trouble you have to fix it.
Quote:
Originally Posted by
hayden
maybe related to some other mod ...
Maybe, maybe not, and maybe we'll never know for sure on account of the fact that you have elected to go off on your own to fix the problem. I've no issues with that either, it is your choice, but it is still better for you to work *with* me rather than for (or against) me, because that is the only way you can be assured you won't have to repeat your patches and fixes in future releases.
Hopefully this makes some kind of sense to you?
Cheers
Rod
Re: ozpost shipping module
Hi guys,
I am having bit of a trouble with OZpost. When I click on "Estimate Shipping" I end up with empty screen. But I tried this module on another hosting account and it works fine. Is there anything in particular the hosting needs to have on/ off? I have tried curl on/off no difference. The website is www.euromodels.com.au and debug is on, if anyone can have a look and let me know what to do will be really appreciated.
thank you
Josef
Re: ozpost shipping module
And itheresting not response time is -xxx. does this mean that if I click that number of time the time start to go back??? I am being silly! :-)
Re: ozpost shipping module
Hello,
Rod would have a much better idea than me, but you could try installing a Debug Error Logging Utility in case something is bombing out
Debug Error Logging Utility
It saved me a lot of time tracking down some other problems (not related to this), and it may not help at all in this case.. but as it's nearly 4 am here and I'm feeling a bit tired to start looking through code ;-)
I just happen to be an RC model fan too (I wasn't sure what type of models I was going to find when I saw the link ;-))
David
Re: ozpost shipping module
Hi,
Thank you for your reply. the debug file is helpful, thanks.
this is the error it spit out:
[12-Jul-2009 11:02:05] PHP Fatal error: Cannot instantiate non-existent class: simplexmlelement in /home/eurom/public_html/shop/includes/modules/shipping/ozpost.php on line 345
I guess that is appache/ php problem isn't it?
thank you
JOsef
Re: ozpost shipping module
Hi,
Cool, I'm glad it found something useful!
I just had a bit of a search around and apparently the SimpleXML parser requires PHP5, do you know what version of PHP is running where you are having troubles?
You can make a new php page, say serverinfo.php
<?php phpinfo(); ?>
and it should show you all the server info when you call the page in a browser. Delete the file off the server when you're finished though :) I think there's a similar file that comes with the installation. The browser should be able to show the output without needing to including <html><body> tags etc..
If they're running PHP4, maybe you can ask them to upgrade or move you to a server with PHP5 on..
David
Re: ozpost shipping module
Alright!!! That's it! PHP Version 4.4.8
Thank you for your help.
Josef