Page 1 of 1

Adding attachments

PostPosted: Sat Mar 17, 2007 7:43 am
Author: .QUACK.Major.Pain
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: http://aaquacks.com/forum

PHP Version:
MySQL Version:


What was done before the problem appeared?
nothing


What was done to try to solve the problem?
nothing



De.scription and Message

When trying to add an attachment using different types of files, I get the same result everytime.
"Attempting to upload an empty file" - not sure if thats the correct message but very close to that.
The files are definitely not empty. I tried small files and large with the same result.

Re: Adding attachments

PostPosted: Sat Mar 17, 2007 11:37 am
Author: Helter
int acp/attachments check which folder its set to upload files to and that the folder is chmodded to 666

Re: Adding attachments

PostPosted: Sat Mar 17, 2007 12:52 pm
Author: .QUACK.Major.Pain
Ok I checked and it says 'files'
but,
Our forum is http://www.aaquacks.com/forum not /phpBB2. Does that matter?
Should I replace 'files' with 'www.aaquacks.com/forum/files'?

Also checked the chmod, and it's set to 777 - which is correct isn't it.

folders = 777
files = 666

Re: Adding attachments

PostPosted: Sat Mar 17, 2007 12:54 pm
Author: .QUACK.Major.Pain
Also had problems with downloads area. Can't upload. Upload says completed successfully but nothing shows. Have to use links for downloads to files stored on filefront.

Re: Adding attachments

PostPosted: Sun Mar 18, 2007 8:20 pm
Author: Helter
files is fine. The folder should be 777 so your fine there.
You may need to check php.ini on your server to see what the max file upload size is set to

Re: Adding attachments

PostPosted: Mon Mar 19, 2007 4:53 am
Author: .QUACK.Major.Pain
Noy sure if I'm looking in the right spot, but I looked in ACP>Tools>Php Info
there I found: upload_max_filesize is at 2MB.
If I recall, I even tried a file under that size, and said upload complete, but nothing showed..

Re: Adding attachments

PostPosted: Mon Mar 19, 2007 2:04 pm
Author: .QUACK.Major.Pain
Well I can't explain it, but I tried 8-10 different zip files to upload and said uploaded ok but they never showed.
Today I tried another zip file for the hell of it and PRESTO, it worked.

Don't know why. I haven't changed anything.

I then tried to download it, and I got this error:


The selected File does not exist anymore

404 File Not Found: The File ./http://www.aaquacks.com/forum/pafiledb/uploads6a6c020e3a15a6df8d8e8c03e1556bd6.rar does not exist.

Re: Adding attachments

PostPosted: Mon Mar 19, 2007 2:15 pm
Author: .QUACK.Major.Pain
ok I fixed it.

I had changed upload location to aaquacks.com/forum/pafiledb/uploads
and changed back to pafiledb/uploads.

But when I use FTP and check that folder, the file is not there that I can see.
Is that where it should be?

Re: Adding attachments

PostPosted: Mon Mar 19, 2007 2:24 pm
Author: Helter
you should see the files there. You will not be able to recognize them by name though as they are encripted. the directory should be

pafiledb/uploads/

Ive found quite few reports lately of different ftp clients reporting incorrect info. Ive not found the answer, but a few ppl have suggested either ftp server permissions, or incorrect dns setups

if you use CPanel, check the directory with the built in file manager

Re: Adding attachments

PostPosted: Mon Mar 19, 2007 4:41 pm
Author: .QUACK.Major.Pain
Well I found them.

But doesn't make any sense.

Upload directory is pafiledb/uploads
but files are stored in
pafiledb folder and not in the uploads folder

Question: I don't have a http://www.aaquacks/phpBB2 folder. I have http://www.aaquacks/forum. Would this affect outcome?

Re: Adding attachments

PostPosted: Thu Mar 22, 2007 1:03 pm
Author: .QUACK.Major.Pain
Bump....

Just wondering about my question..

Re: Adding attachments

PostPosted: Thu Mar 22, 2007 5:11 pm
Author: Helter
no that should not make any difference