Zen Cart Logo
Forums / Addon Shipping Modules / ozpost shipping module

ozpost shipping module

Views: 403,024

Results 961 to 980 of 2,251
16 Jul 2010, 18:00
#961
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

ozpost shipping module

I am now ignoring your sarcasm. Wasting time here.

"First, I am currently assuming your problem is still with the installation and not the operation of it, correct? "

Yes

"If so, you also stated that you made the same change as previously discussed to bypass this connectivity test during installation and it made no difference for you, Also correct? "

yes - but I'm not positive that i commented out the correct lines as that was originally referring to an earlier edition (again an assumption on my part). Those numbers refer to the function _get_error_cost in my file.

Hey, and yes, I make mistakes - but so does everyone else by the way - including you. I'm not saying a didn't make a mistake but I don't see where.

17 Jul 2010, 08:25
#962
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

delia:

"First, I am currently assuming your problem is still with the installation and not the operation of it, correct? "

Yes

Noted.

delia:

"you also stated that you made the same change as previously discussed to bypass this connectivity test during installation and it made no difference for you, Also correct? "

yes - but I'm not positive that i commented out the correct lines

BE POSITIVE.

THEN if you still have problems then get back to me and we can move on to the next step.

Shheeesh, this really has been a waste of time - You've had the answer to your installation issue all along, but because you badly implemented it, and even took offence when I suggested it as a possibility) we've simply gone around and around in circles.

There really was no need for this, because rather than admit (even to yourself) that you did a bad fix, you proudly stated in your original posting
"Tried that and it made no difference What can be causing this?"

Which I, and I'm sure most of us would have taken to be "succesuffly applied the fix and it made no diference", rather than the more factual "I don't tjhink I applied the fix correctly, but that wouldn't make a difference would it?"

delia:

Those numbers refer to the function _get_error_cost in my file.

How nice of you to mention this NOW.
Seriously, didn't you consider it important or even strange.
Oh, I just found that origianl post, which reads

" Somewhere around line 552 is a line that reads // version check / network check. Comment out the next 5 or six lines (down to and including the first/next closing brace "}"."

You call yourself a developer, yet you can't even do this correctly?

delia:

as a zen cart module developer,

I shudder to think. Honestly, the ozpost module contains several methods, one of them being _get_error_cost. another called _check, and yet another called _install.

You were trying to fix an install problem, why on earth would you think that doing stuff to the _get_error_cost function would be the right/logical thing to do?

Did you even find the text "// version / network check"

If you want to fix your install problem, then apply the fix to the _install function of the code.... The line numbers may not match which is why I said 'around line so and so' .

delia:

Hey, and yes, I make mistakes - but so does everyone else by the way

Yes, but few of us will make a mistake, ignore/deny the possibilty of doing so and expect there to be a different fix for the same problem.
If this statement wasn't true we wouldn't be having this 'conversation', and your installation would be able to procede without cURL functionality.

delia:

I'm not saying a didn't make a mistake but I don't see where.

Surely it is blindingly obvious now????????

Alas, I don't think it is.... the mistake you made was messing with the _get_error_cost function rather than the _install function.

It has been like getting blood out of a stone with getting enough information out of you to make this determination though, and I'll wager that you'll still be offended by my findings and conclusions. I'm sorry, I WISH I could tell you that you've done everything right and the code is wrong because that is the only answer you really want and expect.

Do you know what the real downer about all this is though? You have wasted so much of my time, and gotten me so frustrated at your thankless responses, that even though I have told you EXACTLY what you need to do in order to allow the installation to procede, I fear that faultfinding the real problem with you is an exersize I have no wish to inflict upon myself (The real problem being the inability of your cURL to connect to the ozpost servers). As a developer you really shouldn't have any problems faultfinding this on your own, but you haven't given me much confidence in this regard, so I ask one thing of you, if you do need my help again, please approach me as a learner rather than someone that knows what they are doing. I am more tolerant towards learners (they don't take offence when told or suggested that they've done something wrong).

17 Jul 2010, 11:53
#963
tpeck avatar

tpeck

Zen Follower

Join Date:
Oct 2008
Posts:
197
Plugin Contributions:
0

Re: ozpost shipping module

I'm not really taking sides, but as a subscriber to this thread - and having read every single post - I think:

a) The forum rules should always be read and followed before a first post is made - they and the posting tips are explicit as to what a poster with a problem must provide in order to help a developer nail a problem

b) it's easy to forget (or be unaware of) the thousands of hours Rod has dedicated to this project over many years at no cost to us

c) this particular module is an enormously complex beast and it is also very easy and normal for both the developer and posters to become frustrated when things don't immediately work out

d) we should get on with the task of making this great module even better by learning from this little hiccup and moving on...

Cheers!

17 Jul 2010, 12:10
#964
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: ozpost shipping module

I'm just plain buffaloed. Where does it say that someone has the right to berate someone?

The waste of time is the long unnecessary answers and abuse.

There is one forum rule:

Send, post or distribute any communication that is intended to harass, belittle, humiliate, threaten or cause embarrassment to a fellow member.

This one I consider broken.

17 Jul 2010, 12:30
#965
tpeck avatar

tpeck

Zen Follower

Join Date:
Oct 2008
Posts:
197
Plugin Contributions:
0

Re: ozpost shipping module

Perhaps that is why it is important to provide the necessary information to the developer.

Neither do posters have the right to frustrate people - for any reason - least of all the developer, but also what about the other readers of this thread?

But I see your point too. So let's move on. There is nothing else in this for anybody.

17 Jul 2010, 13:12
#966
tpeck avatar

tpeck

Zen Follower

Join Date:
Oct 2008
Posts:
197
Plugin Contributions:
0

Re: ozpost shipping module

Moving right along, I have this odd problem. First of all, I installed zencart v1.3.9d and then uploaded ozpost v2.0.6 and noticed that some entry fields' text was missing.

So I read the latest posts and discovered there was an update and installed ozpost v2.0.8.

But still some text is missing? I can't remember reading this anywhere else, but if a poster has ever struck this and solved it, I'd be very grateful for the help. It's probably something stupid I have done...but twice? (wouldn't be the first time! :lookaroun)

17 Jul 2010, 13:21
#967
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

Re: ozpost shipping module

tpeck:

Moving right along, I have this odd problem. First of all, I installed zencart v1.3.9d and then uploaded ozpost v2.0.6 and noticed that some entry fields' text was missing.

So I read the latest posts and discovered there was an update and installed ozpost v2.0.8.

But still some text is missing? I can't remember reading this anywhere else, but if a poster has ever struck this and solved it, I'd be very grateful for the help. It's probably something stupid I have done...but twice? (wouldn't be the first time! :lookaroun)

You didn't read ALL the previous last few posts did you ?

This is all about the newly announced registration fees for this mod.. (Of which I WILL be obliging too..Love ya work Rod.!)

For every month that you register, one line of text will appear.... C'mon open up the wallet.. :cool::cool:

Only kidding..(obviously:P:P:P)..

Sorry I don't know the answer to your quandary, but this thread did need lightening up...

17 Jul 2010, 13:24
#968
tpeck avatar

tpeck

Zen Follower

Join Date:
Oct 2008
Posts:
197
Plugin Contributions:
0

Re: ozpost shipping module

Aaaarghhh! Solved this myself.

Didn't read the last UPGRADE.txt file:

After upgrading you should *ALWAYS* log in as admin,
then 'REMOVE' and 'INSTALL' the ozpost module. Please take
note of your settings before doing this because they will be
returned back to their defaults as a result of this NECESSARY action.

:oops:

17 Jul 2010, 13:26
#969
tpeck avatar

tpeck

Zen Follower

Join Date:
Oct 2008
Posts:
197
Plugin Contributions:
0

Re: ozpost shipping module

Thanks Mike - we all need a good laugh! Loved it!

17 Jul 2010, 13:39
#970
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

delia:

I'm just plain buffaloed. Where does it say that someone has the right to berate someone?

The waste of time is the long unnecessary answers and abuse.

LOVE it... unnecessary answers are a waste of time. (one day you may understand why I find this so funny)

delia:

There is one forum rule:

Send, post or distribute any communication that is intended to harass, belittle, humiliate, threaten or cause embarrassment to a fellow member.

.

