PDA

View Full Version : Attachment Issues while served from Filesystem


SnapOff Racing
10-23-2009, 04:52 PM
I dunno what the deal is but I moved all my custom avatars and my attachments from the db to the fs and they all moved just fine, no write errors or anything like that. The custom avatars all work just fine. They show up and members can upload new ones if they wish. My attachments on the other hand show up on the forum just fine but if I or any other member try to UPLOAD an attachment I get this error message.

http://i178.photobucket.com/albums/w261/DSMKilla1/attachment_issue.jpg

This makes NO SENSE because I just BARELY moved the files from the db to the fs, so if they were able to WRITE upon moving then why the hell wouldn't they still be able to write? I am running this on my own personal server here at home.

Windows Server 2008
PHP 5
MySql 5

I don't have any CHMODDING that needs to be enabled or anything like that obviously since this is a Windows Machine. I don't have SAFE MODE or anything like that turned on either. Also there is over 460 GB of free space on the drive as well.

When I have the attachments being served from the DB they work just fine, but only when I move them to the FS they don't work. Like I said they move just fine but I just cannot upload any new ones otherwise I get that error.

Any Ideas?

--------------- Added 1256327730 at 1256327730 ---------------

Nevermind I fixed it. For some reason I had to go into PHP.ini and SPECIFY a temp folder since my forums are on the D:\ drive and not the C:\ drive. I thought you only had to do that when running safe mode but apparently there is an option in PHP.ini under FILE UPLOADS where you have to specify a temp folder. :rolleyes: