[Cdash] upgrade to 1.6.2 failures

Julien Jomier julien.jomier at kitware.com
Mon Mar 15 07:19:30 UTC 2010


mysql_set_charset() is implemented in PHP 5.2.3 and higher. You are 
probably running an older version of PHP. We have fixed this issue in 
CDash 1.6.3. (to be released soon). I you want you can download it using 
SVN at:

   https://www.kitware.com/svn/CDash/Release-1-6

The other option is to replace the line 307 in cdash/pdo.php:

   mysql_set_charset('utf8', $ln);

by

   mysql_query("SET NAMES 'utf8'");

and that should do the trick.

Let us know,
Julien


On 3/14/2010 7:51 PM, thehighhat wrote:
> Running 1.4.1 for many months successfully.  currently on rhel 5.3.
>
> Tried to upgrade to 1.6.2 using the wiki instructions and the zip file.
>
> Visited the CDash page... nothing displays.
>
> Confirmed httpd and mysqld running.
>
> Looking at logs.. found httpd errors:
>
> [Sun Mar 14 17:28:06 2010] [error] [client x.x.x.x] 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
> /path/to/CDash-1.6.2/filterdataFunctions.php on line 806
>
> [Sun Mar 14 17:28:06 2010] [error] [client x.x.x.x] PHP Fatal error:
> Call to undefined function mysql_set_charset() in
> /paht/to/CDash-1.6.2/cdash/pdo.php on line 307
>
>
> Thoughts?
> _______________________________________________
> Cdash mailing list
> Cdash at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/cdash
>



More information about the CDash mailing list