This topic is locked

PHPExcel_RichText_TextElement not found

12/30/2011 10:25:43 PM
PHPRunner General questions
C
chanpeter88 author

Fatal error: Class 'PHPExcel_RichText_TextElement' not found in /var/www/clients/client2/web4/web/phprunner/6/plugins/PHPExcel/RichText.php on line 92
i am testing phprunner 6 and import a xls doc created from openoffice (save as 97/2000/xp excel). this errors occurs.
if i save as excel 5 or excel 95, no problem but all unicode text becomes ???????
pls advise

C
cgphp 12/31/2011

Switch to LibreOffice (http://www.libreoffice.org/). It is a free and open source office suite developed by The Document Foundation as a fork of OpenOffice.org. By the 3.4.2 version, the release was considered suitable for enterprises. You can export as 97/2000/xp or Excel 2007. The import functionality in PHPRunner works fine if you import an excel file created in LibreOffice.

C
chanpeter88 author 1/4/2012

i still got the error using the latest libreoffice 3.4.4. the doc is created from importing a csv and exporting as microsoft excel. if the xls is created originally using openoffice, the import is ok.
does the error mean missing php classes?

C
cgphp 1/4/2012

PHPrunner can only import CSV or EXCEL files with field names in the first line. Is the CSV file in the right format?