When I'm clicking on the zip icon, I redirect on homepage whith errors :

Notice : Undefined index: uri dans pclzip_zip_node_files_get_node_files() (ligne 259 dans /homez.349/porterso/www/sites/all/modules/pclzip_zip_node_files/pclzip_zip_node_files.module).
Notice : Undefined index: uri dans pclzip_zip_node_files_get_node_files() (ligne 259 dans /.../www/sites/all/modules/pclzip_zip_node_files/pclzip_zip_node_files.module).
Notice : Undefined index: uri dans pclzip_zip_node_files_get_node_files() (ligne 259 dans /.../www/sites/all/modules/pclzip_zip_node_files/pclzip_zip_node_files.module).
PCLZIP_ERR_INVALID_ATTRIBUTE_VALUE (-20) : Invalid type boolean. String expected for attribute 'PCLZIP_ATT_FILE_NAME'
Notice : Undefined index: uri dans pclzip_zip_node_files_get_node_files() (ligne 259 dans /.../www/sites/all/modules/pclzip_zip_node_files/pclzip_zip_node_files.module).

And there is no file to download...

Thanks.

CommentFileSizeAuthor
#3 patch_pclzip_zip_node_files_01.patch558 bytessuchdavid

Comments

ElRapazGrande’s picture

I have the same issue, did you solved it ?

ElRapazGrande’s picture

So i solved this issue bye changing this line, in the function pclzip_zip_node_files_get_node_files($node)

$nodefiles[] = drupal_realpath($file['uri']);

By this :

if(isset($file['uri']))
	$nodefiles[] = drupal_realpath($file['uri']);
suchdavid’s picture

Issue summary: View changes
StatusFileSize
new558 bytes

Thanks @ElRapazGrande, I've made a patch from it.