Home > Backend Development > PHP Tutorial > PHPExcel导入文件就报错,求解~

PHPExcel导入文件就报错,求解~

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 14:04:54
Original
1364 people have browsed it

报错内容如下:

Fatal error: Uncaught exception 'Exception' with message 'Multibyte function overloading in PHP must be disabled for string functions (2).' in F:\xampp\htdocs\MyTest\PHPExcel\Classes\PHPExcel\Autoloader.php:34 Stack trace: #0 F:\xampp\htdocs\MyTest\PHPExcel\Classes\PHPExcel.php(32): require() #1 F:\xampp\htdocs\MyTest\PHPExcel\ee.php(3): require_once('F:\xampp\htdocs...') #2 {main} thrown in F:\xampp\htdocs\MyTest\PHPExcel\Classes\PHPExcel\Autoloader.php on line 34
Copy after login


回复讨论(解决方案)

我不会猜谜语

看demo就行了

在你运行系统的PHP的php.ini 文件中像下面一样注释掉这行试试,记得重启php  
;mbstring.func_overload = 2

还是看PHPExcel的demo就ok了!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template