Jump to content

Archived

This topic is now archived and is closed to further replies.

efficacious

[SOLVED] Fatal error: Class 'ZipArchive' not found

Recommended Posts

Hello everyone,

 

I'm trying to expiriment with the ZipArchive functions and I keep getting this error

 

Fatal error: Class 'ZipArchive' not found

 

I've installed the DLL and my phpINFO page shows that zip is enabled.

 

any ideas?

 

thanks all,

eff

Share this post


Link to post
Share on other sites

This is what phpinfo says:

 

ZLib Support  enabled  

Stream Wrapper support  compress.zlib://  

Stream Filter support  zlib.inflate, zlib.deflate  

Compiled Version  1.2.3  

Linked Version  1.2.3  

 

 

if that helps

Share this post


Link to post
Share on other sites

does anyone know how to fix this?

 

or could you point me towards something else to use.

 

I mainly just need to create zips thankx

Share this post


Link to post
Share on other sites

AH EWW IIS. >_< *Dies*  Uhh, I don't see why it wouldn't work actually.  Could be an IIS bug? >_<  Google it and see if anyone has similar problems.

Share this post


Link to post
Share on other sites

i've been googling ALL day.. found absolutely nothing...

came across a few posts with the same error messsages but they were never responded to.

 

there must be some reason ZipArchive don't work.

 

 

(my boss is a microsoft fan >P)

Share this post


Link to post
Share on other sites

i've been googling ALL day.. found absolutely nothing...

came across a few posts with the same error messsages but they were never responded to.

 

there must be some reason ZipArchive don't work.

 

 

(my boss is a microsoft fan >P)

 

Tell your boss that Bill Gates gives Apache two thumbs way up?

Share this post


Link to post
Share on other sites

hehe

 

sry dark.. you are going to hate me!

 

::) ??? ::)

 

I'm such a noob:

 

Yea so after i first uncommented the php_zip.dll it says to restart the service

so I went into IIS stop and started the service again..

 

Would not work..

 

after all this searching I figure wth why not just restart the server compeletly

and wouldn't you know it...

 

 

instead of getting:

Fatal error: Class 'ZipArchive' not found

 

i got:

OPENED ARCHIVE!
Notice: Undefined variable: numFiles in 

 

so its working now *palm../FACE!

Share this post


Link to post
Share on other sites

I didn't think I needed to tell you to restart the server. ._.  Otherwise I would have.

Share this post


Link to post
Share on other sites

the zlib in the phpinfo is wat threw me..

 

says this now in phpinfo:

zip
Zip  enabled  
Extension Version  $Id: php_zip.c,v 1.96 2007/01/06 20:25:14 nlopess Exp $  
Zip version  @PACKAGE_VERSION@  
Libzip version  0.7.1  

Share this post


Link to post
Share on other sites

well i figured restarting the service was the same thing...

i guess not..

 

i'm to used to my apache at home.. all i have to do there is stop and restart the webserver.

Share this post


Link to post
Share on other sites

thank you for helping me dark,

eff

 

No problem, just mark this topic as solved.

Share this post


Link to post
Share on other sites

hehe

 

sry dark.. you are going to hate me!

 

::) ??? ::)

 

I'm such a noob:

 

Yea so after i first uncommented the php_zip.dll it says to restart the service

so I went into IIS stop and started the service again..

 

Would not work..

 

after all this searching I figure wth why not just restart the server compeletly

and wouldn't you know it...

 

 

instead of getting:

Fatal error: Class 'ZipArchive' not found

 

i got:

OPENED ARCHIVE!
Notice: Undefined variable: numFiles in 

 

so its working now *palm../FACE!

 

 

Hey I wasted my time too. Right, I use WAMP on XPSP2. Just restarted the webserver and it all worked.

 

Thanks alot guys. Dont forget to enjoy Life.  :P  !!!

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.