[Cdash] Configuration page will not load

Julien Jomier julien.jomier at kitware.com
Mon May 17 22:21:14 UTC 2010


It seems that you don't have php5-mysql package enabled...

Julien

On 5/17/2010 6:20 PM, Konrad, Karl-Heinz wrote:
> Here is the fatal error I am receiving:
> [Mon May 17 15:15:49 2010] [error] [client xxx] PHP Fatal error:  Call to undefined function mysql_connect() in /var/www/html/CDash/cdash/pdo.php on line 41.
>
> I am going straight to the install page, but am also unable to access the index.php page.
>
> khk
>
> ---------------------------------------------------------------------------------------------------
> Weidlinger Associates, Inc. made the following annotations.
>
> “This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.”
>
> “Please consider our environment before printing this email.”
> ________________________________________
> From: Julien Jomier [julien.jomier at kitware.com]
> Sent: Monday, May 17, 2010 3:13 PM
> To: Konrad,  Karl-Heinz
> Cc: David Cole; cdash at public.kitware.com
> Subject: Re: [Cdash] Configuration page will not load
>
> It's probably due to a PHP fatal error. Can you access the index.php
> page? or is it going directly to the install.php page?
>
> Julien
>
> On 5/17/2010 6:08 PM, Konrad, Karl-Heinz wrote:
>> So I have updated php to 5.3 and verified that all other dependancies are properly installed and updated to CDash 1.6.4.  There are no indicated errors in /var/log/httpd/error_log file, but I am still getting only a blank white page when attempting to access gthe initial Web page for installation and configuration.
>>
>> Any help is appreciated.
>>
>> Karl-Heinz Konrad
>>
>>
>> ---------------------------------------------------------------------------------------------------
>> Weidlinger Associates, Inc. made the following annotations.
>>
>> “This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you.”
>>
>> “Please consider our environment before printing this email.”
>> ________________________________________
>> From: Julien Jomier [julien.jomier at kitware.com]
>> Sent: Friday, May 14, 2010 2:48 PM
>> To: David Cole
>> Cc: Konrad,  Karl-Heinz; cdash at public.kitware.com
>> Subject: Re: [Cdash] Configuration page will not load
>>
>> Hi Konrad,
>>
>> The '@' just remove the display of the warnings. The main issue is that
>> mysql_set_charset() is not defined:
>>
>>      Call to undefined function mysql_set_charset()
>>
>> Which version of CDash are you using? CDash 1.6.2 has the bug but CDash
>> 1.6.4 should fix the issue.
>>
>> Let us know,
>> Julien
>>
>> On 5/14/2010 5:45 PM, David Cole wrote:
>>> CDash lists "php (>   5.3)" as the version of php that it requires. If
>>> "mysql_set_charset" is not defined... then you are using an older
>>> version of php. According to php's documentation,
>>> (http://us2.php.net/manual/en/function.mysql-set-charset.php), that
>>> function has been around since php 5.2.3...
>>>
>>> You will just run into more and more problems that cannot be easily
>>> explained if you continue trying to get it to work with an older php...
>>> Try upgrading your system's php to something newer before continuing
>>> with CDash.
>>>
>>>
>>> HTH,
>>> David
>>>
>>>
>>> On Fri, May 14, 2010 at 5:34 PM, Konrad, Karl-Heinz<kkonrad at wai.com
>>> <mailto:kkonrad at wai.com>>   wrote:
>>>
>>>       After a bit of digging on the 'Net, I found a reference to the fatal
>>>       error.  By adding '@'<mailto:'@'>   to line 307, removed the fatal
>>>       error there.  Am still receiving blank CDash configuration page though.
>>>       KHK
>>>       ---------------------------------------------------------------------------------------------------
>>>       Weidlinger Associates, Inc. made the following annotations.
>>>
>>>       “This message and any attachments are solely for the intended
>>>       recipient and may contain confidential or privileged information. If
>>>       you are not the intended recipient, any disclosure, copying, use, or
>>>       distribution of the information included in this message and any
>>>       attachments is prohibited. If you have received this communication
>>>       in error, please notify us by reply e-mail and immediately and
>>>       permanently delete this message and any attachments. Thank you.”
>>>
>>>       “Please consider our environment before printing this email.”
>>>       ------------------------------------------------------------------------
>>>       *From:* cdash-bounces at public.kitware.com
>>>       <mailto:cdash-bounces at public.kitware.com>
>>>       [cdash-bounces at public.kitware.com
>>>       <mailto:cdash-bounces at public.kitware.com>] On Behalf Of Konrad,
>>>       Karl-Heinz [kkonrad at wai.com<mailto:kkonrad at wai.com>]
>>>       *Sent:* Friday, May 14, 2010 1:35 PM
>>>       *To:* cdash at public.kitware.com<mailto:cdash at public.kitware.com>
>>>       *Subject:* [Cdash] Configuration page will not load
>>>
>>>       Hello All,
>>>       I am installing CDash and have all the software requirements and
>>>       have followed the install Wiki.  The configuration page is blank and
>>>       I am receiving the following errors in /var/lkog/httpd/error_log.
>>>       [Fri May 14 13:14:18 2010] [error] [client xxx] PHP Warning:
>>>       Call-time pass-by-reference has been deprecated
>>>       - argument passed by value;  If you would like to pass it by
>>>       reference, modify the declaration of get_sql_compare_and_value().
>>>       If you would like to enable call-time pass-by-reference, you can set
>>>       allow_call_time_pass_reference to true in your INI file.
>>>       However, future versions may not support this any longer.  in
>>>       /var/www/html/CDash/filterdataFunctions.php on line 804
>>>       [Fri May 14 13:14:18 2010] [error] [client xxx] PHP Warning:
>>>       Call-time pass-by-reference has been deprecated -
>>>       argument passed by value;  If you would like to pass it by
>>>       reference, modify the declaration of get_sql_compare_and_value().
>>>       If you would like to enable call-time pass-by-reference, you can set
>>>       allow_call_time_pass_reference to true in your INI file.
>>>       However, future versions may not support this any longer.  in
>>>       /var/www/html/CDash/filterdataFunctions.php on line 804
>>>       [Fri May 14 13:14:18 2010] [error] [client xxx] PHP Warning:
>>>       Call-time pass-by-reference has been deprecated
>>>       - argument passed by value;  If you would like to pass it by
>>>       reference, modify the declaration of [runtime function name]().
>>>       If you would like to enable call-time pass-by-reference, you can set
>>>       allow_call_time_pass_reference to true in your INI file.
>>>       However, future versions may not support this any longer.  in
>>>       /var/www/html/CDash/filterdataFunctions.php on line 806
>>>       [Fri May 14 13:14:18 2010] [error] [client xxx] PHP Fatal error:
>>>       Call to undefined function mysql_set_charset()
>>>       in /var/www/html/CDash/cdash/pdo.php on line 307
>>>       Tried a Internet search with out luck.  If anyone can point me to
>>>       the right site or data, htat would be great.  Any and all help will
>>>       be greatly appreciated.
>>>       Karl-Heinz Konrad
>>>       ---------------------------------------------------------------------------------------------------
>>>       Weidlinger Associates, Inc. made the following annotations.
>>>
>>>       “This message and any attachments are solely for the intended
>>>       recipient and may contain confidential or privileged information. If
>>>       you are not the intended recipient, any disclosure, copying, use, or
>>>       distribution of the information included in this message and any
>>>       attachments is prohibited. If you have received this communication
>>>       in error, please notify us by reply e-mail and immediately and
>>>       permanently delete this message and any attachments. Thank you.”
>>>
>>>       “Please consider our environment before printing this email.”
>>>
>>>       _______________________________________________
>>>       Cdash mailing list
>>>       Cdash at public.kitware.com<mailto:Cdash at public.kitware.com>
>>>       http://public.kitware.com/cgi-bin/mailman/listinfo/cdash
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Cdash mailing list
>>> Cdash at public.kitware.com
>>> http://public.kitware.com/cgi-bin/mailman/listinfo/cdash



More information about the CDash mailing list