Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2008
    Posts
    3
    Plugin Contributions
    0

    Default Zen-cart 1.38a CURL install error

    Hi Guys,

    I've had a look around and found some great info, but have not been able to solve my particular issue, so I hope nobody minds me posting this up.

    I've been trying to install zen-cart 1.38a on my own personal Fedora linux box, however I am presented with the following errors on the 'Prerequisites' page...

    # CURL problems detected: 6 => Couldn't resolve host 'www.zen-cart.com' more info...
    # CURL requires SSL support. Please notify webmaster or hosting company. 6 => Couldn't resolve host 'www.zen-cart.com' more info...
    # CURL problems detected: 5 => Couldn't resolve proxy 'proxy.shr.secureserver.net' more info...
    # CURL requires SSL support. Please notify webmaster or hosting company. 5 => Couldn't resolve proxy 'proxy.shr.secureserver.net' more info...

    I've checked my phpinfo which reports..

    curl
    cURL support enabled
    cURL Information libcurl/7.18.2 NSS/3.12.0.3 zlib/1.2.3 libidn/0.6.14

    The machine is connected to the internet and I have also successfully called "curl www.zen-cart.com" and received back the zen-cart homepage.

    I have also tried browsing to the /extras/curltest.php page on my server but I am greeted with the following response...

    PHP Code:
    6 Couldn't resolve host 'www.zen-cart.com'

    Array
    (
        [url] => "http://www.zen-cart.com/testcurl.php"
        [http_code] => 0
        [header_size] => 0
        [request_size] => 0
        [filetime] => -1
        [ssl_verify_result] => 0
        [redirect_count] => 0
        [total_time] => 0
        [namelookup_time] => 0
        [connect_time] => 0
        [pretransfer_time] => 0
        [size_upload] => 0
        [size_download] => 0
        [speed_download] => 0
        [speed_upload] => 0
        [download_content_length] => 0
        [upload_content_length] => 0
        [starttransfer_time] => 0
        [redirect_time] => 0

    When I execute curltest.php directly on the server with "php curltest.php" I get a more promising...

    PHP Code:
    (
        [
    url] => "http://www.zen-cart.com/testcurl.php"
        
    [content_type] => text/html
        
    [http_code] => 200
        
    [header_size] => 139
        
    [request_size] => 174
        
    [filetime] => -1
        
    [ssl_verify_result] => 0
        
    [redirect_count] => 0
        
    [total_time] => 0.293161
        
    [namelookup_time] => 0.002969
        
    [connect_time] => 0.135104
        
    [pretransfer_time] => 0.13511
        
    [size_upload] => 37
        
    [size_download] => 2141
        
    [speed_download] => 7303
        
    [speed_upload] => 126
        
    [download_content_length] => 0
        
    [upload_content_length] => 0
        
    [starttransfer_time] => 0.288619
        
    [redirect_time] => 0

    The weird thing is I can install 1.37 without any problems.

    Any help or pointers would be greatly appreciated.

  2. #2
    Join Date
    Jan 2004
    Posts
    60,399
    Blog Entries
    4
    Plugin Contributions
    144

    Default Re: Zen-cart 1.38a CURL install error

    Quote Originally Posted by TheFixer View Post
    6 => Couldn't resolve host
    That means your server's name-resolution service isn't working correctly when PHP invokes CURL
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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
    Sep 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Zen-cart 1.38a CURL install error

    Quote Originally Posted by DrByte View Post
    That means your server's name-resolution service isn't working correctly when PHP invokes CURL
    Thanks for your reply. Could you tell me why I don't seem to experience other issues with my DNS, e.g. I can 'ping www.google.com', I can also successfully execute the command 'curl www.zen-cart.com'.

    I'd be interested in how I could debug any potentials issues with my name-resolution service?

    Finally the fact that curltest.php appears to successfully pass when I execute it manually with the command 'php extras/curltest.php' but appears to fail when I browse to the file i.e. www.<myserver_hostname>/zen-cart/extras.curltest.php'... Would this be at all familar to you?

    Thanks again.

  4. #4
    Join Date
    Jan 2004
    Posts
    60,399
    Blog Entries
    4
    Plugin Contributions
    144

    Default Re: Zen-cart 1.38a CURL install error

    It sounds like you're having problems with your webserver's apache configuration.
    I suggest getting help on running/configuring your webserver from a forum dedicated to that topic, such as webhostingtalk.com
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.



  5. #5
    Join Date
    Sep 2008
    Posts
    3
    Plugin Contributions
    0

    Default Re: Zen-cart 1.38a CURL install error

    I've actually found that after a reboot I have CURL errors when invoked from a browser untill I restart httpd. CURL always works as expected from the command line. I'll keep investigating and check out webhostingtalk.com.

    Cheers for your help.

  6. #6
    Join Date
    Aug 2005
    Posts
    26,507
    Plugin Contributions
    9

    Default Re: Zen-cart 1.38a CURL install error

    CURL always works as expected from the command line.
    I am supposing that when doing this it is from a SU login such as at "root" and that you are installing ZenCart into a setup FQDN domain or virtual host. It is most likely that your VH setup is not resolving correctly. Is this a straight LINUX install or over one of the CP's available?
    Zen-Venom Get Bitten
    Get Your Business Found

 

 

Similar Threads

  1. Finally got to the Install scree but what is Curl?
    By bessy77 in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 22 Jul 2008, 09:54 PM
  2. Install says Curl not installed, but it is.
    By birdoasis in forum Installing on a Linux/Unix Server
    Replies: 61
    Last Post: 7 Mar 2008, 02:54 PM
  3. Get cURL error when trying to install ZC 1.3.8
    By bluealice in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 23 Feb 2008, 09:38 PM
  4. OMG...what is CURL and how do you install it? (my windows localhost)
    By arretx in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 9 May 2007, 08:47 AM
  5. Replies: 1
    Last Post: 4 Jul 2006, 05:42 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
  •