Loading...
 
Skip to main content

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
(0)
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 44

I tried a workaround and inserted before line 44 in format.php
require_once('PEAR.php');
Now I could view and create spreadsheets

I 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+
Demonstrate Bug (older Tiki versions)
Ticket ID
5961
Created
Monday 30 May, 2016 17:39:28 UTC
by bfw25
LastModif
Saturday 28 January, 2017 22:40:58 UTC


Show PHP error messages