[CDash] CDash 2.0.2/PostgreSQL from Ubuntu 15.10 to 16.04

Zack Galbreath zack.galbreath at kitware.com
Mon Apr 25 16:27:52 UTC 2016


Hi Francois,

On Sat, Apr 23, 2016 at 11:01 AM, Francois Bertel <fbopensource at gmail.com>
wrote:

> I had CDash 2.0.2 successfully working on Ubuntu 15.10, using a PostgreSQL
> database.
>
>
> I just upgraded to Ubuntu 16.04 and now when I go to my main CDash page
> (http://<myhostname>.local/CDash/), the output looks like some code that
> was not executed and passed directly to the client instead:
>
> the title of the page is ".$CDASH_MAININDEX_TITLE."
>
> the page itself starts with:
>
> '; $xml .= add_XML_value("title","CDash"); $xml .= "".$CDASH_CSS_FILE."";
> $xml .= "".$CDASH_VERSION.""; $Banner = new Banner;
> $Banner->SetProjectId(0); $text = $Banner->GetText(); if($text !== false) {
> $xml .= ""; $xml .= add_XML_value("text",$text); $xml .= ""; } $xml .=
> "".$_SERVER['SERVER_NAME'].""; $xml .= "".date("r").""; // Check if the
> database is up to date if(!pdo_query("SELECT updateid FROM build2update
> LIMIT 1") ) { $xml .= "1"; } $xml .= "
> [...]
>
> Do you know what could cause this behavior?
>


To me, this sounds like PHP is not being properly parsed by your web server.

Try creating a .php page that just calls phpinfo() and navigate to it using
your web browser.

http://php.net/manual/en/function.phpinfo.php

Let us know if this renders correctly or not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cdash/attachments/20160425/08cd67ef/attachment-0001.htm>


More information about the CDash mailing list