[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
Fri Sep 7 19:54:36 UTC 2012


Hi Daniel,

Sorry, it's in the Ajax directory.

Julien

On 7 sept. 2012, at 21:00, Daniel Haehn <daniel.haehn at childrens.harvard.edu> wrote:

> Hi Julien,
> 
> I can't find this file: cdash/showtestmeasurementdatagraph.php
> 
> Where do I have to put the changes?
> 
> Thanks,
> Daniel
> 
> On Tue, Aug 28, 2012 at 3:51 AM, Julien Jomier
> <julien.jomier at kitware.com> wrote:
>> 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
>>> 
>>> 
> 
> 
> 
> -- 
> Daniel Haehn
> FNNDSC / BCH
> +1.857.218.5140



More information about the CDash mailing list