Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Jul 2008
    Posts
    60
    Plugin Contributions
    0

    Default Canada post module

    Good morning everyone ;)

    I've put the canada post module, but I'm receiving this message when I go in my admin Parse error: syntax error, unexpected T_VAR in what does it mean... did I put the module at the right place
    catalog/includes/languages/english/modules/shipping

    thanks again

    Linda
    www.creationmera.com/catalog
    Last edited by Kim; 14 Jul 2008 at 03:55 PM. Reason: removed colors for easier reading

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Canada post module

    Did you install the SQL patch?

  3. #3
    Join Date
    Jul 2008
    Posts
    60
    Plugin Contributions
    0

    Default Canada post module

    Hello!
    I put the canada post module and I have this error when I go in my admin
    Parse error: syntax error, unexpected T_VAR in /home/clients/creationmera.com/http/catalog/includes/languages/english/modules/shipping/canadapost.php on line 31

    Maybe I didn't put the module at the right place

    thanks a lot, for helping me ;)
    Linda

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Canada post module

    1. Posting in multiple places on the same issue is frowned upon. Your duplicate posts have been merged.
    Forum Posting Guidelines can be read here: http://www.zen-cart.com/forum/faq.php

    2. Adding colours to your posts can make things hard to read. Please be mindful of this in future posts.

    3. If you're getting T_VAR errors, then you've either improperly customized the file it's complaining about or your FTP program has not fully uploaded the file correctly. Re-uploading the original version of that file may help.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jul 2008
    Posts
    60
    Plugin Contributions
    0

    Default Re: Canada post module

    Hi ;)
    Sorry, I tought that it wasn't post that's why I post again.

    thanks a lot I will try that and let you know..

    thanks
    Linda

  6. #6
    Join Date
    Jul 2008
    Posts
    60
    Plugin Contributions
    0

    Default Re: Canada post module

    Good morning ;)
    I've tried it and when I go in my shipping module I have that for message

    Fatal error: Cannot redeclare class canadapost in /home/clients/creationmera.com/http/catalog/includes/languages/english/modules/shipping/canadapost.php on line 26


    thanks for helping me

    Linda

  7. #7
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Canada post module

    That's likely a result of putting the files in the wrong folders.
    There are at least two files named "canadapost.php".
    The one inside the languages/english folder needs to be the one you upload to the languages/english folder. Exactly as it was in the files you unzipped.
    If you mix them up you will have problems.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Jul 2008
    Posts
    60
    Plugin Contributions
    0

    Default Re: Canada post module

    Do I have to write somethin in my module.php on line 172

    include(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/modules/' . $module_type . '/' . $file);

    I have a couples of error for that.


    thanks again

  9. #9
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Canada post module

    No, you don't need to touch the modules.php file.

    Just upload the files into their respective folders.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Jul 2008
    Posts
    60
    Plugin Contributions
    0

    Default Re: Canada post module

    The module is installed .. no error nothing yeahhhhhh

    But.... the image that I have is all blanks nothing, I can't answer any questions because nothing is written, so I can't check if it's working...



    thanks again

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Canada Post Module (w/Beanstream payment module)
    By sgt_slaughter in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 15 Sep 2009, 07:48 PM

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