You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

ZipArchive class not found

Received Response
12
Views
2
Comments
edited Apr 23, 2018 2:05PM in Customer Portal 2 comments

Content

Hi,

I am trying to export an object data including column names, save it as csv file and zip it. I have written a php to do the job and running it from File Manager. I am able to create, export data and save csv file. While trying to zip the file, it shows error saying "Class ZipArchive not found".

I tried google and found that zip functionality has to be enabled on php OR found few suggesting to install necessary software etc.

lines of code for zip is attached below.

any suggestions please?

Version

Service Cloud 17d

Code Snippet

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!