Page 1 of 1

Problem uploading files..

PostPosted: Mon May 09, 2011 8:01 am
by rlevin
I have a field called FilePath:

[FilePath]
Type = container
widget:type = file

I created a new directory called FilePath in the tables/testTable/ directory that contains this field. I made sure the folder was writable to the server.
When I upload files it tells me it was successful, but when I check the directory there are no files in it. I tried txt, html, and php files.

Re: Problem uploading files..

PostPosted: Mon May 09, 2011 8:44 pm
by shannah
1. Check your error log. It should give a clue.

Re: Problem uploading files..

PostPosted: Tue May 10, 2011 8:14 am
by rlevin
Is there an error log just for php? When in go into the php.ini theres a line "error_log = syslog". Checking the system log it returns a 200, which is successful. Am I looking in the wrong area?

Re: Problem uploading files..

PostPosted: Tue May 10, 2011 8:41 am
by shannah
It would be the apache error log likely. The most common location for the apache error log is /var/log/httpd/error_log, but since it can be customized it could be anywhere. You can check your apache config for the actual location.

It is a good idea to check the error log periodically just to see what's going on...