sseeley Posted May 29, 2010 Share Posted May 29, 2010 I am getting this error when trying to create a spreadsheet, could anyone help me? Fatal error: Class 'PHPExcel_Shared_ZipStreamWrapper' not found in /home/mypcguy2/public_html/accountstest/PHPExcel/IOFactory.php on line 37 Many thanks Quote Link to comment Share on other sites More sharing options...
sseeley Posted May 29, 2010 Author Share Posted May 29, 2010 THis is the code at line 37... if (!defined('PHPEXCEL_ROOT')) { /** * @ignore */ define('PHPEXCEL_ROOT', dirname(__FILE__) . '/../'); require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php'); PHPExcel_Autoloader::Register(); PHPExcel_Shared_ZipStreamWrapper::register(); // check mbstring.func_overload if (ini_get('mbstring.func_overload') & 2) { throw new Exception('Multibyte function overloading in PHP must be disabled for string functions (2).'); } } Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted May 29, 2010 Share Posted May 29, 2010 Sounds like you don't have all the components of the class on your machine. Ken Quote Link to comment Share on other sites More sharing options...
sseeley Posted May 29, 2010 Author Share Posted May 29, 2010 Could anyone give me any ideas on how I can check this? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.