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

stuart@grandmore.com
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.

eZ debug

Timing: Jan 18 2025 16:16:18
Script start
Timing: Jan 18 2025 16:16:18
Module start 'layout'
Timing: Jan 18 2025 16:16:18
Module start 'content'
Timing: Jan 18 2025 16:16:20
Module end 'content'
Timing: Jan 18 2025 16:16:20
Script end

Main resources:

Total runtime1.5344 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0088 589.0313152.6250
Module start 'layout' 0.00880.0039 741.656339.4453
Module start 'content' 0.01261.5203 781.1016598.1172
Module end 'content' 1.53290.0015 1,379.218812.1641
Script end 1.5344  1,391.3828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.2563160.0002
Check MTime0.00150.0968160.0001
Mysql Total
Database connection0.00130.086410.0013
Mysqli_queries1.470795.8462620.0237
Looping result0.00080.0495600.0000
Template Total1.486196.820.7430
Template load0.00210.140020.0011
Template processing1.483996.708420.7420
Template load and register function0.00010.007810.0001
states
state_id_array0.00180.115610.0018
state_identifier_array0.00250.160120.0012
Override
Cache load0.00180.1163290.0001
Sytem overhead
Fetch class attribute can translate value0.00050.032230.0002
Fetch class attribute name0.00110.072570.0002
XML
Image XML parsing0.00300.192730.0010
class_abstraction
Instantiating content class attribute0.00000.000980.0000
General
dbfile0.00260.1712280.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs