Loading...
 
Skip to main content

PHP Fatal error Smarty syntax error

Status
Closed
Subject
PHP Fatal error Smarty syntax error
Version
1.9.x
Category
  • Error
Feature
Dynamic Content
Submitted by
Don Hughes
Lastmod by
drsassafras
Rating
(0)
Description

I wanted to add a left-hand module giving the current status of several SQL databases. They already appeared on a wiki page, but I wanted it available without logging on. I created a Dynamic Content entry containing wiki markup with a table and sql module similar to:

table1

Plugin execution pending approval

This plugin was recently added or modified. Until an editor of the site validates the parameters, execution will not be possible. You are allowed to:

  • View arguments
View Details
SELECT..{SQL}


However, as soon as I saved it the site became unavailable. Apache log contained:

PHP Fatal error: Smarty error: in evaluated template line 1: syntax error: unrecognized tag: SQL(db=>test) (Smarty_Compiler.class.php, line 446) in ...

Unfortunately, I could not do anything to correct the error, because the site was no longer accesable. This should have failed a little more gracefully.

Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1461
Created
Sunday 23 December, 2007 20:05:53 UTC
by Unknown
LastModif
Wednesday 26 February, 2020 17:16:09 UTC


Show PHP error messages