Hi,
UploadFields are currently giving me a 400 Bad Request error in my local dev environment - OS X PHP 5.3.17
The following is my error log for an UploadField request...
If anyone has any ideas, I'm all ears.
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP Warning: error_log(error_log) [<a href='function.error-log'>function.error-log</a>]: failed to open stream: Permission denied in /Users/bollox/Sites/ksid/__ss/framework/dev/LogFileWriter.php on line 61, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP Stack trace:, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 1. {main}() /Users/bollox/Sites/ksid/__ss/framework/main.php:0, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 2. Director::direct() /Users/bollox/Sites/ksid/__ss/framework/main.php:126, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 3. Director::handleRequest() /Users/bollox/Sites/ksid/__ss/framework/control/Director.php:112, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 4. AdminRootController->handleRequest() /Users/bollox/Sites/ksid/__ss/framework/control/Director.php:283, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 5. LeftAndMain->handleRequest() /Users/bollox/Sites/ksid/__ss/framework/admin/code/AdminRootController.php:88, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 6. Controller->handleRequest() /Users/bollox/Sites/ksid/__ss/framework/admin/code/LeftAndMain.php:353, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 7. RequestHandler->handleRequest() /Users/bollox/Sites/ksid/__ss/framework/control/Controller.php:149, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 8. RequestHandler->handleRequest() /Users/bollox/Sites/ksid/__ss/framework/control/RequestHandler.php:186, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 9. RequestHandler->handleRequest() /Users/bollox/Sites/ksid/__ss/framework/control/RequestHandler.php:186, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 10. UploadField->upload() /Users/bollox/Sites/ksid/__ss/framework/control/RequestHandler.php:168, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 11. Upload->loadIntoFile() /Users/bollox/Sites/ksid/__ss/framework/forms/UploadField.php:492, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 12. Upload->load() /Users/bollox/Sites/ksid/__ss/framework/filesystem/Upload.php:179, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 13. copy() /Users/bollox/Sites/ksid/__ss/framework/filesystem/Upload.php:158, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 14. errorHandler() /Users/bollox/Sites/ksid/__ss/framework/filesystem/Upload.php:158, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 15. Debug::warningHandler() /Users/bollox/Sites/ksid/__ss/framework/dev/Debug.php:697, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 16. SS_Log::log() /Users/bollox/Sites/ksid/__ss/framework/dev/Debug.php:254, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 17. Zend_Log->log() /Users/bollox/Sites/ksid/__ss/framework/dev/Log.php:176, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 18. Zend_Log_Writer_Abstract->write() /Users/bollox/Sites/ksid/__ss/framework/thirdparty/Zend/Log.php:428, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 19. SS_LogFileWriter->_write() /Users/bollox/Sites/ksid/__ss/framework/thirdparty/Zend/Log/Writer/Abstract.php:85, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14
[Thu Oct 04 23:34:52 2012] [error] [client 192.168.1.1] PHP 20. error_log() /Users/bollox/Sites/ksid/__ss/framework/dev/LogFileWriter.php:61, referer: http://www-dev.ksid.kgb/admin/pages/edit/show/14