PHPExcel_Shared_String.php file is missing from include folder

I tried change function and didn't work.

I am working with PHPExcel and I keep getting this error "PHPExcel_Shared_String.php file is missing in include folder.

it doesn't show up as a fatel bug or anything like that. It's just a screen print

I am using PHPExcel version 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();

      

+3


source to share


1 answer


This is what I did to fix my problem.



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

0


source







All Articles