Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Unexpected T_ECHO in ipn_main_handler.php

    Getting this error in my server error log over a few days, not showing anymore though...

    PHP Parse error: syntax error, unexpected T_ECHO in /xxxx/xxxxx/public_html/mysite.com/ipn_main_handler.php on line 72

    Anyone know the cause/problem?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Unexpected T_ECHO in ipn_main_handler.php

    There's no "echo" statement in that file at all.

    Sounds like a damaged file.
    .

    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.

  3. #3
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Unexpected T_ECHO in ipn_main_handler.php

    There is on line 72 - Does it make a difference?


    if ( (defined('MODULE_PAYMENT_PAYPALWPP_DEBUGGING') && strstr(MODULE_PAYMENT_PAYPALWPP_DEBUGGING, 'Log')) ||
    (defined('MODULE_PAYMENT_PAYPAL_IPN_DEBUG') && strstr(MODULE_PAYMENT_PAYPAL_IPN_DEBUG, 'Log')) ||
    ($_POST['ppdebug'] == 'on' && strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, echo $_SERVER['REMOTE_ADDR'];)) ) {
    @ini_set('display_errors', E_ALL ^ E_NOTICE);
    error_reporting(E_ALL ^ E_NOTICE);
    $show_all_errors = true;

  4. #4
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Unexpected T_ECHO in ipn_main_handler.php

    Just checked the error log and it happened 3 times today.

  5. #5
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Unexpected T_ECHO in ipn_main_handler.php

    Quote Originally Posted by DrByte View Post
    There's no "echo" statement in that file at all.

    Sounds like a damaged file.
    Actually your're right, Ive just checked all of my other sites and the ipn_main_handler doesnt have an echo in there.

    Weird!

 

 

Similar Threads

  1. syntax error, unexpected T_STRING in ipn_main_handler.php
    By saplanet in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 3 Oct 2010, 01:52 AM
  2. ipn_main_handler.php
    By kgovett in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 30 Sep 2009, 08:52 PM
  3. ipn_main_handler.php permissions
    By cnsystems in forum General Questions
    Replies: 1
    Last Post: 12 Apr 2007, 11:21 AM
  4. ipn_main_handler.php location
    By FSGS in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 13 Oct 2006, 06:19 AM
  5. ipn_main_handler.php
    By mediathing in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 11 Sep 2006, 09:27 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