Results 1 to 10 of 2252

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Location
    Macclesfield, South Australia
    Posts
    102
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    I created an empty ozpost.php file in /includes/languages/english/modules/shipping/ (the / vs \ path symbolism is simply a case of me pasting the text as is)

    The first errors have gone but still getting this error:
    in admin> modules >shipping

    Warning: Missing argument 4 for template_func::get_template_dir(), called in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zc1\includes\modules\shipping\ozpost.php on line 67 and defined in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zc1\includes\classes\template_func.php on line 42

    Warning: Missing argument 4 for template_func::get_template_dir(), called in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zc1\includes\modules\shipping\ozpost.php on line 69 and defined in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zc1\includes\classes\template_func.php on line 42

    Warning: Missing argument 4 for template_func::get_template_dir(), called in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zc1\includes\modules\shipping\ozpost.php on line 70 and defined in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zc1\includes\classes\template_func.php on line 42

    Warning: Missing argument 4 for template_func::get_template_dir(), called in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zc1\includes\modules\shipping\ozpost.php on line 97 and defined in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zc1\includes\classes\template_func.php on line 42

    Warning: Missing argument 4 for template_func::get_template_dir(), called in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zc1\includes\modules\shipping\ozpost.php on line 97 and defined in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zc1\includes\classes\template_func.php on line 42

    Warning: Missing argument 4 for template_func::get_template_dir(), called in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zc1\includes\modules\shipping\ozpost.php on line 97 and defined in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zc1\includes\classes\template_func.php on line 42

    These last lines are repeated many times.

    Thats a serious beard you've got going there by the way !
    Thanks
    Last edited by remoteone; 29 Mar 2009 at 07:27 AM.

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

    Default Re: ozpost shipping module

    Quote Originally Posted by remoteone View Post
    The first errors have gone but still getting this error:
    in admin> modules >shipping

    Warning: Missing argument 4 for template_func::get_template_dir(), called in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zc1\includes\modules\shipping\ozpost.php on line 67 and defined in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\zc1\includes\classes\template_func.php on line 42
    Still clutching at straws, but could you please try editing /modules/shipping/ozpost.php

    Locate the line that reads

    global $order, $db, $template, $ipath, $ipath2 ;

    and add $current_page_base as another global.

    Thanks,
    Rod

  3. #3
    Join Date
    Jun 2005
    Posts
    10
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Quote Originally Posted by RodG View Post
    Still clutching at straws, but could you please try editing /modules/shipping/ozpost.php

    Locate the line that reads

    global $order, $db, $template, $ipath, $ipath2 ;

    and add $current_page_base as another global.

    Thanks,
    Rod
    Hi Rod,

    I have done this to no avail I am still getting the
    Code:
    Warning: Missing argument 4 for template_func::get_template_dir(), called in /home/***/public_html/shop/includes/modules/shipping/ozpost.php on line 67 and defined in /home/**/public_html/shop/includes/classes/template_func.php on line 42
    PLease help??

    Thank you from me and ozmosaics

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

    Default Re: ozpost shipping module

    Quote Originally Posted by kaety View Post
    I have done this to no avail I am still getting the
    Warning: Missing argument 4
    PLease help??
    The suggestion I made turned out to be inneffective (as you have discovered).

    There are two options available for you.

    1. Create an empty file called "ozpost.php" and place it into your /includes/languages/english/modules/shipping/ directory.

    2. Hold your breath and wait for the next update to be made available (I uploaded it to the zencart downloads area a few days ago, it is just waiting for the site admin to make it 'live').

    Option#1 will get it working for you with very little effort, but there are also a couple of other issues with the version you have (Some methods showing when they shouldn't, a display problem if GST is enabled, and a couple of other minor things), so you might be better waiting for option#2

    Cheers
    Rod

  5. #5
    Join Date
    Jun 2005
    Posts
    10
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Thanks RodG I have tried option 1 and you are right... still problems so option #2 it is

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

    Default Re: ozpost shipping module

    Quote Originally Posted by kaety View Post
    Thanks RodG I have tried option 1 and you are right... still problems so option #2 it is
    I know I said there are still other issues with the version you are using, but could you please let me know which problems you found (just in case you have an unrelated issue, or perhaps a problem that hasn't yet been identified).

    Cheers
    Rod

  7. #7
    Join Date
    Jan 2009
    Location
    Macclesfield, South Australia
    Posts
    102
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Hello RodG,
    I installed ozpost 1.0.2 and this time all went well with the install.
    However there is a problem ... for example:
    a. With all handling fees =$0, the postage is calculated ok.
    b. With all handling fees =$10, the postage is calculated ok for regular "PrePaid Satchel 500g" and "Express Satchel 500g"
    BUT "Registered Parcel" and Express Parcel Post" have $20 handling fee added rather than $10 !
    This was not previously an issue in AustPost.(Tare percent =0)
    Quite odd I thought.

    Cheers
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	ozpost_Handling_0.jpg 
Views:	318 
Size:	14.8 KB 
ID:	5650   Click image for larger version. 

Name:	ozpost_Handling_10AUD_all_methods.jpg 
Views:	349 
Size:	14.9 KB 
ID:	5651   Click image for larger version. 

Name:	ozpost_settings_10.jpg 
Views:	318 
Size:	15.0 KB 
ID:	5652  


 

 

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