Results 1 to 10 of 2252

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Posts
    37
    Plugin Contributions
    0

    red flag Re: ozpost shipping module

    Hi Rod,

    I have upgraded to the most recent of Ozpost and I am sort of working but still have a few questions please.

    When I go to Modules/shipping I get the following error showing at the top of the box showing choices

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /var/www/sites/horsemansshop/horsemansshop.com.au/subdomains/www/html/shop/includes/modules/shipping/ozpost.php on line 713

    Also despite updating the module the top of the Admin Home screen shows "Ozpost module upgrade available V2.0.6"

    on the web page for customers selecting postage no icons are showing

    Can you give me any ideas please?

    Johanne
    The Horsemans Shio

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: ozpost shipping module

    Quote Originally Posted by jld View Post
    Hi Rod,

    I have upgraded to the most recent of Ozpost and I am sort of working but still have a few questions please.

    When I go to Modules/shipping I get the following error showing at the top of the box showing choices

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /var/www/sites/horsemansshop/horsemansshop.com.au/subdomains/www/html/shop/includes/modules/shipping/ozpost.php on line 713
    I can't really determine from this error message WHICH of these settings is causing your problem, the "safe_mode" setting or "an open_basedir is set"

    I think the easiest fix would be to edit the ozpost.php code, line 713 by commenting out (or deleting) that particular line of code. This line of code MAY be needed in the future, but is currently superflious.

    Quote Originally Posted by jld View Post
    Also despite updating the module the top of the Admin Home screen shows "Ozpost module upgrade available V2.0.6"
    V2.0.6 has been placed into the downloads area, but it hasn't been made live yet. I have posted links to a temporary download site in other forum posts. I think it was http://vcsweb.com/rod/ozpost.php_v2.0.1.zip

    Upgrading from 2.0.5 to 2.0.6 is just a matter of replacing the main ozpost.php file (not need to re-install all the files).

    Quote Originally Posted by jld View Post
    on the web page for customers selecting postage no icons are showing
    Did the icon files get uploaded correctly to the right place? Have you tried any of the other icons types (this module contains 3 complete sets of icons, selectable by filetype. (jpg, gif or png) with the additional option of no icons at all (text only).

    Hopefully this will help solve your problem(s).

    Cheers
    Rod

  3. #3
    Join Date
    Jun 2007
    Posts
    104
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Ok, I have read 2/3s of this thread! I can't find out where to locate teh franchise code for Melbourne for Fastway. I have tried several tests adn can't seem to get it, how many versions of Melbourne are there, or is Melbourne split in to different areas? Does anyone have a list?

    Thanks

  4. #4
    Join Date
    Jun 2007
    Posts
    104
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Is the 3kg xl satchel express post different to a plain 3kg satchel, as it is coming up with the 3kg xl at $20.99, when it could fit into a normal. In fact there is no 3kg parcel post satchel either. (image for 3kg XL is also gone???lol) The debug info is

    Item 1
    Dora & Friends Birthday Invites & Thankyou Cards
    AttributeItemParcel Qty 1Weight gms Qty 1Weight 106gms Dimensions 16.50 x 10.00 x 2.00 16.50 x 10.00 x 2 Cube 330cc 330cc CubicWeight 0.0825Kgs 0.0825Kgs Debugging information
    Item 2
    Abby Cadabby Birthday Invitations & Thankyou Cards
    AttributeItemParcel Qty 1Weight gms Qty 2Weight 182gms Dimensions 17.00 x 10.00 x 1.00 17.00 x 10.00 x 3 Cube 170cc 510cc CubicWeight 0.0425Kgs 0.1275Kgs Debugging information
    Item 3
    Care Bears 3D Cupcake Rings
    AttributeItemParcel Qty 1Weight gms Qty 3Weight 204gms Dimensions 12.00 x 9.00 x 3.50 17.00 x 10.00 x 6.5 Cube 378cc 1105cc CubicWeight 0.0945Kgs 0.27625Kgs Debugging information
    Item 4
    Disney Princess Dinner Plates
    AttributeItemParcel Qty 1Weight gms Qty 4Weight 340gms Dimensions 23.00 x 23.00 x 2.50 23.00 x 23.00 x 9 Cube 1322.5cc 4761cc CubicWeight 0.330625Kgs 1.19025Kgs

  5. #5
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: ozpost shipping module

    Quote Originally Posted by jazzah View Post
    Is the 3kg xl satchel express post different to a plain 3kg satchel,
    Yes. It is larger (and not available at all postal outlets, which is why this has its own enable/disable setting).

    Quote Originally Posted by jazzah View Post
    as it is coming up with the 3kg xl at $20.99, when it could fit into a normal
    The module obviously thinks different . What parcel dimensions did you use?

    Quote Originally Posted by jazzah View Post
    . In fact there is no 3kg parcel post satchel either.
    Whatever your item, it is clearly too large for the regular 3kg Satchel but small enough for the larger XL satchel.

    Quote Originally Posted by jazzah View Post
    (image for 3kg XL is also gone???lol)
    I'll not comment much on this either.... with over 40 different shipping methods and more than 100 icons I wouldn't be at all surprised if I've missed one or two.

    Quote Originally Posted by jazzah View Post
    The debug info is
    <snip>
    Perhaps it is best if I simply give you the various cutoff dimensions, that way you'll be in a better position to know what should fit into any given satchel. These things often quite as large as they appear.

    // Constants (max limits)
    $MAXWEIGHT_5S = 500 ; // 500 gm Satchel
    $MAXLENGTH_5S = 320 ; // 500 gm Satchel
    $MAXGIRTH_5S = 430 ; // 500 gm Satchel

    $MAXWEIGHT_3S = 3000 ; //3Kg Satchel
    $MAXLENGTH_3S = 370 ; // 3Kg Satchel (40x30)
    $MAXGIRTH_3S = 600 ; // 3Kg Satchel

    $MAXWEIGHT_3SXL = 3000; // 3Kg XL Satchel
    $MAXLENGTH_3SXL = 500 ; // 3Kg XL Satchel (56x47)
    $MAXGIRTH_3SXL = 900 ; // 3Kg XL Satchel

    $MAXWEIGHT_5KS = 5000 ; //5Kg Satchel
    $MAXLENGTH_5KS = 500 ; // 5Kg Satchel (56x47)
    $MAXGIRTH_5KS = 900 ; // 5Kg Satchel


    $MAXWEIGHT_3FW = 3000; // 3Kg Fastway Satchel
    $MAXLENGTH_3FW = 400 ; // 3Kg Fastway Satchel (400x320)
    $MAXGIRTH_3FW = 640 ; // 3Kg Fastway Satchel

    $MAXWEIGHT_5FW = 5000 ; //5Kg Fastway Satchel
    $MAXLENGTH_5FW = 455 ; // 5Kg Fastway Satchel (455x415)
    $MAXGIRTH_5FW = 830 ; // 5Kg Fastway Satchel

    Please note that the module uses Length & Girth rather than Lengh/width because this takes care of the narrowing width as the height is increased.

    # Girth = ( width + height ) * 2

    Cheers
    Rod

  6. #6
    Join Date
    Dec 2007
    Posts
    37
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Quote Originally Posted by RodG View Post
    I can't really determine from this error message WHICH of these settings is causing your problem, the "safe_mode" setting or "an open_basedir is set"

    I think the easiest fix would be to edit the ozpost.php code, line 713 by commenting out (or deleting) that particular line of code. This line of code MAY be needed in the future, but is currently superflious.


    Did the icon files get uploaded correctly to the right place? Have you tried any of the other icons types (this module contains 3 complete sets of icons, selectable by filetype. (jpg, gif or png) with the additional option of no icons at all (text only).

    Hopefully this will help solve your problem(s).

    Cheers
    Rod
    Hi Rod,

    Everything is now working with the exception of the icons. I still get placeholders no matter what type of icon I select and this doesnt change even if I say no icons.

    Any ideas?

    Johanne

  7. #7
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: ozpost shipping module

    Quote Originally Posted by jld View Post
    I still get placeholders no matter what type of icon I select and this doesnt change even if I say no icons.

    Any ideas?
    Only one. Refresh your cache and/or restart your browser. Your icons are showing just fine for me.

    Cheers
    Rod

  8. #8
    Join Date
    Dec 2007
    Posts
    37
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Hi Rod,

    Thanks very much. I still have L plates on and I realy appreciate your help and thanks for the module creation.

    Regards

    johanne

  9. #9
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: ozpost shipping module - V1.0.2 problems

    IMPORTANT NOTICE. ozpost v1.0.2 has a bug that is affecting a number of users/installations (but not all).

    If you have been having problems obtaining shipping quotes from around 4th June 2010 there are two solutions.

    1. Upgrade to the latest ozpost module (currently v2.0.6)

    2. Make the following changes to the file /includes/modules/shipping/ozpost.php

    Line 338 (or thereabouts) reads // Server query string // (or similar)

    Immediately after this insert the following line:

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

    Then change the line after from:

    $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&v ersion=$VERSION") ;

    To:

    $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") ;

    (Specifically, you will be deleting "&$method=$method" from the line). Not only is '$method' not used/required here, but it is syntaxually incorrect).

    Resave the file, and all should work again.

    To the best of my knowledge no other versions are affected.

    Cheers
    Rod

  10. #10
    Join Date
    Feb 2006
    Location
    Central Coast, NSW, Australia
    Posts
    560
    Plugin Contributions
    0

    Default Re: ozpost shipping module - V1.0.2 problems

    Quote Originally Posted by RodG View Post
    IMPORTANT NOTICE. ozpost v1.0.2 has a bug that is affecting a number of users/installations (but not all).

    If you have been having problems obtaining shipping quotes from around 4th June 2010 there are two solutions.

    1. Upgrade to the latest ozpost module (currently v2.0.6)

    2. Make the following changes to the file /includes/modules/shipping/ozpost.php

    Line 338 (or thereabouts) reads // Server query string // (or similar)

    Immediately after this insert the following line:

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

    Then change the line after from:

    $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&v ersion=$VERSION") ;

    To:

    $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") ;

    (Specifically, you will be deleting "&$method=$method" from the line). Not only is '$method' not used/required here, but it is syntaxually incorrect).

    Resave the file, and all should work again.

    To the best of my knowledge no other versions are affected.

    Cheers
    Rod

    Hi Rod, went with option 2 and changed the file, but unfortunately, no change..

    Still not getting any rates.

    I'll have a look at option 1 later and report back..

    Cheers
    Mike

 

 

Similar Threads

  1. v151 Product dimensions revert to 0 - using ozpost module
    By mpforum in forum General Questions
    Replies: 8
    Last Post: 18 Apr 2014, 09:49 AM
  2. Ozpost and module help
    By janelle in forum Addon Shipping Modules
    Replies: 2
    Last Post: 15 Jun 2012, 09:19 AM
  3. Ozpost Combine shipping !! Possible ?
    By toytemple in forum Addon Shipping Modules
    Replies: 7
    Last Post: 21 Jan 2010, 02:22 PM
  4. ozpost module problems
    By hspark in forum Addon Shipping Modules
    Replies: 19
    Last Post: 7 Dec 2009, 12:44 PM
  5. store pick-ip in ozpost shipping module
    By lazerweb in forum Addon Shipping Modules
    Replies: 2
    Last Post: 29 Jul 2008, 05:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg