I use the WAMP integration environment is not how to configure, my import code is right, the file will be uploaded to the specified folder, but the guide
In the time of the error, and then my extension=php_zip.dll in front of, but in the import will be
The following error, so annoying Oh, is not PHPH configuration which place is wrong or ask the heroes to help. The error code is as follows
Exception ' exception ' with message ' ziparchive Library was not
Enabled ' in d:\wamp\wamp\www\moca\app\lib\org\extend\phpexc\read\excel2007.class.php:240
Stack Trace:
#0 D:\wamp\wamp\www\Moca\App\Lib\Action\ProductAction.class.php (216): Phpexcel_reader_excel2007->canread ('./ Uploads/produ ... ')
#1 [Internal function]: productaction->showproduct ()
#2 D:\wamp\wamp\www\Moca\ThinkPHP\Lib\Core\App.class.php: Call_user_func (Array)
#3 D:\wamp\wamp\www\Moca\ThinkPHP\Lib\Core\App.class.php (159): App::exec ()
#4 D:\wamp\wamp\www\Moca\ThinkPHP\Lib\Core\Think.class.php (+): App::run ()
#5 D:\wamp\wamp\www\Moca\ThinkPHP\Common\runtime.php (237): Think::start ()
#6 D:\wamp\wamp\www\Moca\ThinkPHP\ThinkPHP.php (+): Require (' D:\wamp\wamp\ww ... ')
#7 D:\wamp\wamp\www\Moca\index.php (7): Require (' D:\wamp\wamp\ww ... ')
Reply to discussion (solution)
What is your PHP version?
My integration environment is Wamp 2.0 PHP is 5.2.6