Which of the following experts used PHPExcel and exported files reported "unreadable content "?
Source: Internet
Author: User
Who used PHPExcel and the exported file reported the "unreadable content" error, such as Question & nbsp;. I tested it. if the number of exported cells is small, it may be around 150, no problem. everything is normal. However, once the number of exported cells is greater than 150, the exported excel file cannot be opened. when the exported excel file is opened, an error "cannot be found." who used PHPExcel, the exported file reports "unreadable content" error.
For example, I tested it. if the number of exported cells is relatively small, about 150, it will be okay. everything works.
However, once the number of exported cells is greater than 150, the exported excel file cannot be opened. when the exported excel file is opened, an error is returned, "unreadable content is found"
Are there any restrictions on this, or how can we solve this problem?
------ Solution --------------------
Although excel does have a limit on the number of cells, it cannot be as small as 150.
You should check whether your program has encountered an error in the execution.
Of course, it may be that your available memory is too small.
The file cache method can be used to alleviate this conflict without increasing the available memory.
------ Solution --------------------
It may be a problem with your program.
1: lz can post on the stackoverflow or phpexcel official website.
2: lz can post code to give you some advice.
------ Solution --------------------
For ($ I = 0; I I <1215; $ I ++ ){
$ ObjActSheet-> setCellValueByColumnAndRow (0, $ I + 1, 'OK ');
}
------ Solution --------------------
How much can I use ini_set to increase the available memory of php?
I have no problem exporting more than 0.1 million data records.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service