Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2008
    Location
    Singapore
    Posts
    82
    Plugin Contributions
    0

    Default syntax error, unexpected T_STRING in ipn_main_handler.php

    Error at checkout with paypal express after upgrading to 1.3.9g.

    Error:
    Parse error: syntax error, unexpected T_STRING in
    /home/mydomain/ipn_main_handler.php on line 452

    I have checked the 1.3.9g version of the file against the previous version, no difference in line 452 (the last line).

    I have to replace with previous version now because customers are waiting to check out. Please advise.

  2. #2
    Join Date
    Jun 2008
    Location
    Singapore
    Posts
    82
    Plugin Contributions
    0

    Default Re: [1.3.9g] syntax error, unexpected T_STRING in ipn_main_handler.php

    to add, it worked fine when I replaced with the old file.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,521
    Plugin Contributions
    6

    Default Re: [1.3.9g] syntax error, unexpected T_STRING in ipn_main_handler.php

    Make sure that you updated all of the PayPal files:
    /includes/modules/payment/paypal/tpl_ec_button.php
    /includes/modules/payment/paypaldp.php
    /ipn_main_handler.php
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  4. #4
    Join Date
    Jan 2004
    Posts
    60,389
    Blog Entries
    4
    Plugin Contributions
    144

    Default Re: syntax error, unexpected T_STRING in ipn_main_handler.php

    That error message is not a result of something wrong with the ipn_main_handler.php file in v1.3.9g.
    You must have an incomplete upload of one or more files.

    Using the file from the previous version is likely to cause transaction problems.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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
    Jun 2008
    Location
    Singapore
    Posts
    82
    Plugin Contributions
    0

    Default Re: [1.3.9g] syntax error, unexpected T_STRING in ipn_main_handler.php

    Quote Originally Posted by Ajeh View Post
    Make sure that you updated all of the PayPal files:
    /includes/modules/payment/paypal/tpl_ec_button.php
    /includes/modules/payment/paypaldp.php
    /ipn_main_handler.php
    Thank you, I left out /includes/modules/payment/paypal/tpl_ec_button.php. It's solved now.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,521
    Plugin Contributions
    6

    Default Re: syntax error, unexpected T_STRING in ipn_main_handler.php

    Thanks for the update that you were able to fix this by loading the:
    /includes/modules/payment/paypal/tpl_ec_button.php
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

Similar Threads

  1. Replies: 9
    Last Post: 5 Feb 2010, 01:12 AM
  2. Replies: 3
    Last Post: 13 Mar 2009, 05:20 PM
  3. Replies: 8
    Last Post: 5 Mar 2009, 06:40 PM
  4. Replies: 6
    Last Post: 21 Sep 2008, 04:48 AM
  5. to display product only, no qty/price, syntax error= unexpected T_STRING
    By Dinnages in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 3 Jan 2008, 06:56 PM

Bookmarks

Posting Permissions

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