Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 8 of 8

Thread: problem with FedEx curl script

  1. #1
    Active Member
    problem with FedEx curl script


    Join Date
    Jan 2009
    Posts
    236
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    jmelson     $ 50.00
    Rep Power
    16


    Default problem with FedEx curl script

    I set up the FedEx module, and entered the data that I understood. I tried to buy an item, and when I click checkout, I get this message :

    Fatal error: Call to undefined function: curl_init() in /home/httpd/html/oscmax/catalog/includes/modules/shipping/fedex1.php on line 234

    Obviously I still have some other software to install. Can anyone tell me what to do?

    Oh, yeah, I am running on CentOS 5.2 (Linux) with mysql, if that makes any difference.

    Thanks,

    Jon
    Last edited by jmelson; 01-08-2009 at 10:05 AM. Reason: add details

  2. #2
    osCMax Developer


    problem with FedEx curl script

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,014
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    594


    Default Re: problem with FedEx curl script

    You have to have curl+ssl compiled into php. Check your phpinfo and see if curl+ssl is available. If not, PHP needs to be recompiled with curl+ssl support.
    Michael Sasek

    osCmax 2.5.4 is now available via auto-installation using Softaculous!

    Stay Up To Date with everything osCMax:
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Active Member
    problem with FedEx curl script


    Join Date
    Jan 2009
    Posts
    236
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    jmelson     $ 50.00
    Rep Power
    16


    Default Re: problem with FedEx curl script

    Quote Originally Posted by michael_s View Post
    You have to have curl+ssl compiled into php. Check your phpinfo and see if curl+ssl is available. If not, PHP needs to be recompiled with curl+ssl support.
    I am not an expert in these areas. I have the http server running on one machine, and the sql server is on a different machine. This works for at least the admin and catalog functions of oscmax. The http server machine is so old that the package repositories have been disappearing, and I can't install or update some packages, that's why the sql server has to be on a different machine. I am probably going to have to completely rebuild the http server machine, not a project I am looking forward to.

    I have not been able to get phpmyadmin to run on the http server machine, likely for similar reasons (no sql on local host). Is there a way to get the phpinfo without phpmyadmin?

    I did not compile php initially, and worry that a failed compile from source might make things worse.

    Thanks,

    Jon

  4. #4
    Active Member
    problem with FedEx curl script


    Join Date
    Jan 2009
    Posts
    236
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    jmelson     $ 50.00
    Rep Power
    16


    Default Re: problem with FedEx curl script

    Quote Originally Posted by michael_s View Post
    You have to have curl+ssl compiled into php. Check your phpinfo and see if curl+ssl is available. If not, PHP needs to be recompiled with curl+ssl support.
    It looks like this info ought to be in the oscmax tools/server info report, but I'm not exactly sure what I'm looking for.

    Jon

  5. #5
    jpf
    Guest


    Default Re: problem with FedEx curl script

    Admin->Tool->Server Info

    Look for a heading called Curl:

    Mine states:

    CURL support enabled
    CURL Information libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5

  6. #6
    Active Member
    problem with FedEx curl script


    Join Date
    Jan 2009
    Posts
    236
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    jmelson     $ 50.00
    Rep Power
    16


    Default Re: problem with FedEx curl script

    Quote Originally Posted by jpf View Post
    Admin->Tool->Server Info

    Look for a heading called Curl:

    Mine states:

    CURL support enabled
    CURL Information libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
    Well, that's the problem, for sure, no heading at ALL for curl. So, I have installed curl, downloaded php source, and tried to compile it, and ran into "libxml2-config not found", so yet another package that is out of date or not set up right. I'm still working on it.

    Thanks,

    Jon

  7. #7
    osCMax Developer


    problem with FedEx curl script

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,014
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    594


    Default Re: problem with FedEx curl script

    Hi, you cannot just install the binary curl.

    You must completely recompile PHP with curl functions supported (the option --with-curl) and SSL.
    Michael Sasek

    osCmax 2.5.4 is now available via auto-installation using Softaculous!

    Stay Up To Date with everything osCMax:
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  8. #8
    Active Member
    problem with FedEx curl script


    Join Date
    Jan 2009
    Posts
    236
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    jmelson     $ 50.00
    Rep Power
    16


    Default Re: problem with FedEx curl script

    Quote Originally Posted by michael_s View Post
    Hi, you cannot just install the binary curl.

    You must completely recompile PHP with curl functions supported (the option --with-curl) and SSL.
    Right, that's what I was trying to do. But, this old Debian system is so out of date the apt repositories have dumped the files. Last thing I hit was mysql needs libstdc++.so.6, and I don't have that. I couldn't figure out what older version of mysql would be compatible with the libstdc++.so.5 I have on the system. Anyway, I have no hardware backup for this server, so I thought it might be a good idea to build an entire new system, port all the stuff over and get it working there, then go live on the new system. They, update the old system and keep it as a cold standby.

    Jon

Similar Threads

  1. FedEX Home Delivery (1day) problem
    By netviper in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 11-25-2008, 11:22 AM
  2. Install script problem
    By KCinConyers in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 06-01-2008, 05:23 PM
  3. Replies: 0
    Last Post: 05-29-2008, 10:49 AM
  4. Please Help. cURL
    By nitroc in forum Authorize.net
    Replies: 2
    Last Post: 01-21-2008, 08:14 AM
  5. Problem: cURL
    By mike_steinhoff in forum osCommerce 2.2 Modification Help
    Replies: 7
    Last Post: 05-23-2004, 01:49 PM

Bookmarks

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
  •