Loading...
 
Skip to main content

Features / Usability


Re: Re: Re: Re: Re: Re: File Upload Fatal Error in 9.4

posts: 30

Rick's workaround is a success. While I continue to be concerned that there's a config error lurking somewhere in my Tiki installation, limiting upload filesize for the database to 2.50MB, I am pleased to have an alternate solution.

As I have found many mentions of this problem on the Internet, but no solutions other than Rick's, I'll share my experience and maybe it will help others.

First, get a little background info from the Tiki Documentation on File Storage. Supplement this with info from Tiki for Smarties on Configuring File Galleries.

Following that guidance...

1) I created a directory in my Tiki main directory called "uploads". Permissions defaulted to 755 and I left them that way.

2) In that directory I created a new text file named ".htaccess", and in that text file I placed a single line of text: "Options All -Indexes" (without the quotes). This prevents web browsers from peering into this directory, and make the Tiki File Gallery the way to access these files.

3) I logged into my Tiki site as admin, and went to Admin Home > File Galleries. There, under the "General Settings" tab, I set Storage to "Store in Directory". That revealed a new field called "Path to store files in the file gallery:", where I entered "uploads/" (sans quotes). Clicked on the Change Preferences button at the bottom to save the changes.

4) After I had saved those changes (not before), I was able to click on that page's button labeled "Move files from database to directory". This successfully moved the few small image files I had already uploaded to the database, and the article/wiki pages that used those photos continued to work.

So far this solution appears fine. I will post again if it creates unforeseen troubles.

Real credit goes to Rick, who made this solution possible for me. As a new Tiki user looking forward to expansion of my Tiki site, I'm a little concerned that Rick appears to be singlehandedly providing forum support and quality documentation (i.e.,Tiki for Smarties) for this software. That makes all Tiki users vulnerable to Rick's continued participation.

There are no comments at this time.