Results 1 to 6 of 6

Linkpoint and CURL failure

This is a discussion on Linkpoint and CURL failure within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Ok, doing some troubleshooting on a new (updated) store - and since I've upgraded the Linkpoint module I've had no ...

      
  1. #1
    Lurker
    Join Date
    May 2004
    Posts
    3
    Rep Power
    0


    Default Linkpoint and CURL failure

    Ok, doing some troubleshooting on a new (updated) store - and since I've upgraded the Linkpoint module I've had no luck - upon checkout I get the CURL can't be executed error.

    Verified that Curl is installed (path is /usr/local/bin/curl) and it should be accessible via https and http.

    I turned on the debug function and I get this:
    at buildXML, incoming hash: host = secure.linkpt.net port = 1129 configfile = 410016 keyfile = includes/linkpoint/410016.pem result = GOOD Ip = 68.168.147.155 userid = 5 cardnumber = 4111111111111111 expmonth = 01 expyear = 06 bname = Jerry Garcia email = blah@blah.com phone = 973-111-1111 comments = baddr1 = 100 Canon Avenue addrnum = 100 Canon Avenue bcity = Manitou Springs bstate = Colorado bzip = 80829 bcountry = US sname = Jerry Garcia saddr1 = 100 Canon Avenue scity = Manitou Springs sstate = Colorado szip = 80829 scountry = US oid = chargetotal = 62.00 subtotal = 57.00 shipping = 5.00 tax = 0.00 cvmindicator = cvm_provided cvmvalue = 111 chargetype = PREAUTH addr = 408 Canon Avenue outgoing XML: PREAUTHGOOD41111111111111110106111provided410016in cludes/linkpoint/410016.pemsecure.linkpt.net112962.000.0057.005.00J erry Garcia100 Canon AvenueManitou SpringsColorado80829US973-111-11115blah@blah.com100 Canon AvenueJerry Garcia100 Canon AvenueManitou SpringsUSColorado8082968.168.147.155 server response:

    Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/hollowpl/howies/catalog/includes/linkpoint/lpphp.php:551) in /usr/www/users/hollowpl/howies/catalog/includes/functions/general.php on line 29
    In addition my file structure looks like:

    /catalog/includes/linkpoint/

    .htaccess
    410016.pem (correctly uploaded as ASCII)
    liblphp.so
    liblpssl.so
    lpphp.php

    /catalog/includes/languages/english/module/payment/linkpointms1.php

    /catalog/includes/modules/payment/linkpointms1.php

    Any thoughts on where to look? I don't think I'm missing any files.

    I'd like to keep any troubleshooting on this list for the benefit of everyone. It seems there are lots of off-list discussions that don't really help out the group.

    Thanks -

    Jonny at AnswerGurus

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    First, try removing the extra blank lines after the closing php tag in the file lpphp.php. That is what the first part of that error message is referring to:


    (output started at /usr/www/users/hollowpl/howies/catalog/includes/linkpoint/lpphp.php:551)

    That should get you a little further along the way.

    Oh, and do not edit your files with a cheesy editor (like a web based editor or wordpad or anything like that, get a good code editor or something you know will not add extra blank lines to your files!) Ultra edit is one of my favorites. Simple, no fuss, no muss...
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Lurker
    Join Date
    May 2004
    Posts
    3
    Rep Power
    0


    Default

    1. Upgraded to the *most* recent linkpoint contribution (posted today).

    2. Checked to remove any extra lines after the closing tag in lpphp.php (there were none)

    3. Exact same problem!

    (btw, yes I agree about using a good editor, I use CuteHTML)

    Other thoughts or suggestions?

  4. #4
    New Member
    Join Date
    Apr 2004
    Posts
    24
    Rep Power
    0


    Default

    This on your server or on a hosted account? I had the same problem when I had an account with IX Webhosting. It worked fine, then it started giving me the curl error, and after 3 days, they finally fixed it. Nothing to do with anything I was doing.

    But, if it's your own server, the person to ask, in my opinion, is red fraggle. He can probably help for sure. Look him up on the board and PM him.

  5. #5
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    8


    Default

    I offer free email and phone support of this module as i wrote the last 4 releases of it. feel free to contact me at the contact info in my sig and ill get you going.

  6. #6
    Active Member red_fraggle's Avatar
    Join Date
    Feb 2004
    Location
    wilmington, NC
    Posts
    343
    Rep Power
    8


    Default

    I have personally installed this module over 400 times and out of all those installations there was only ever 6 reasons for the CURL error, I have outlined them here as a help to the community. If you cannot get it working, i provide free technical support for it via email or through our website which you can get links to below my sig.

    1. Incorrect or poorly formatted PEM file (it's never right in the welcome email linkpoint sends)
    2. port 1129 closed on your hosting companies firewall
    3. CURL not compiled into php with either mod_ssl or open_ssl support
    4. having EITHER linkpoint or your stores linkpoint module in "test" or "good" mode. Both must be live to not get CURL error.
    5. Running this contribution on a Windows Server (windows = bad idea for a webserver in my opinion)
    6. Modifying ANYTHING in the contribution based on directions from Linkpoint Technical support or the forums.

Similar Threads

  1. Worldpay callback failure
    By trekker in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-29-2004, 02:54 AM
  2. Linkpoint Curl Error
    By mL1 in forum osCommerce 2.2 Modification Help
    Replies: 7
    Last Post: 08-21-2004, 10:37 AM
  3. installing linkpoint module without Curl?
    By nurbin in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 05-19-2004, 11:18 AM
  4. Installation failure
    By bambito in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 02-27-2004, 12:25 PM
  5. Checkout-(Failure)-Process.php
    By alyss in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 10-23-2003, 03:03 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
  •