Error : PCLZIP_ERR_READ_OPEN_FAIL (-2) : Unable to open archive

hii m using this class
PclZip Overview

for zipping my files and downloading them on run time
when user click on download files

but getting an error i don’t know why everything was ok when running on windows local host
but now on linux centos m getting this error
Error : PCLZIP_ERR_READ_OPEN_FAIL (-2) : Unable to open archive ‘bollywood/a/Aashayein.zip’ in wb mode

permissions are 777 of folder where zip will save
why getting this error

Incorrect path may be?

well path is right as i said everything was working good on localhost on my window

well this problem is solved now problem is that folder is saving in default directory mean on the main where are files
even m changing path in pclzip.lib.php

this code is give in file

//define( 'PCLZIP_TEMPORARY_DIR', '/tmp/' );
  // define( 'PCLZIP_TEMPORARY_DIR', 'C:/Temp/' );
  if (!defined('PCLZIP_TEMPORARY_DIR')) {
    define( 'PCLZIP_TEMPORARY_DIR', '' );

and i have change that many times
like this
  define( 'PCLZIP_TEMPORARY_DIR', '/zipfiles/' );
  // define( 'PCLZIP_TEMPORARY_DIR', 'C:/Temp/' );
  if (!defined('PCLZIP_TEMPORARY_DIR')) {
    define( 'PCLZIP_TEMPORARY_DIR', '' );
and like this
  define( 'PCLZIP_TEMPORARY_DIR', 'zipfiles/' );
  // define( 'PCLZIP_TEMPORARY_DIR', 'C:/Temp/' );
  if (!defined('PCLZIP_TEMPORARY_DIR')) {
    define( 'PCLZIP_TEMPORARY_DIR', '' );
and like this
  //define( 'PCLZIP_TEMPORARY_DIR', '/tmp/' );
  // define( 'PCLZIP_TEMPORARY_DIR', 'C:/Temp/' );
  if (!defined('PCLZIP_TEMPORARY_DIR')) {
    define( 'PCLZIP_TEMPORARY_DIR', 'zipfiles/' );


but don't know zip save in default directory mean on the main
this is wriiten in comments of pcl file


  // ----- Optional static temporary directory
  //       By default temporary files are generated in the script current
  //       path.
  //       If defined :
  //       - MUST BE terminated by a '/'.
  //       - MUST be a valid, already created directory
  //       Samples :
  //define( 'PCLZIP_TEMPORARY_DIR', '/tmp/' );
  // define( 'PCLZIP_TEMPORARY_DIR', 'C:/Temp/' );
  if (!defined('PCLZIP_TEMPORARY_DIR')) {
    define( 'PCLZIP_TEMPORARY_DIR', '' );

what’s wrong why not changing path :frowning: plzz help