| Project: | ProjectPier |
| Version: | 0.8.6-stable |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | phpfreak |
| Status: | patch - code needs work |
Jump to:
Description
If a file storage model chosen is „filesystem“, after uploading a file, a message „Failed to create folder something/upload/d4e51/22322/ca3f8“, but after that the file attempted to upload is displayed as if existent anyway. It is editable and downloadable, but 0 byte size.
Works both for private and public modes.
A workaround on InnoDB storage engine was applied before (http://www.projectpier.org/node/300#comment-425), but I don't think it is the cause.
Same with files stored in database. After an error (Failed to import file '/tmp/phpgtKjWQ' to the file repository (unique file id: 6c120790b2ff230dfeca57f3b25eb69581ab40b0)) the file is displayed. So I guess it's a general file upload error handling problem.
Confirmed still exist in 0.8.0.3
This issue has existed at least for 1 year : http://www.projectpier.org/node/285
I've applied the fix mentioned in that post, and it works great.
This problem is also mentioned here : http://stevejamesson.com/2008/10/07/project-pier-upload-error-failed-create-folder/
Thanks.
Hey guys,
On a brand new install I wasn't able to upload files either. I implemented the changes suggested on this ticket and it works really well on a Linux-based system. I would definitely recommend that this make it in the next release as it seems to be more effective code.
Cheers
Shane
PS - Thanks for developing the fix!
Fixed in 0.8.6
ProjectPier reports "You can upload files of any type. The max file size you are allowed to upload is 100MB"
I tried uploading a 17MB PSD (Photoshop) file and it returned with this error:
"Failed to import file '/tmp/php6Vl5bN' to the file repository (unique file id: a984b02daa1fb7b0f30115fac9c3497599742a62)"
When I check the 'Files' section, a 0-byte file exists. This is an absolute fresh install of 0.8.6 downloaded from SourceForge last night (Nov 14th, 2011).