Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Location
    Singapore, Australia, America
    Posts
    96
    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, Australia, America
    Posts
    96
    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
    69,402
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Jun 2008
    Location
    Singapore, Australia, America
    Posts
    96
    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.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    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.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    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!
    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.

 

 

Similar Threads

  1. PHP Parse error: syntax error, unexpected T_STRING
    By absoluteblock in forum General Questions
    Replies: 4
    Last Post: 2 Oct 2011, 03:40 AM
  2. PHP Parse error: syntax error, unexpected T_STRING
    By derek53 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Apr 2011, 08:09 PM
  3. Replies: 20
    Last Post: 21 Nov 2010, 02:48 AM
  4. Replies: 3
    Last Post: 13 Mar 2009, 05:20 PM
  5. Replies: 6
    Last Post: 21 Sep 2008, 04:48 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR