Loading...
 
Skip to main content

Uploading Word 97-2000 or ODT Files corrupts them in Tiki 50

Status
Closed
Subject
Uploading Word 97-2000 or ODT Files corrupts them in Tiki 50
Version
5.x
Category
  • Regression
Feature
File Gallery (elFinder or standard UI)
Resolution status
Fixed or Solved
Submitted by
Ed
Lastmod by
Marc Laporte
Rating
(0)
Description

Have Tiki 5.0 installation (both fresh and upgrade) on Windows XP. Accessing interface from localhost (same Windows XP). Uploaded both Word 2000 and ODT files (simple Lorem Ipsum text 1-2 pages) to file gallery. When dowloading and reopening files, I get errors in both open office and Word indicating that neither program recognizes the character encoding. The file gallery is storing these binary files in the database (not the file system).

Work Around - Save files as .rtf (rich text format), whic increases their size about 5-fold. Uploading and downloading and opening works perfectly.

When Tiki 5.0 is running on CentOS, this same error occurs. Seems to be independent of versioning versus non-versioning.

What's going on with the character encoding?!

Solution
Fixed in 5.1
Workaround

Work-around seems to be to configure tikiwiki to store files in a directory with or without "directory batch upload". Downloading files that were uploaded to Tiki and stored in the designated directory (and NOT the database) allowed for downloading and viewing the same files WITHOUT the corruption encountered when tiki was configured to store in the MySQL database.

Is the files-in-database feature now defunct?

Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3472
Created
Monday 05 July, 2010 14:19:47 UTC
by Ed
LastModif
Saturday 21 May, 2011 21:48:32 UTC


Show PHP error messages