Problem with setup/info page

Author Message

Viktor Juhász

Wednesday 29 July 2009 5:44:29 am

When I try to see the setup/info page, I always get an error message:

Unexpected error, the message was : <Linux system info reader>: can't scan OS for system values. in /usr/share/php/ezc/SystemInformation/system/readers/info_linux.php on line 93

I'm using eZ 4.1.3 and I tried eZ Components 2009.1 and 2009.1.1 too. There is a Gentoo Linux 5.2.10 on the server.

Any idea? I'm a dumb or is it a bug?...

V. van Velzen

Wednesday 05 August 2009 4:35:44 am

I'm having the exact same problem. Also using EZP 4.1.3 and the EZComponents it came bundled with.

The path named in the error is slightly different: lib/ezc/SystemInformation/src/system/readers/info_linux.php

(note the src directory)

Has anyone got any idea what causes this problem?
TIA for any help...

Derick Rethans

Wednesday 05 August 2009 5:02:23 am

Can the user that the webserver runs under read both: /proc/cpuinfo and /proc/meminfo ?

V. van Velzen

Wednesday 05 August 2009 5:29:23 am

No, in my hosting environment both those files belong to root and are only readable by root. Is this something I should take up with my provider then?

André R.

Wednesday 05 August 2009 8:03:04 am

No, we need to handle the exception thrown by ezc in eZ Publish. So a eZ Publish bug.

UPDATE: issue and patch created, http://issues.ez.no/IssueView.php?Id=15249&activeItem=1

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 31 2025 00:22:12
Script start
Timing: Jan 31 2025 00:22:12
Module start 'layout'
Timing: Jan 31 2025 00:22:12
Module start 'content'
Timing: Jan 31 2025 00:22:13
Module end 'content'
Timing: Jan 31 2025 00:22:13
Script end

Main resources:

Total runtime1.0339 sec
Peak memory usage8,192.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.2500151.2266
Module start 'layout' 0.00510.0037 739.4766220.7188
Module start 'content' 0.00891.0241 960.19534,538.5781
Module end 'content' 1.03300.0009 5,498.773411.8359
Script end 1.0339  5,510.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.3595160.0002
Check MTime0.00120.1169160.0001
Mysql Total
Database connection0.00080.079110.0008
Mysqli_queries0.939790.8907670.0140
Looping result0.00060.0580650.0000
Template Total0.986295.420.4931
Template load0.00190.179420.0009
Template processing0.984395.201820.4921
Template load and register function0.00210.207210.0021
states
state_id_array0.00110.103910.0011
state_identifier_array0.00060.059020.0003
Override
Cache load0.00160.1540220.0001
Sytem overhead
Fetch class attribute can translate value0.00190.186940.0005
Fetch class attribute name0.00230.219870.0003
XML
Image XML parsing0.00370.359440.0009
class_abstraction
Instantiating content class attribute0.00000.001370.0000
General
dbfile0.00420.4049230.0002
String conversion0.00000.000940.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
5content/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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs