Re: Unable to get the spreadsheet_excel_writer class running

From: Date: Wed, 25 Jun 2003 09:05:07 +0000
Subject: Re: Unable to get the spreadsheet_excel_writer class running
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6227@lists.php.net to get a copy of this message
Abhijeet Tale wrote:
Hi All, I am using PHP version 4.0.3pl1 which works fine with Apache as the web server. I am getting the following error whenever I am running a test program, Parse error: parse error, expecting T_STRING' or T_VARIABLE' or `'$'' in Spreadsheet/Excel/Writer/Workbook.php on line 161 Fatal error: Class spreadsheet_excel_writer: Cannot inherit from undefined class spreadsheet_excel_writer_workbook in Spreadsheet/Excel/Writer.php on line 45 Workbook.php has the following code in line 161,
        $this->_parser =& new Spreadsheet_Excel_Writer_Parser($this->_byte_order);
Any pointers to the solution? Thanks Abhijeet.
Abhijeet, You will need to upgrade PHP to at *least* PHP 4.1.0 before any help can be given. You really are using a version too old and more importantly too insecure. - Davey

« previous php.pear.general (#6227) next »