[Cdash] Fatal error: require_once() [function.require]: Failed opening required 'cdash/log.php' when opening Graph of NamedMeasurement in Test submission

Julien Jomier julien.jomier at kitware.com
Tue Aug 28 07:51:08 UTC 2012


Hi Daniel,

This is a bug in CDash 2.0.2. You have two options. One is to get the 
"unstable" CDash 2.0.3 from the SVN repository (head of the CDash-2-0 
branch), or you can manually add the following lines at the beginning of 
the file cdash/showtestmeasurementdatagraph.php

$cdashpath = str_replace('\\', '/', dirname(dirname(__FILE__)));
set_include_path($cdashpath . PATH_SEPARATOR . get_include_path());

Julien

On 27/08/2012 22:17, Daniel Haehn wrote:
> Hi CDashers,
>
> I get the following error when I click on a graph of a
> NamedMeasurement in a test submission:
>
>
> Warning: require_once(cdash/log.php) [function.require-once]: failed
> to open stream: No such file or directory in
> /home/babymr5/public_html/x/cdash/cdash/pdo.php on line 18
>
> Fatal error: require_once() [function.require]: Failed opening
> required 'cdash/log.php'
> (include_path='.:/usr/lib/php:/usr/local/lib/php') in
> /home/babymr5/public_html/x/cdash/cdash/pdo.php on line 18
>
>
> My CDash is installed at http://x.babymri.org/cdash/ so the relative
> path for log.php is http://x.babymri.org/cdash/cdash/log.php.
>
> Is this a problem and CDash requires a top-level installation? Is
> there any path I can maybe adjust?
>
> Thank you,
> Daniel
>
>



More information about the CDash mailing list