upload zip file fails

When I upload a zip file:
- changes the page coding;
- an the error message is:
"Notice: Undefined index: existingfolder in /var/www/keptar/zp-core/admin-upload.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /var/www/keptar/zp-core/admin-upload.php:32) in /var/www/keptar/zp-core/admin-functions.php on line 205
"
... and because the file is on an sd card, and I must see the green light on the reader when active is, the pc doesn't read it.

Comments

  • This is most likely caused by an error in processing the zip file. There seems to be a bug in Zenphoto in reporting the error which results in the Notice and Warning messages and in not displaying an error from the upload. We will fix that.

    I would guess you probably have exceded the memory limits of your server with your zip upload.
  • acrylian Administrator, Developer
    Is it possible that you uploaded a .zip file created by Mac OS X own archiver? I have a far memory that these fail because of some Mac specific invisible files (I am on Mac, too). If that is the case try another compressor app.
  • nk Member
    Where can I exceding the memory limit? It runs on a virtual machine.
    The zip file was created on MSVista bussiness.
  • nk Member
    In an earlier version - maybe 2 years ago - it was in good trim to upload a zip file! Sorry, but I don't remember, wich version was that.
  • acrylian Administrator, Developer
    If you mean the server memory limit you can set that via php.ini for example.
  • Same file? in that case, why are you uploading it again.

    Your server will allocate memory to scripts to run in. This has absolutely nothing to do with whether it is a "virtual machine" or not. Sorry, but physical memory is always needed.

    How much memory the server allocates you depends on the setting of your memory limit in PHP.ini and the amount of memory the server things is "reasonalbe", whichever is less. It that memory is not sufficient to hold the zip file for processing, the processing will fail.

    There may have been some work done in the development release to reduce the memory requried for zip processing. You did not say what version of zenphoto you were using (either). Maybe the nightly build will be better for you.
Sign In or Register to comment.