Skip to forum content
FrontAccounting forum
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
Active topics Unanswered topics
Search options
I have just checked the generated file in the company folder and it was good. I tried removing the line
include_once($path_to_root . "/includes/session.inc");
from the prn_redirect.php file. The new line disappeared. Not sure if not including session.inc would cause some problems.
according to some stackoverflow answers, if you declare php closing tags ?> there might be newline inserts
tried with chrome and firefox. still the same.
i would like to know the use of this function. since it has a Line Feed code "0x000A"
function _storeEof()
{
$record = 0x000A; // Record identifier
$length = 0x0000; // Number of bytes to follow
$header = pack("vv", $record, $length);
$this->_append($header);
}
LF "0A" exists as first character. Removing the first line removes the 0A. I think is not a browser issue
update:
I am using windows in my development machine. The Centos in production. I have noticed in CentOS that when viewing the raw output using notepad++. The excel file has one blank row on top. Removing that would make the excel work.
http://i61.tinypic.com/bg9qe.png
Hello, i experienced bug when generating excel reports.
My Server:
CENTOS 6.5
mysql 5.1
php 5.3
Nginx 1.6
Php-fpm
http://i57.tinypic.com/2vk00nr.jpg
Posts found: 5