I've been tasked to migrate an old PHP4.3 site (using CVS version control) to a more modern 5.2 install (lower version number for compatibility issues) on a shared GoDaddy server. I've gotten through most of the issues, but this particular one is a tough nut.
Inside the administration view, there is an export to excel function which uses the Spreadsheet_Excel_Writer (0.9.3) PEAR package. However, this line keeps throwing a fatal error:
aggregate( $sheet, 'Spreadsheet_Excel_Writer_Sheet_Patch' );
where $sheet
is defined by
$sheet =& $xls->addWorksheet( 'Customer Data' );
My issue is that aggregate
no longer exists in PHP5, and I cannot install runkit as I do not have root permission to execute the pecl install
command on the server.
I'd rather not have to rewrite the existing functionality, so is there a drop-in replacement for aggregate
that I can install without requiring root permissions?