Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error using addoc on CLI
#8
(11-10-2012, 07:14 PM)ericsmythe Wrote: I tried:
mysql> UPDATE tblDocumentContent SET mimeType = 'image/png', fileType = '.PNG' where document = '17';

That just left an ugly icon and nothing clickable to Download or View Online. What else do I need to do for a View Online of documents uploaded with adddoc?

Try '.png' instead of '.PNG'. The change in adddoc is basically the line where the document is added with addDocument(). The empty string in that method call must be the file type.

Uwe
Reply


Messages In This Thread
Error using addoc on CLI - by ericsmythe - 11-09-2012, 09:41 AM

Forum Jump:


Users browsing this thread: