Originally Posted by Courage9
testcurl.php is not the file included with 1.3.9hCode:[url] => "http://www.zen-cart.com/testcurl.php"
It is located here /extras/curltester.php
Originally Posted by Courage9
testcurl.php is not the file included with 1.3.9hCode:[url] => "http://www.zen-cart.com/testcurl.php"
It is located here /extras/curltester.php
Zen-Venom Get Bitten
OK...I'll find the correct one and run it.
I couldn't find my original file "extras". I believe I deleted that file on the server years ago. I found my zen zip files for the 1.3.9h and extracted the extras folder and added it to my server. I then ran the curltester.php from the server location and this was what came back:
CURL Test Page
This page is intended for testing CURL behaviour. You should be accessing this page via CURLTESTER.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: xx.xxx.xxx.35.
Your system identifies itself as: Zen Cart(tm) - CURL TEST
Copyright © 2003 - 2013 Zen Ventures, LLC - Powered by Zen Cart™
Array
(
[url] => "http://www.zen-cart.com/testcurl.php"
[content_type] => text/html
[http_code] => 200
[header_size] => 179
[request_size] => 212
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.127616
[namelookup_time] => 0.014915
[connect_time] => 0.0705
[pretransfer_time] => 0.070516
[size_upload] => 37
[size_download] => 2182
[speed_download] => 17098
[speed_upload] => 289
[download_content_length] => 2182
[upload_content_length] => 0
[starttransfer_time] => 0.127475
[redirect_time] => 0
)
If you don't add ?paypal=1 to the curltester URL, then it won't test PayPal for you.
Use: /extras/curltester.php?paypal=1
Explained here: http://www.zen-cart.com/showthread.p...-Testing-Tools
A (28) Connect timed out message is ALWAYS a hosting problem, if you've properly got the CURL Proxy disabled. Especially if it "suddenly" breaks. Your hosting company will need to fix it.
.
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.
I finally ran the proper curltest and this came back:
28 connect() timed out!
Array
(
[url] => "https://api-3t.paypal.com/nvp"
[content_type] =>
[http_code] => 0
[header_size] => 0
[request_size] => 0
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 20.019488
[namelookup_time] => 0.00557
[connect_time] => 0
[pretransfer_time] => 0
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => -1
[upload_content_length] => -1
[starttransfer_time] => 0
[redirect_time] => 0
)
EOF
I am contacting my HOST immediately to get this resolved.
Thanks DrByte
I have a client with the same timing out errors and getting worse. I called PayPal. They tell me they are aware of ATT blocking some of their traffic. They suggested I email [email protected]. My email bounced back ' The recipient's mailbox is full and can't accept messages now. Please try resending this message later, or contact the recipient directly.'
I did a traceroute to api-3t.paypal.com and did confirm it times out.
Seems to me, and correct me if I'm wrong, but this is an ATT/PayPal problem and not anything to do with hosting, settings or configurations that we can control.
And if it is indeed an ATT problem then your hosting company needs to contact ATT, and you need to also report the problem to PayPal so they can also put pressure on ATT to resolve it. That IS something you can do: get the other parties to make the phone calls to fix it.
.
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.