ListMailPRO Email Marketing Software Forums

ListMailPRO Email Marketing Software Forums => General Help & How-To => Topic started by: funston on September 08, 2004, 09:31:44 pm

Title: File attachments not uploading and unable to set attachments
Post by: funston on September 08, 2004, 09:31:44 pm
Good evening Dean,

I have started getting an error message when i try to upload a pdf file into the attach directory. Permissions are 777 on the directory. It used to work just fine.

Here is the error message I get:
Warning: move_uploaded_file(/usr/local/apache2/htdocs/listmail/attach/
SpamDoorMan.pdf):
failed to open stream: Permission denied in /usr/local/apache2/htdocs/
listmail/upload.php on line 73
File Uploaded: SpamDoorMan.pdf (326125 bytes)

Line 73 of upload.php reads as follows:
move_uploaded_file($HTTP_POST_FILES['userfile']['tmp_name'], $rootp."/
        attach/".$HTTP_POST_FILES['userfile']['name']);

I have uploaded the pdf file manually and copied the file to the correct location inside the attach directory put I'm still not allowed or able to set the attachment.

The only thing I have changes is the password. Everything else is working Would changing the password cause this problem

Any suggestion for troubleshooting this would be greatly appreciated. Thanks in advance.

Yours very sincerely and respectfully,
Frank F Eckdall

PD. I just uploaded a fresh version of upload.php and it now appears that I can upload, but I am still unable to set the attachment.
Title: File attachments not uploading and unable to set attachments
Post by: DW on September 13, 2004, 12:36:32 pm
Try uploading every ListMail file except config.php fresh.  Perhaps an apostrophe is causing a problem, though, I thought I had this tested.