Have I threatened you? (I don't mean emotionally, that was unintentional)

As for the belittlement, humiliation and embarassment, you have done that all by yourself. If anything, I merely exposed you.

With no other help you now know:

  1. What you need to do to fix your installation problem
  2. Why your first attempt to fix it didn't work.

You didn't figure this out by yourself, no one else around here gave you the answer, so the logical conclusion is that I must have somehow imparted this information to you... All the while you have been b!tching and moaning about my 'sarcarsm' and how much I have 'offended' you, and now I'm belittling and embarrasing you..
It has been a tough fight all the way. I have resisted your outbursts until we finally got the answer. I did this openly and willingingly, asking absolutely nothing it return, and at no point did I ever recieve a whisper of a 'thanks', simply more character assassination.

It is people like yourself that has me continually asking myself why the heck do I bother?

<big sigh> I've already dropped all the other zencart threads due to this... I think it is probably time to drop this one too? <thinks aloud> If I'm lucky the dumbass time wasters will never find the new support forum </thinks aloud>.

delia, you can leave now... For the rest of you..
The latest ozpost update (v2.0.8) is now available for download..
A new courier has been added.. transdirect.com.au (check thier website if you've never heard of them)

Aaaaahhh.... I feel MUCH better now. Thanks del'

Rod

17 Jul 2010, 14:10
#971
tpeck avatar

tpeck

Zen Follower

Join Date:
Oct 2008
Posts:
197
Plugin Contributions:
0

Re: ozpost shipping module

Hi Rod, I don't think it would be in anyone's interest to drop this thread - yours included especially now that you have found a way to be fairly recompensed for your efforts. :D

Let's be blunt - for too long you have been helping us all make money with nothing coming your way except headaches.

So everyone, check out Rod's multi-quote ozpost and pony up!:clap:

Great idea.

And please let's all just try to get along...eh? My eyes hurt.

20 Jul 2010, 00:21
#972
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: ozpost shipping module

RodG:

The ozpost shipping module v2.0.7 has been released.

No new features, but several bug-fixes.

This release also brings this module back in line with the the work that has been performed on the osCommerce port of this module.

Among the changes comes the fact that the ozpost.vcsweb.com server has now gone commercial. This will affect ALL users of the ozpost shipping module REGARDLESS OF VERSION.

All current and new users of this module have SIXTY DAYS free access (from today, or the first time they connect to the server, whichever comes first).

After the expirty date (unless renewed) the module will only be able to provide static quotes (fixed price, cost per item or cost per kg).

v2.0.7 incorporates a feedback system that will show the store owner the number of days remaining.

It'll take a few days for the new update to be made available in the downloads section, so as an alternative the latest update can be found here

hello rod, a while since we spoke last and i do in fact have an update on our discussions back then, but that's for later. i will be scouring this thread for more info on the weekend, but for now simply have a client who requires an urgent response, and had therefore hoped for a simple yes or no answer so i can respond to them and let them know if it's likely to be them or me!

this client is using ozpost v1.0.2, and everything simply "stopped working". that is, no quotes are being generated at present, almost as if the module is switched off.

in your humble opinion, is this expected?

many thanks in advance, as stated i'll be searching this thread for more info in a few days.

andrejs

20 Jul 2010, 00:43
#973
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

ALiepinieks:

this client is using ozpost v1.0.2, and everything simply "stopped working". that is, no quotes are being generated at present, almost as if the module is switched off.

This is a bug,

ozpost v1.0.2 - line 338 (or thereabouts)

Add: $HOST= str_replace(" ", "+", $HOST) ;

Change:

$qu = $this->_getAPdata($SERVER, "/postage.php?fromcode=" . MODULE_SHIPPING_OZPOST_SPCODE ."&destcode=$dcode&weight=$parcelweight&height=$parcelheight&width=$parcelwidth&length=$parcellength&value=$ordervalue&flags=$flags&$method=$method&host=$HOST&version=$VERSION") ;

$qu = $this->_getAPdata($SERVER, "/postage.php?fromcode=" . MODULE_SHIPPING_OZPOST_SPCODE ."&destcode=$dcode&weight=$parcelweight&height=$parcelheight&width=$parcelwidth&length=$parcellength&value=$ordervalue&flags=$flags&host=$HOST&version=$VERSION") ;

Upgrading/downgrading will also solve the problem, it is only v1.0.2 with the issue.

Cheers
Rod

20 Jul 2010, 03:45
#974
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: ozpost shipping module

what a legend! thanks for the quick response, was planning on upgrading anyway, irrespective of any costs just needed to know if a quick fix was available for this weekend.

thanks again, speak soon!

andrejs

20 Jul 2010, 04:51
#975
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: ozpost shipping module

quick update: made the change you suggested as it seemed small and harmless enough, but no luck. still no quotes generated (visibly that is). haven't done any debugging yet.

i was hoping to put this off for about 3 weeks, but if the upgrade path is relatively painless i might just forget about debugging old code and jump into the new. obviously yo uwould recommend upgrading in most situations, but i really am pressed for time hence the question.

what do you think (oh, and thanks for any input in advance)?

andrejs

20 Jul 2010, 05:01
#976
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ozpost shipping module

ALiepinieks:

quick update: made the change you suggested as it seemed small and harmless enough, but no luck. still no quotes generated (visibly that is). haven't done any debugging yet.

Enable the debugger to see if that offers any clues.

ALiepinieks:

i was hoping to put this off for about 3 weeks, but if the upgrade path is relatively painless i might just forget about debugging old code and jump into the new. obviously yo uwould recommend upgrading in most situations, but i really am pressed for time hence the question.

what do you think (oh, and thanks for any input in advance)?

andrejs

Upgrading is a pretty trivial task.. All you need do is replace the two files named 'ozpost.php' , upload the new icons... then go to the admin of the store, navigate to the shipping module, press 'remove' then 'install'.

You WILL need to review/change the default settings for handling costs, etc, so take note of the current settings first.

Cheers
rod

20 Jul 2010, 05:25
#977
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: ozpost shipping module

RodG:

$qu = $this->_getAPdata($SERVER, "/postage.php?fromcode=" . MODULE_SHIPPING_OZPOST_SPCODE ."&destcode=$dcode&weight=$parcelweight&height=$parcelheight&width=$parcelwidth&length=$parcellength&value=$ordervalue&flags=$flags&host=$HOST&version=$VERSION") ;

think i figured out what it was, was debugging while you were replying. server was responding ok, but i think you made a wee little typo (forgive if i'm wrong here).

the above code possibly should have read...

$qu = $this->_getAPdata($SERVER, "/postage.php?fromcode=" . MODULE_SHIPPING_OZPOST_SPCODE ."&destcode=$dcode&weight=$parcelweight&height=$parcelheight&width=$parcelwidth&length=$parcellength&value=$ordervalue&flags=$flags&[B]$[/B]host=$HOST&version=$VERSION") ;

seems to be working now. thanks for your help : )

PS: yes, seems pretty straight forward. might try it this weekend. thanks again!

andrejs

20 Jul 2010, 05:29
#978
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: ozpost shipping module

one last question, is this version prone to random simplexml errors? seems to throw an exception once in a while, stating there's a missing '<', however one or two page refreshes seems to resolve the error... strange strange strange.

me thinks an upgrade is definitely in the wings.

andrejs

20 Jul 2010, 05:42
#979
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: ozpost shipping module

just updating my last post, last two errors (simply refreshed the page) were as follows:

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home2/qualiue9/public_html/includes/modules/shipping/ozpost.php:352 Stack trace: #0 /home2/qualiue9/public_html/includes/modules/shipping/ozpost.php(352): SimpleXMLElement->__construct('') #1 /home2/qualiue9/public_html/includes/classes/shipping.php(131): ozpost->quote('') #2 /home2/qualiue9/public_html/includes/modules/pages/checkout_shipping/header_php.php(174): shipping->quote() #3 /home2/qualiue9/public_html/index.php(44): require('/home2/qualiue9...') #4 {main} thrown in /home2/qualiue9/public_html/includes/modules/shipping/ozpost.php on line 352

the one before that wsimilar, simply had 3 additional errors printed before this one. as stated, all i'm doing is refreshing the page. after the 8th refresh checkout_shipping page was displayed as per normal. same errors appear in the shipping estimator (obviously).

don't want to flog a dead horse, as i know this is all old version etc. just let me know if it's not worth the trouble persisting with this fix.

cheers
andrejs

20 Jul 2010, 05:46
#980
aliepinieks avatar

aliepinieks

Zen Follower

Join Date:
Jun 2009
Location:
Brisbane, QLD AUS
Posts:
209
Plugin Contributions:
0

Re: ozpost shipping module

last post until i hear back - i promise!

these are the three errors printed before the one above (couldn't seem to get them showing at first)

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 1: parser error : Start tag expected, '<' not found in /home2/qualiue9/public_html/includes/modules/shipping/ozpost.php on line 352

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: 3b in /home2/qualiue9/public_html/includes/modules/shipping/ozpost.php on line 352

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home2/qualiue9/public_html/includes/modules/shipping/ozpost.php on line 352*

interestingly enought, the characters 3b in the middle of the second error simply change on each refresh, everything else stays the same until eventually the whole page works.

andrejs