Hi,
Sheetnode work partially, but I have a error about TCPDF :
Fatal error: Undefined class constant 'PDF_RENDERER_TCPDF' in /var/www/sites/all/modules/sheetnode/modules/sheetnode_phpexcel/sheetnode_phpexcel.module on line 267
In /admin/config/content/sheetnode/phpexcel, I have following informations :
PHPExcel path : sites/all/libraries/phpexcel
Display export links is checked.
TCPDF path : nothing.
When I try to add following path "sites/all/libraries/tcpdf", I have Undefined class constant 'PDF_RENDERER_TCPDF' in my apache logs (and a Drupal 7's blank page).
TCPDF is downloaded an unziped to sites/all/libraries/tcpdf (example : sites/all/libraries/tcpdf/tcpdf.php).
In /admin/reports/status I have following error : "TCPDF library : TCPDF is NOT found at ."
Comments
Comment #1
deanflory commentedI'm having the same WSOD error:
I do have the Print module installed but I have it set to use the dompdf library and not the tcpdf library, so there should be no conflict even though the tcpdf library is in the libraries folder.
Prior to setting the correct directory path for the tcpdf library in the Sheetnode admin settings, I came across this new error in the Status Report page after a cron run:
Comment #2
deanflory commentedUpon returning to /admin/config/content/sheetnode/phpexcel after the WSOD error, the tcpdf path is now blank.
Comment #3
deanflory commentedSo, no response I guess after all this time? Setting to "needs work" to maybe garner some attention, otherwise it's useless to have that form field on the settings page and to state it's a "feature" if it doesn't work.
Fatal error: Undefined class constant 'PDF_RENDERER_TCPDF' in /home/account/public_html/drupal/sites/all/modules/sheetnode/modules/sheetnode_phpexcel/sheetnode_phpexcel.module on line 269
Comment #4
deanflory commentedFYI, one cannot even submit that PHPExcel form with or without a TCPDF library url, it always returns the White Screen Of Death, with the checkbox for exporting on or off.
Comment #5
grn commentedHi.
This is fixed in the current dev version.
Comment #6
infojunkieThanks for the update.
Comment #7
deanflory commentedI'm still getting the error, even after updating.
Comment #8
grn commentedPlease try to fill out the TCPDF path.
Comment #9
deanflory commentedI did before and received this error:
So, I performed the following:
I again received the same error:
Settings at /admin/config/content/sheetnode/phpexcel:
PHPExcel path:
sites/all/libraries/PHPExcel
[Y] Display export links
(checked)
TCPDF path
sites/all/libraries/tcpdf
Error Report
Status Report /admin/reports/status:
TCPDF library TCPDF NOT found at [empty path].
My only other option now is to try disabling, uninstalling and reinstalling the module if you're assuring me it's actually working properly and my issue is local and just something leftover or bad in my install.
Comment #10
infojunkieWhat is the version of your PHPExcel library? Sheetnode expects version 1.7.7 or later.
Comment #11
deanflory commentedI tried disabling, uninstalling and reinstalling the module, still gave the same error and I wasn't able to then enter in PHPExcel path or tcpdf path without the error. I then deselected the export checkbox and was only then able to get the PHPExcel path to stay upon save without WSOD error. When I then attempted to check the export box and save again it would trigger the error again.
Thanks for the info infojunkie, just what I needed. I updated the PHPExcel and Zend libraries and that appears to have corrected the problem by allowing the submission to complete with all options filled-in. So, anyone else having this problem just update PHPExcel, Zend, and tcpdf and it will work (as stated on the project page).
The Zend Framework v1.12.3 (ZendFramework-1.12.3) worked. The Zend Framework v2.2.0 (ZendFramework-2.2.0) did NOT work throwing the error that the library could not be found. May want to change GData labels to "Zend GData/Zend Framework" or "Zend Framework (previously GData)".
Thanks for your time.