Page History
...
Wiki Markup |
---|
When opening the resulting exported HTML-coded Excel file (.xls), a dialog similar to the following may be displayed: !ExcelWarningDialog.png|align=center,border=1!
Simply click \[Yes\] to proceed. |
...
- either change the "short_open_tag" in the /etc/php.ini file
toNo Format short_open_tag = On
- or change line 15 of the SaveToExcel.php file,
from
toNo Format <body><?=$_REQUEST['datatodisplay']?>
No Format <body><?php echo $_REQUEST['datatodisplay']?>
Of these, we recommend updating the /etc/php.ini file.
BTW, after either change, as Yves Thorrez (Universitair Ziekenhuis Brussel) reminded us, one must clear the browser cache (close & restart browser session) to ensure the change takes effect.
Furthermore, if this "blank file" problem persists, then try the following:
- check for and remove any extraneous "short_open_tag = Off" lines in the /etc/php.ini file
- check for and remove any extraneous "short_open_tag = Off" lines in other files in the /etc/php.d directory
- try to restart both the php-fpm (if applicable) & the Apache services:
No Format /etc/init.d/php-fpm restart, (or service php-fpm restart) /etc/init.d/httpd restart, (or service httpd restart)
- then run
No Format chkconfig httpd on chkconfig php-fpm on
- then check to ensure:
should result in something like short_open_tag => On => OnNo Format php \-i \| grep short_open_tag
Incidentally, we determined that this caveat also existed for v1.0-2.0 of this web client plugin.
We do hope to have an updated SaveToExcel.php file (that takes care of this caveat without requiring the deployers to update their /etc/php.ini files) included in the next release of this web client plugin.