I’m a web hosting noob and not professionally trained to do this. I am a teacher who is trying to host and organize teaching materials with Tiki.
I have Tiki 15.4 running on a shared host.
I have the following problem with the file galleries feature:
I get an “unable to access file” error for all my file galleries when trying to download.
Uploading stuff to the file galleries works well, for instance I uploaded a .webm video and then it’s listed by the wiki interface as present in the gallery. However I cannot not download or do anyhting else with this or any other files later on.
I can reproduce this for all new uploads.
Maybe there’s a problem with permissions to access the folder where the file galleries should be saved. At setup, I chose to save them in a directory rather than the database. Tiki documentation says, this directory should not be directly accessible. This can be accomplished in two ways:
* Use a directory ''outside'' your webserver document root, make sure your php script can read and write to that directory * Use a directory ''inside'' the document root and use .htaccess to prevent the user from listing the directory contents
The folder I specified is inside the DocumentRoot (I think), i.e. it is under Tiki’s root directory: tiki15.4/files, so I believe PHP should have permission to read/write there. I made no changes to the permissions, and I’m not sure if I even can (or how) on this shared host.
I checked the folder I specified to upload all files to (tiki15.4/files) through FTP, and it did not contain the files I had uploaded, although they were all listed as being there in the wiki interface.
However, when I choose to store file galleries in the database, it works: I can upload stuff and download it again. This is not a solution for me though, I want to find out how to store the files in a directory.
Best regards, Ben