Unable to send http request

Author Message

Andreas Adelsberger

Tuesday 23 January 2007 1:45:09 am

Unable to send http request: http://www.ecb.int:80/stats/eurofxref/eurofxref-daily.xml

hi, i get this errormessage when i try to "update auto rates". that's why i have "N/A" as Auto rate value with the currency EUR. i guess that's why order total in my basket always shows 0. any ideas what is wrong here?

iam using ezPublish 3.9 on suse.

thanx andi

---------------------------------------
Styleflasher New Media OG
Websites. Games/Multimedia.

Andreas Adelsberger

Tuesday 23 January 2007 6:25:17 am

update auto rate still doesn't work but the error regarding total order beeing 0.00 is corrected. i just replaced the old basket.tpl with the newest one from the ezwebin extension and now it works perfectely. strange ...

---------------------------------------
Styleflasher New Media OG
Websites. Games/Multimedia.

Stuart Fenton

Thursday 08 March 2007 12:02:07 am

Did you get a fix for this?

I have the same error on a 3.9 site.

Rehgards
Stuart

-- Stuart

[email protected]
http://www.grandmore.com

Bruce Morrison

Tuesday 20 March 2007 7:28:44 pm

This looks to be a bug in eZHTTPTool::sendHTTPRequest that has been fixed in the trunk. It's an issue in 3.9.1 so it's likely to be in the next release 3.9.2

http://issues.ez.no/IssueView.php?Id=10452

To fix manualy edit lib/ezutils/classes/ezhttptool.php
and around line 296 replace

if ( $checkIP < 0 )
{
     return false;
}

with

if ( $checkIP == -1 or $checkIP === false )
{
    return false;
}

HTH

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.