Loading...
 
Skip to main content

File Galleries Failing to Display in Tiki 11.0 -- A Fix

Status
Closed
Subject
File Galleries Failing to Display in Tiki 11.0 -- A Fix
Version
11.x
Category
  • Error
Feature
File Gallery (elFinder or standard UI)
Resolution status
Out of Date
Submitted by
Al Drake
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

Was getting the following error in my CGI Log when I tried to display the File Galleries in Tiki 11.0:

PHP Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/.../.../.../.../wiki_11/templates/tiki-list_file_gallery.tpl" on line 253 "{quotabar length='100' value=$smarty.capture.use}" unknown tag "quotabar"' in /.../.../.../.../wiki_11/vendor/smarty/smarty/distribution/libs/sysplugins/smarty_internal_templatecompilerbase.php:665

I recalled having this problem a few times after an upgrade all the way back to version 8. The way I have fixed it is simply to go into templates/tiki-list_file_gallery.tpl and remove the expression {quotabar length='100' value=$smarty.capture.use}. Once I do that and upload the modified file, I'm able to display my file galleries. Don't know if that will work for everyone, but it has worked for me.

Why is there a problem with quotabar? That's a file that I notice won't upload when I use Filezilla to upload the files for a new installation, so maybe that's the source of the problem. It seems to me that this issue has been around for several versions now. Can someone please fix it? Thanks in advance.

Solution
Workaround
Importance
6
Easy to solve?
8
Priority
48
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4610
Created
Wednesday 31 July, 2013 15:01:05 UTC
by Al Drake
LastModif
Sunday 05 July, 2026 09:35:30 UTC


Show PHP error messages