Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Nov 2004
    Location
    Port Neil South Australia
    Posts
    397
    Plugin Contributions
    0

    Default Re: Australia Post Shipping Module

    have uploaded the new version of ozpost & am getting syntax error, unexpected $end in (my store path)
    includes/modules/shipping/ozpost.php on line 1370

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

    Default Re: Australia Post Shipping Module

    Quote Originally Posted by michellewardley View Post
    have uploaded the new version of ozpost & am getting syntax error, unexpected $end in (my store path)
    includes/modules/shipping/ozpost.php on line 1370
    You have something seriously amiss with your installation.

    The /languages/......../ozpost.php file either hasn't been uploaded, or has been uploaded into the wrong folder.

    I can't tell if this your *only* problem or not.

    I suggest that you remove/delete the files that you have uploaded, and try again, this time being careful that they all end up in the right places.

    Also do NOT keep backups of any module code in the same folders as the original files. Such backups can often cause problems.

    Cheers
    Rod

    PS. This is NOT the support forum for OZPOST. Please use the correct forum if you have any other questions or problems in regards to the ozpost module. (search for 'ozpost'). I often miss questions when they are posted in these unofficial threads.
    Last edited by RodG; 5 Oct 2011 at 08:05 AM.

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

    Default Re: Australia Post Shipping Module

    Quote Originally Posted by michellewardley View Post
    have uploaded the new version of ozpost & am getting syntax error, unexpected $end in (my store path)
    includes/modules/shipping/ozpost.php on line 1370
    PS. Your database is also out of sync with the files. To correct this you will need to log into the admin of your store and navigate your way to the ozpost configuration settings, then click the uninstall button, then immediately press the install button again.

    This needs to be done *after* uploading the ozpost files, but before trying to obtain a quote.

    If you have installed V3.0.0 or later then you don't need to uninstall/reinstall to perform the synchronization, it will do this automatically BUT this needs to be 'triggered', which is a simple matter of navigation your way to the ozpost settings screen.

    Cheers
    Rod

  4. #4
    Join Date
    Apr 2019
    Location
    AUS
    Posts
    1
    Plugin Contributions
    0

    Default Re: Australia Post Shipping Module

    i am facing some big problem here . after filling all shipping address and hitting checkout button is leading User to error page by saying 'site can't be reached . I have have checked my error log , all are related to 'Australia Post'

    here you go more information

    URL : https://auspurifiers.com.au

    Zencart version :1.5.4 php version in server : 5.6

    This is what i found in log file:

    0 /home/auau4207/public_html/includes/modules/shipping/aupost.php(307):
    SimpleXMLElement->__construct('
    1 /home/auau4207/public_html/includes/classes/shipping.php(140): aupost->quote('')
    2 /home/auau4207/public_html/includes/modules/pages/checkout_shipping/header_php.php(190):
    shipping->quote()
    3 /home/auau4207/public_html/index.php(37): require('/home/auau4207/...')
    4 {main} thrown in /home/auau4207/public_html/includes/modules/shipping/aupost.php on
    line 307
    why i am getting this error ? any help

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

    Default Re: Australia Post Shipping Module

    Quote Originally Posted by michellewardley View Post
    have uploaded the new version of ozpost & am getting syntax error, unexpected $end in (my store path)
    includes/modules/shipping/ozpost.php on line 1370
    You have recently gone from bad to worse.

    I can't even get to your store at the moment. I am being greeted with an error message

    Parse error: syntax error, unexpected T_STRING in /home/content/m/i/c/michellewardle/html/includes/languages/english/michellewardley/shopping_cart.php on line 22

    What this means is that you have have uploaded a boat load of files to

    /home/content/m/i/c/michellewardle/html/includes/languages/english/michellewardley/

    There should NOT be a folder called "michellewardley" in the
    /home/content/m/i/c/michellewardle/html/includes/languages/english/ folder, infact the only place you should find a folder by this name is this one:
    /home/content/m/i/c/michellewardle/

    and all of your webstore files should be in this folder:
    /home/content/m/i/c/michellewardle/html/

    What FTP program do you use? (or did you upload as a .zip file and extract the files on the server itself?)

    Most FTP programs will allow you to 'queue' the files before uploading, this is an ideal time to verify that the files will be uploaded to the correct folders before initiating the transfer.

    If you are uploading a .zip file and extracting it on the server then you must upload the zip file into the /html/ folder, because the zip exraction code will use its current location as being the 'root' of the file system and the files are extracted relative to that location, so if the zip is uploaded to (say)
    /home/content/m/i/c/michellewardle/html/includes/languages/english/ the zip files will end up in all the wrong places, in fact they will end up where they are now, which is obviously incorrect.

    For what it is worth, you are not the first person to get this wrong, and you most certainly won't be the last. In fact I'd go as far to say that every person here has done the exact same thing at some stage or another. I still manage to mess up in this regard myself more times than I'd care to admit, so as bad as it may seem, don't beat yourself up over it.. Take a break and try again.

    Cheers
    Rod

 

 

Similar Threads

  1. Australia Post Shipping Module 2.0
    By etrader in forum Addon Shipping Modules
    Replies: 146
    Last Post: 16 Jun 2026, 07:40 AM
  2. about Australia Post Shipping Module
    By coololo in forum Addon Shipping Modules
    Replies: 1
    Last Post: 27 Dec 2011, 01:45 PM
  3. Bug in Australia Post Shipping Module
    By Peter Homann in forum Addon Shipping Modules
    Replies: 5
    Last Post: 13 Feb 2011, 10:06 AM
  4. Replies: 2
    Last Post: 23 Aug 2009, 11:25 AM
  5. Australia Post Shipping Module & International Post
    By annav in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 29 Nov 2008, 11:42 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