includes文件夹中缺少文件PHPExcel_Shared_String.php
我尝试了更改功能,但它不起作用 我正在与PHPExcel合作,我不断地得到这个错误 “includes文件夹中缺少文件PHPExcel_Shared_String.php。” 它不会显示为fatel错误或类似的错误。它只是在屏幕上打印出来 我使用的是PHPExcel版本1.8.0 IOFactory.phpincludes文件夹中缺少文件PHPExcel_Shared_String.php,php,phpexcel,Php,Phpexcel,我尝试了更改功能,但它不起作用 我正在与PHPExcel合作,我不断地得到这个错误 “includes文件夹中缺少文件PHPExcel_Shared_String.php。” 它不会显示为fatel错误或类似的错误。它只是在屏幕上打印出来 我使用的是PHPExcel版本1.8.0 IOFactory.php /** PHPExcel root directory */ if (!defined('PHPEXCEL_ROOT')) { /** * @ignore */
/** PHPExcel root directory */
if (!defined('PHPEXCEL_ROOT')) {
/**
* @ignore
*/
define('PHPEXCEL_ROOT', dirname(__FILE__) . '/');
require(PHPEXCEL_ROOT . 'Autoloader.php');
}
mypage.php
include('../../../assets/phpexcel/Classes/PHPExcel/IOFactory.php');
Autoloader.php
class PHPExcel_Autoloader
{
/**
* Register the Autoloader with SPL
*
*/
public static function Register() {
if (function_exists('__autoload')) {
// Register any existing autoloader function with SPL, so we don't get any clashes
spl_autoload_register('__autoload');
}
// Register ourselves with SPL
return spl_autoload_register(array('PHPExcel_Autoloader', 'Load'));
} //function Register();
这就是我为解决问题所做的
可能与我在这里发布之前尝试过的相同。仍然出现相同的错误“includes文件夹中缺少文件PHPExcel_Shared_String.php”