Problem with php pear Spreadsheet_Excel_Writer

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Problem with php pear Spreadsheet_Excel_Writer

Postby hosadeeb » Sep 21st, '17, 05:54

Hi there,
I've just installed a php PEAR extension (Spreadsheet_Excel_Writer), and tried using it with the help of the documentation on the PEAR site. But every time I receive an error
Fatal error: Call-time pass-by-reference has been removed in /usr/share/pear/Spreadsheet/Excel/Writer/Worksheet.php on line 2490

The error seems to have been dealt with, but not reflected in the package available in the repository.

In addition to this, there seems to be no other documentation but the one available on the PEAR site itself. So, if there had been another way of doing things (i.e., of coding) in line with the version on the Mageia repository, I have no way of knowing... So, would the only solution be to un-install the package, and then reinstall it from gitHub instead?

Can anybody help with that?

Thanks in advance.
Last edited by doktor5000 on Sep 21st, '17, 15:13, edited 1 time in total.
Reason: added quote tags
hosadeeb
 
Posts: 114
Joined: Feb 6th, '13, 12:49

Re: Problem with php pear Spreadsheet_Excel_Writer

Postby doktor5000 » Sep 21st, '17, 15:18

hosadeeb wrote:So, would the only solution be to un-install the package, and then reinstall it from gitHub instead?

That seems like the case, as there has been no "official" release 0.9.4 with the patch yet (0.9.4 is flagged as beta here) as mentioned in e.g. https://pear.php.net/bugs/bug.php?id=19773

The other thing to do would be to open a Mageia bugreport, mention the error you get and the upstream bugreport and ask for an update, the patch can probably be backported to the mga6 version.
Check https://wiki.mageia.org/en/How_to_report_a_bug_properly
For completeness's sake and also to allow others to follow up on that bug report, please also post the link to it here in the thread, thanks.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18255
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest

cron