Undefined module: HTTP_HOST

Author Message

paul bolger

Monday 23 February 2009 12:44:43 pm

I'm getting an odd, intermittent, error on both the home page of my dev site and the home page of my admin site - but not on any other pages.

Module not found
The requested module HTTP_HOST=dev.example.com could not be found.

and the relevant lines from the debug are:

Error: index	Feb 24 2009 07:04:40
Undefined module: HTTP_HOST=dev.example.com
Error: error/view.php	Feb 24 2009 07:04:40
Error ocurred using URI: /index.php?HTTP_HOST=dev.example.com

I'm running the site in hosts mode, with the main (dev) site on the dev subdomain (we intend to switch to the main domain on going live) and the admin site on the admin subdomain.

[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]=site
AvailableSiteAccessList[]=site_admin
MatchOrder=host
HostMatchType=map
HostMatchMapItems[]=dev.example.com;site
HostMatchMapItems[]=admin.example.com;site_admin

The weirdest thing is that requests to the two problematic pages are fine about 80% of the time, and produce these errors for the other 20%.
I've had a look at the Apache logs, but there is no indication that there is a problem there.

Finally: the source for the error page has the following:

<LINK rel="Alternate" href="http://dev.example.com/index.php?/layout/set/print/HTTP_HOST=dev.example.com" media="print" title="Printable version">

Any help would be much appreciated!

Paul Bolger

paul bolger

Thursday 26 February 2009 2:57:21 am

I tried the solutions mentioned here, but it's still doing it.

http://issues.ez.no/IssueView.php?Id=13286&activeItem=5

Paul Bolger

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 19:17:26
Script start
Timing: Jan 18 2025 19:17:26
Module start 'layout'
Timing: Jan 18 2025 19:17:26
Module start 'content'
Timing: Jan 18 2025 19:17:28
Module end 'content'
Timing: Jan 18 2025 19:17:28
Script end

Main resources:

Total runtime1.3742 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.1484152.6406
Module start 'layout' 0.00580.0034 741.789139.4609
Module start 'content' 0.00921.3634 781.2500491.8984
Module end 'content' 1.37260.0016 1,273.14848.4766
Script end 1.3742  1,281.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.2668160.0002
Check MTime0.00130.0923160.0001
Mysql Total
Database connection0.00130.096410.0013
Mysqli_queries1.323796.3213520.0255
Looping result0.00050.0370500.0000
Template Total1.335397.220.6677
Template load0.00270.195020.0013
Template processing1.332796.973520.6663
Template load and register function0.00010.007910.0001
states
state_id_array0.00080.055510.0008
state_identifier_array0.00310.228520.0016
Override
Cache load0.00230.1670190.0001
Sytem overhead
Fetch class attribute can translate value0.00050.037110.0005
Fetch class attribute name0.00150.112730.0005
XML
Image XML parsing0.00060.045510.0006
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00080.0581160.0000
String conversion0.00000.002040.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 7

Time used to render debug report: 0.0010 secs