[CDash] CDASH 2.4 on Ubuntu 16.04 LTS

Anthony Zukaitis azukaitis at gmail.com
Fri Aug 4 19:20:05 UTC 2017


I'm having a little trouble installing Cdash on 2.4 Ubuntu.
I followed the instructions and couldn't find php-5 so I just did php
default which is 7.

sudo apt-get install apache2 mysql-server php php-mysql php-xsl php-curl
php-gd libapache2-mod-php
I also needed to add: php-mbstring.

I did a checkout prebuilt of CDash.
I created a directory for Cdash and then created a link into the public
directory from the apache2 default home location
/var/www/html/CDash -> /var/www/CDash/public

I've set sql_mode="" in /etc/mysql/my.cnf.

Everything seems to work except when I tried to modify the project settings
via admin through the web interface.

Apache reports:
[Fri Aug 04 12:57:52.405147 2017] [:error] [pid 2285] [client 10.0.2.2:51818]
PHP Fatal error:  Uncaught Error: Cannot access private property
Project::$PDO in
/var/www/html/CDash_base/public/api/v1/project.php:277\nStack trace:\n#0
/var/www/html/CDash_base/public/api/v1/project.php(267):
populate_project(Object(Project))\n#1
/var/www/html/CDash_base/public/api/v1/project.php(92):
update_project(Array, Object(Project))\n#2
/var/www/html/CDash_base/public/api/v1/project.php(43): rest_post()\n#3
{main}\n  thrown in /var/www/html/CDash_base/public/api/v1/project.php on
line 277, referer: http://127.0.0.1:2080/CDash/createProject.php?projectid=2

Any thoughts?
Tony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cdash/attachments/20170804/c35c2bd7/attachment.htm>


More information about the CDash mailing list