Problem with Displaying File Galleries after upgrading to Tiki 10.0, Possible Related Issue with file "function.quotabar.php"
- Status
- Closed
- Subject
- Problem with Displaying File Galleries after upgrading to Tiki 10.0, Possible Related Issue with file "function.quotabar.php"
- Version
- 10.x
8.x - Category
- Usability
- Feature
- File Gallery (elFinder or standard UI)
- Resolution status
- New
- Submitted by
- Al Drake
- Lastmod by
- Al Drake
- Rating
- Description
This should perhaps be dealt with by Tiki contributors since it has come up before (when I upgraded in Dec. 2011 to Tiki 8.2). The issue has to do with displaying file galleries in Tiki 10.0. When I first attempted to display the file galleries, I got a blank page. A quick check of my server's error log (edited to remove private data) showed the following:
PHP Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/templates/tiki-list_file_gallery.tpl" on line 223 "{quotabar
length='100' value=$smarty.capture.use}" unknown tag
"quotabar" in …/lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php:657Possibly related to this problem is that "/lib/smarty_tiki/function.quotabar.php" is (if memory serves) the one file in
Tiki 10.0 that I was unable to upload to the server via Filezilla FTP
transfer. There may be something wrong with the file that's causing the error message listed above, and I remember that it wasn't possible to upload this file to the server when I was upgrading to a couple of previous versions of Tiki, so it's a persistent issue.- Solution
I resolved the problem at least in my own case by simply removing the quotabar expression near the end of the file "/templates/tiki-list_file_gallery.tpl." Now the file galleries display properly. But this is just my "non-programmer" fix. As noted above, there may need to be some work done on the file "function.quotabar.php" since that could be what's causing the problem in the first place, and I don't have the skills to diagnose that file.
- Importance
- 4
- Easy to solve?
- 7
- Priority
- 28
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 4352
- Created
- Wednesday 02 January, 2013 15:18:53 UTC
by Al Drake - LastModif
- Wednesday 02 January, 2013 15:18:53 UTC