Bug (approved)

File uploading does not work (cannot create project directory) / #4264

Summary

v0.08
approved
Feb 26, 2007
100%
Feb 27, 2007 / pixtur
May 4, 2007 / pixtur
 

Attached files

Summary
index.php.htm
42263 bytes / ID 4268 / Feb 27, 2007
Show Details
 
reported by Arjan:

Error 20070226171400 WARNING: db/class_file.inc.php : 514 could not create target directory for uploaded file './_files/prj6/'
Error 20070226171400            pages/file.inc.php : 636 -> File::insert()
Error 20070226171400 std/class_pagehandler.inc.php : 719 -> fileEditSubmit()
Error 20070226171400                     index.php : 212 -> PageHandler::show("fileEditSubmit")
Error 20070226171400 
Error 20070226171400      Variables in insert():
Error 20070226171400               upload_filepath = ./_tmp/uploads/protokoll.txt
Error 20070226171400    v0.0796, fileEditSubmit, from 62.226.150.125,  uri:/index.php
Error 20070226171400 

Error 20070226230554 WARNING: db/class_file.inc.php : 513 mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Unable to access ./_files/prj19/ (./_files/prj19)
Error 20070226230554            pages/file.inc.php : 636 -> File::insert()
Error 20070226230554 std/class_pagehandler.inc.php : 719 -> fileEditSubmit()
Error 20070226230554                     index.php : 212 -> PageHandler::show("fileEditSubmit")
Error 20070226230554 
Error 20070226230554      Variables in insert():
Error 20070226230554               upload_filepath = ./_tmp/uploads/1.txt
Error 20070226230554    v0.0796, fileEditSubmit, from 85.179.22.74,  uri:/index.php
Error 20070226230554 
Error 20070226230554 WARNING: db/class_file.inc.php : 514 could not create target directory for uploaded file './_files/prj19/'
Error 20070226230554            pages/file.inc.php : 636 -> File::insert()
Error 20070226230554 std/class_pagehandler.inc.php : 719 -> fileEditSubmit()
Error 20070226230554                     index.php : 212 -> PageHandler::show("fileEditSubmit")
Error 20070226230554 
Error 20070226230554      Variables in insert():
Error 20070226230554               upload_filepath = ./_tmp/uploads/1.txt
Error 20070226230554    v0.0796, fileEditSubmit, from 85.179.22.74,  uri:/index.php
Error 20070226230554



Issue report

Minor
Have not tried
PHP 5.2.X
Streber 0.0795
2007-01-14 16:41
 

1 Comment

pixtur

Feb 27, 2007
Only on strato servers?
The reason for this bug was a strange behavior of the strato server. I could fix it, by removing a tailing slash from the project directory.


 

Comment / Update