Problem uploading files..
Archived from the Xataface Developers forum.
rlevin — Mon May 09, 2011 8:01 am
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.
shannah — Mon May 09, 2011 8:44 pm
- Check your error log. It should give a clue.
rlevin — Tue May 10, 2011 8:14 am
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?
shannah — Tue May 10, 2011 8:41 am
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…