Author Topic: Could not find class file for "ZIPARCHIVE"  (Read 5499 times)

Thomas

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Email
Could not find class file for "ZIPARCHIVE"
« on: May 07, 2009, 12:00:59 pm »
I initially posted this to the wrong category....

I have 1.4-beta2 installed (and love it... awesome job guys) and I just added php_zip.dll to php.ini, and I still get "Could not find class file for "ZIPARCHIVE".

Is this expected? Do I need to put it somewhere else? Let OpenGoo know about it?

Thanks,
Thomas

Caught Exception in AutoLoader: exception 'Exception' with message 'Could not find class file for "ZIPARCHIVE"' in C:\inetpub\wwwroot\opengoo\environment\classes\AutoLoader.class.php:105 Stack trace: #0 C:\inetpub\wwwroot\opengoo\environment\classes\AutoLoader.class.php(111): AutoLoader->loadClass('ZIPARCHIVE') #1 C:\inetpub\wwwroot\opengoo\application\functions.php(33): AutoLoader->loadClass('ZIPARCHIVE') #2 C:\inetpub\wwwroot\opengoo\application\controllers\FilesController.class.php(1731): __autoload('ZipArchive') #3 C:\inetpub\wwwroot\opengoo\environment\classes\controller\Controller.class.php(76): FilesController->zip_extract() #4 C:\inetpub\wwwroot\opengoo\environment\classes\controller\PageController.class.php(62): Controller->execute('zip_extract') #5 C:\inetpub\wwwroot\opengoo\environment\classes\Env.class.php(133): PageController->execute('zip_extract') #6 C:\inetpub\wwwroot\opengoo\init.php(150): Env::executeAction('files', 'zip_extract') #7 C:\inetpub\wwwroot\opengoo\index.php(9): require('C:\inetpub\wwwr...') #8 {main}

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: Could not find class file for "ZIPARCHIVE"
« Reply #1 on: May 08, 2009, 11:25:21 am »
Hi,

try making a php file at opengoo root directory with this code
<?php phpinfo(); ?>
to display all php settings.
If zip extension is correctly installed, it should appear in the listing.

if not, try copying that php_zip.dll to your "php/ext/" or "php/extensions/" directory.
And uncomment the line "extension=php_zip.dll" in your php.ini.

Thomas

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Email
Re: Could not find class file for "ZIPARCHIVE"
« Reply #2 on: May 09, 2009, 01:46:28 pm »
Thanks. Apparently I had a version of php_zip.dll that wasn't loading correctly.