[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xymonpdf config error




Hi !

I've got following error-messages in my ssl_log


[Wed Jul 08 20:15:23 2009] [error] [client]  File does not exist: /usr/lib/hobbit/server/www/favicon.ico
[client 131.169.252.43] PHP Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /usr/lib/hobbit/server/www/pdf/include/class.report.inc.php on line 9, referer: https://it-hobbit.desy.de/pdf/pdf.php

and in line 9 is written "public function Header()" ...

<?

//
// Declaration of the REPORT class
//
class REPORT extends TCPDF
{

public function Header()
{

        //Logo file and dimension. Feel free to change values !!

$this->Image('images/xym.jpg',10,8,30,15,'jpg','https://sf.net/projects/xymon');
        //Saut de ligne
        $this->Ln(10);
        //Police Times gras 15
        $this->SetFont('Times','B',15);
        //Decalage a droite
        $this->Cell(80);
        //Titre
$this->Cell(120,15,'Monitoring Report for '.trim($_POST['nom']),0,0,'C');
        $this->Line(20,25,190,25);
        //Saut de ligne
        $this->Ln(20);

} // End of header

What's could be wrong by me .. ?

thanks & cheers

       martin