PHP errors using speadsheet in release 15.0 (not 15.0alpha)
- Status
- Closed
- Subject
- PHP errors using speadsheet in release 15.0 (not 15.0alpha)
- Version
- 15.x
- Category
- Error
- Feature
- Spreadsheet
- Resolution status
- Fixed or Solved
- Submitted by
- bfw25
- Lastmod by
- Xavier de Pedro
- Rating
- Description
We use speadsheets in Tiki 12 since several years. Now we migrated two sites running on two different servers from 12.4 to 15.0 and from 13.0 to 15.0
In both cases I cannot view the list of spreadsheets. (already posted in the forum)
I tried to use the feature in the demo site. The Tiki 15 xersion there is 15.0alpha and spredsheets are running well.
I checked my error log and found
PHP Fatal error: Class 'PEAR' not found in ... /lib/sheet/excel/writer/format.php on line 44I tried a workaround and inserted before line 44 in format.php
require_once('PEAR.php');
Now I could view and create spreadsheetsI tried to import a sheet from CSV, but it failed with
PHP Fatal error: Call to undefined method TikiSheet::setSize() in ... /lib/sheet/grid.php on line 1234- Solution
I couldn't reproduce the issue with PEAR, neither in 15.x nor in 16.x.
But I could the error about setSize, and it should be fixed in branch 16.x in r61107, and in branch 15.x in r61108.
See: http://bfw-11773-5961.show.tikiwiki.org/tiki-sheets.php
Now you can see both sheets, including some charts, etc.- Importance
- 8
- Easy to solve?
- 7
- Priority
- 56
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 5961
- Created
- Monday 30 May, 2016 17:39:28 UTC
by bfw25 - LastModif
- Saturday 28 January, 2017 22:40:58 UTC