I need help. I can’t make the drop box work. I am not the first to write about this, but I haven't yet seen an answer.
I am using:
Using KnowledgeTree 3.7.0.2.
Drop Box 1.1.0
I am having the same problem that is listed in three unanswered postings from Nov 27, 2009, Feb 11, 2010, and Apr 13, 2010:
forums.knowledgetree.com/viewtopic.php?f=20&t=19850
forums.knowledgetree.com/viewtopic.php?f=20&p=35535
forums.knowledgetree.com/viewtopic.php?f=20&t=20298&start=0
From the postings, it looks like KT Team Members couldn’t duplicate the errors.
Is it possible for a KT member to describe the steps that the KnowledgeTree app follows so that I can maybe find the source of the problem, because the error messages haven’t been any help yet.
I can see that the files get uploaded into
/var/tmp/knowledgetree-ce/uploads
And I can see the obfuscated files loaded into “Documents” folder
I can see a record or two (at most) gets entered into the "uploaded_files" table. The records in this table just keep growing because (I believe) something is stopping the process.
The dropbox works correctly on my 3.6.1 installation. It fails on an upgraded system to 3.7.0.2 and it fails on a fresh install of 3.7.0.2.
The ktdropbox.log gives me the following error:
2010-04-22 14:24:39,440 ERROR KnowledgeTree.DropBox.KTDropBoxLogger - An error occurred; whole queue failed. System.Exception: An error occurred; whole queue failed.
The /var/log/knowlegetree-ce/kt2010-4-22.apache.log.txt gives the me the following error:
2010-04-23 | 08:39:49 | DEBUG | 10029 | 44 | n/a | dms | sql | runQuery | START TRANSACTION
2010-04-23 | 08:39:49 | DEBUG | 10029 | 45 | n/a | dms | sql | autoInsert | Query: INSERT INTO uploaded_files (tempfilename,filename,userid,uploaddate,action) VALUES ('/var/tmp/knowledgetree-ce/uploads/2-20100423083949','Test 2.doc','2','2010-04-23 08:39:49','A')
2010-04-23 | 08:39:49 | ERROR | 10029 | 46 | n/a | dms | default | logQueryError | Query error: DB Error: constraint violation
2010-04-23 | 08:39:49 | DEBUG | 10029 | 46 | n/a | dms | sql | runQuery | ROLLBACK
2010-04-23 | 08:39:49 | ERROR | 10029 | 46 | n/a | dms | default | main | Cannot upload file 'Test 2.doc'. Temp location: '/usr/local/zend/tmp/php2RjLg9'. DB Error: constraint violation
Also, nothing ever gets entered into the "Documents" table unless I do a single file upload through KnowledgeTree.
I think this is all I know to help you help me and others.