Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Sep 2006
    Posts
    26
    Plugin Contributions
    0

    Default CUrl Problems install 1.3.8a

    Please read the entire post before replying. Although my problem is similar to other postings, I could not find it answered elsewhere.

    1. Am receiving the following errors on installation:
    CURL problems 6: name lookup timed out
    Curl Requires SSL support... 6
    Curl Problems detected: 28 => connect timed out
    Curl requires SSL support. 7 (couldn't connect with host

    2. This is the third Zencart on this server and all three have the same problems. I can continue installation and purchase with PayPal, but the first order is not recorded as order # 1. Order number 2 is returned as order #1. When the first customer goes into their account they see they are indeed order #1 but their receipt shows no order number. When Customer #2 looks at his receipt he sees his order was number 1, but it shows in the databse and in the admin as order #2. This has the potential to cause great confusion down the road.

    3. I have CURL installed and enabled on this server and have verified that using phpinfo.php.

    4. I have run the CURL test with ZenCart and it returns OK.
    CURL Test Page

    This page is intended for testing CURL behaviour. You should be accessing this page via CURLTEST.PHP running on YOUR server.
    You submitted the following fields and data:
    Array( [field1] => This is a test [statuskey] => ready)Data validation

    Good
    Other Info

    Your server IP address is:209.235...

    Array( [url] => "https://www.zen-cart.com/testcurl.php" [content_type] => text/html [http_code] => 200 [header_size] => 139 [request_size] => 174 [filetime] => -1 [ssl_verify_result] => 20 [redirect_count] => 0 [total_time] => 5.25914 [namelookup_time] => 4.99798 [connect_time] => 5.037139 [pretransfer_time] => 5.206257 [size_upload] => 0 [size_download] => 2142 [speed_download] => 407 [speed_upload] => 0 [download_content_length] => 0 [upload_content_length] => 0 [starttransfer_time] => 5.2591 [redirect_time] => 0)

    5. Another post suggested there may be a setting wrong in Apache Set-up. What setting might that be?Do you have any other suggestions to fix this problem?

    Everything we have done suggests CURL is OK.

    Thank you for your time and assistance.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,704
    Plugin Contributions
    11

    Default Re: CUrl Problems install 1.3.8a

    If you don't have your own server or any strange settings in the .htaccess, I'd be talking to my host.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Sep 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: CUrl Problems install 1.3.8a

    Thank you for your reply. We have a dedicated server with some support, but they cannot figure out the problem either. This is the second server with the company. The first we have had no problems with and the php settings are identical. This is something I have to figure out with Community support or it may never get fixed.

    As for the .htaccess, the file has not been changed from the standard included with ZenCart.

    Again, thank you.
    Last edited by Wiregrass; 24 Oct 2008 at 05:52 PM. Reason: further info

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

    Default Re: CUrl Problems install 1.3.8a

    If you run the curltest.php script with ?paypal=1 added to the URL, what is the output?

    Which PayPal modules do you have enabled in Admin->Modules->Payment? and why?
    .

    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.

  5. #5
    Join Date
    Sep 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: CUrl Problems install 1.3.8a

    ?paypal=1 shows the following

    6 name lookup timed out

    Array
    (
    [url] => https://api-3t.paypal.com/nvp
    [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)

    EOF


    The only PayPal module set up is PayPal Websites Payments Standard. I set that up to quickly test the cart.
    Last edited by Wiregrass; 25 Oct 2008 at 01:53 AM. Reason: make readable

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

    Default Re: CUrl Problems install 1.3.8a

    Quote Originally Posted by Wiregrass View Post
    6 name lookup timed out
    That's telling you that when the server tries to lookup the IP address of the URL it's trying to connect to, your nameserver services on your server is failing to give a response back in a reasonable time.

    This indicates a server misconfiguration. Perhaps you've got your resolv.conf files misconfigured?

    If it's only happening when trying to access HTTPS: addresses, maybe you've got something wrong with your SSL configuration?

    The ?paypal=1 test tries to talk to the PayPal server using SSL ... and, as you said, it's failing.
    If you try using ?ssl=1 it will try to talk to the Zen Cart site using SSL. What happens?

    The installer process tries to talk to the Zen Cart site using both non-SSL and SSL modes ... that's why you're seeing 4 error messages on the install screen ... 2 for each attempt.
    .

    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.

  7. #7
    Join Date
    Sep 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: CUrl Problems install 1.3.8a

    Thank you for such a great reply!

    Here's what happened. Based on your email our server tech [FONT=Arial]deleted a nameserver in resolv.conf and added our own plesk ip. We re-ran the test (?paypal=1) and it now reads: [/FONT]
    [FONT=Arial][/FONT]
    Array
    (
    [url] => https://api-3t.paypal.com/nvp
    [content_type] => text/plain; charset=utf-8
    [http_code] => 200
    [header_size] => 215
    [request_size] => 166
    [filetime] => -1
    [ssl_verify_result] => 0
    [redirect_count] => 0
    [total_time] => 0.384203
    [namelookup_time] => 0.061353
    [connect_time] => 0.11846
    [pretransfer_time] => 0.241251
    [size_upload] => 0
    [size_download] => 146
    [speed_download] => 380
    [speed_upload] => 0
    [download_content_length] => 146
    [upload_content_length] => 0
    [starttransfer_time] => 0.384165
    [redirect_time] => 0)

    ACK=Failure&L_ERRORCODE0=81002&L_SHORTMESSAGE0=Unspecified%20Method&L_LONGMESSAG E0=Method%20Specified%20is%20not%20Supported&L_SEVERITYCODE0=ErrorEOF

    It looks like in some respects we're making headway.
    Again, thank you for your time and knowledge.
    Last edited by Wiregrass; 25 Oct 2008 at 05:06 AM. Reason: make readable

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

    Default Re: CUrl Problems install 1.3.8a

    The response you posted is exactly what I would want to see.

    (Even though it's showing an error message, that message is coming from the PayPal server ... which means communication was successful!)
    .

    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.

  9. #9
    Join Date
    Sep 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: CUrl Problems install 1.3.8a

    Excellent. THANK YOU!!!!

  10. #10
    Join Date
    Sep 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: CUrl Problems install 1.3.8a

    We re-installed the ZenCart script today to clear the database of the errors and in re-install there were no error messages. Thank you for your help.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. CURL issue on localhost install
    By iddy in forum Installing on a Windows Server
    Replies: 4
    Last Post: 26 May 2011, 07:25 AM
  2. Curl error during 1.3.9 install. we have curl installed tho
    By bangsters in forum General Questions
    Replies: 1
    Last Post: 16 May 2010, 08:55 AM
  3. cURL problems
    By meep in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 27 Nov 2008, 12:18 AM
  4. cURL Problems
    By Tatsujin in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 14 Jul 2008, 05:05 PM
  5. problems with curl
    By adornit in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 4 Jan 2008, 10:01 PM

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