little doc for errors with no error messages
Brought to you by:
vblavet
hello!
well, i´m not to much into the server side thing and
need a little info/doc about when things do not work or
where to check if an specific error message comes or no
error comes return
and when no zip or the half of a zipfile was created.
i´m tying to zip some mp3 files (with a test 1 x 5MB file)
for a download but the server breaks after 5 sec.
(instead of 30 sec. timeout) and i have no idea where to
look for.
An archiv with PK header and filename has been written
to the new archive file but notthing more..
is there any additional info or can you help?
(this only happens on the linux server)
flobee
Logged In: YES
user_id=313981
When you say "breaks afetr 5 sec." do you mean, the php
script times out ? Or it "normally" stops ?
Did you try to have error feedback from the PclZip lib ?
Sample :
$v_list = $archive->create('file1.mp3,file2.mp3,file3.mp3');
if ($v_list == 0) {
die("Error : ".$archive->errorInfo(true));
}
Logged In: YES
user_id=196616
hello! yes, i tried
"die("Error : ".$archive->errorInfo(true));"
and there was no error return, so i thing the server breaks it
because of taking to much power but at least i should get a
messag but i dont :-(
any ideas?
Logged In: YES
user_id=313981
"this only happens on the linux server" ... did you try it on a
test machine (like your personnal windows) without pb ?
What is the memory limit allocated for PHP on the linux
server ? I'musing "in memory" compression, without temporary
files, so for big mp3 files it might be a problem ...