News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

dhl timing out

Started by mrbietz, June 13, 2008, 08:55:32 AM

Previous topic - Next topic

mrbietz

Has anyone tried using the DHL module?


I did everything the instructions said and I still cant get it to work.  I send DHL all the information and they acknowledged my emails and changed my account to production stage.

i am using virtuemart 1.1 and joomla 1.0.15

what happens is when it is enabled in the ecommerce system it just times out the browser.

any suggestions?

aravot

Could be something blocking request, I have it working on my site, Joomla 1.5.3 and VM 1.1.0, php5

mrbietz

Hi thanks for your response.

i narrowed the problem down to godaddy.  because it works fine on servers that aren't hosted by godaddy.....

but i have the USPS module working and i have the proxy server set up.

is there a way to get DHL to work on godaddy servers?

mrbietz

DHL gets its' requests from https://ecommerce.airborne.com/ is there away to allow this to pass through the godaddy proxy

like so? :

but i don't know where in connectiontools.class.php to put something like this.

I am using virtuemart 1.1.1

<?

$URL="https://eCommerce.airborne.com/";
if (isset($_GET["site"])) { $URL = $_GET["site"]; }
$ch = curl_init();
echo "URL = $URL <br>n";
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE);
curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
curl_setopt ($ch, CURLOPT_PROXY,"http://proxy.shr.secureserver.net:3128");
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt ($ch, CURLOPT_URL, $URL);
curl_setopt ($ch, CURLOPT_TIMEOUT, 120);
$result = curl_exec ($ch);
echo "<hr><br>n";
echo 'Errors: ' . curl_errno($ch) . ' ' . curl_error($ch) . '<br><br>';
echo "<hr><br>n";
curl_close ($ch);
print "result - $result";
echo "<hr><br>n";

?>