| Project: | ProjectPier |
| Version: | 0.8.8-stable |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | new |
Jump to:
We have a critical error for our projectpier plattform. Fileupload of > about 600kb end up in errors like:
Failed to import file '/home/intersei/public_html/pp087/tmp/Application_KhaiTri.doc' to the file repository (unique file id: 481fb4f23add39dca4ab96d20d60e4300a504fbb)
The file is in the %projectpier%/tmp directory on the server.
Error.php output of the last days has frequent entries like:
Session "default" started at 2012-03-26T06:41:57+0000
#1 ERROR: Error: Cannot modify header information - headers already sent by (output started at /home/intersei/public_html/pp087/environment/functions/files.php:469) in '/home/intersei/public_html/pp087/environment/functions/files.php' on line 471 (error code: 2)
Time since start: 0.058067083358765 seconds
Would appreciate some help as plattform work is dependent on those file uploads, thx, Dominik
I checked today that the file is uploaded in the tmp folder (I downloaded the file via filezilla again to check that the upload was without errors), so the error must happen somewhere later on, I guess at database import. Any help appreciated very much as we are still not able to upload any larger file size, thx
Weird. Your table pp_file_repo had an incorrect primary key. It was `id` only. It should be `id`+`seq`.
The SQL to fix this:
ALTER TABLE `{$tp}file_repo` DROP PRIMARY KEY, ADD PRIMARY KEY(`id`,`seq`);It is in the upgrade SQL file so strange...
Works fine now.
great thx....