Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2006
    Posts
    29
    Plugin Contributions
    0

    Default Paypal problem - Fault in module? (stray text in my file)

    Need som help here, can anyone tell what's wrong here and how to fix it. Zen cart 1.2.6


    I get this error in admin/moduls/payment


    Parse error: parse error, unexpected T_DNUMBER in /public_html/includes/modules/payment/paypal.php on line 191

    These are the lines 190 -194:

    $sql = "select * from " . TABLE_PAYPAL . " where zen_order_id = '" . $zf_order_id . "'";
    72.9.248.34 = $db->Execute($sql);
    require(DIR_FS_CATALOG. DIR_WS_MODULES . 'payment/paypal/paypal_admin_notification.php');
    return $output;
    }

    191 is i bold letters.

    Thanks in advance!

  2. #2
    Join Date
    Jan 2004
    Location
    UK
    Posts
    1,230
    Plugin Contributions
    0

    Default Re: Paypal problem - Fault in module?

    Very odd ...

    Try replacing that IP address with $ipn like this (code from v 1.2.7) ...

    PHP Code:
         $sql "select * from " TABLE_PAYPAL " where zen_order_id = '" $zf_order_id "'";
        
    $ipn $db->Execute($sql);
         require(
    DIR_FS_CATALOGDIR_WS_MODULES 'payment/paypal/paypal_admin_notification.php');
         return 
    $output

  3. #3
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Paypal problem - Fault in module?

    Lazze,

    Pixxi is correct,
    I have no idea why you changed that line of code.

    you might want to consider upgrading to 1.3.6 the paypal module is more advanced.

    and less messy
    Zen cart PCI compliant Hosting

  4. #4
    Join Date
    Nov 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: Paypal problem - Fault in module?

    It worked!

    I don't know how the IP address got there, i've got no clue... But now everything is up and running again

    Thanks for the help both of you!

 

 

Similar Threads

  1. Paypal Payment Module Problem
    By brown12321 in forum General Questions
    Replies: 1
    Last Post: 16 Dec 2008, 01:33 AM
  2. Help w/ language file for paypal IPN module
    By TheHYPO in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 10 Oct 2008, 03:24 PM
  3. Paypal payment received - no order info - problem with SEO module
    By bigbadboy in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 3 Sep 2008, 03:14 PM
  4. Easy Populate won't work with Excel text file, only Text Edit file.
    By anduril3019 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 21 Jan 2007, 04: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