包含文件夹中缺少PHPExcel_Shared_String.php文件


The file PHPExcel_Shared_String.php is missing in the includes folder

我已经尝试了更改功能,但它不起作用。

我正在使用PHPExcel,我不断得到这个错误"包含文件夹中缺少PHPExcel_Shared_String.php文件。"

不会显示为致命错误或类似的错误。它只是在屏幕上打印出来

我正在使用PHPExcel 1.8.0版本。

IOFactory.php

/** 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();

这是我所做的解决我的问题。

http://www.ozzu.com/programming-forum/phpexcel-t109746.html