Forums

PHP

This topic is locked

Warning: unlink(../../

Posted 02 Dec 2003 16:51:01
1
has voted
02 Dec 2003 16:51:01 Greta Garberini posted:
I am using phpupload in DW MX. The field is:
<input name="pdf" type="file" style="width:240" onChange="checkOneFileUpload(this,'PDF,MID,MP3',false,7500,'','','','','','')" value="<?php echo $row_rsDownloads['pdf']; ?>">

I have checked the maximum filesize which is 8MB. Sometimes, when I want to upload a file I get the error message:

<b>An error has occured saving uploaded file!

Filename: point11.PDF
File is not uploaded correctly or is empty.
Please correct and try again
Warning: unlink(../../pdfs/3/point11.PDF): No such file or directory in /data/www/ScriptLibrary/incPureUpload.php on line 378</b>

The /3/ is automatically generated by pureupload. It is a subcategory.

The upload mostly works. I get thsi message only with certain files and I have no idea what could be the reason.

Please help

Replies

Replied 17 Mar 2004 22:37:21
17 Mar 2004 22:37:21 MO ko replied:
Im looking for a solution to this problem as well. i have a form which can upload 5 images per a record. however problems occur when i use 1mb files...
i set the time out session for 6000 seconds which should be enough on my line...

Thanks M...
Replied 20 Mar 2004 20:39:53
20 Mar 2004 20:39:53 Phil Shevlin replied:
I believe both these issues are answered in the phpupload support forum

Reply to this topic