 |
Smarty
The discussions here are for Smarty, a template engine for the PHP programming language. Dedicated server web hosting provided by Guru-host.eu. |
| View previous topic :: View next topic |
| Author |
Message |
jacz Smarty Pro

Joined: 13 Nov 2010 Posts: 249
|
Posted: Wed Sep 21, 2011 1:43 pm Post subject: Namensproblem mit Plugin unter 3.1 |
|
|
Ich habe da beim abprüfen meiner Seite entdeckt, das es mit 3.1 stable ein Problem gibt.
Ein Plugin mit dem Namen GetTwitter wurde nicht erkannt, bzw. laut Fehlermeldung war es nicht vorhanden.
Natürlich war es da.
Trotz weitere Überprüfung und Läschung von cache und templates_c blieb der Fehler.
Ich habe dann das Plugin vom File und im File selbst auf getwitter geändert und mehr nicht und damit hat es dann funktioniert.
Vorher
{GetTwitter name="seitenreporter"}
Fehler
Nachher Filename und Pluginname geändert
{gettwitter name="seitenreporter"}
funzt.
Da muss es ein Problem unter 3.1 geben. |
|
| Back to top |
|
jacz Smarty Pro

Joined: 13 Nov 2010 Posts: 249
|
Posted: Wed Sep 21, 2011 1:48 pm Post subject: |
|
|
Hier noch die Fehlermeldung:
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "5e3cba879b7fd12ad99d0456bea4c233fa55ee7d" on line 1 "{GetTwitter name="seitenreporter"}" unknown tag "GetTwitter"' in /var/www/testinstall/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 597
Das benannte Template 5e3cba879b7fd12ad99d0456bea4c233fa55ee7d gab es nicht, wahrscheinlich weil die Compilierung abgebrochen ist. |
|
| Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 4177 Location: Hamburg / Germany
|
Posted: Wed Sep 21, 2011 7:10 pm Post subject: |
|
|
Smarty 3.0 hat nach mixed case Dateinamen wie im Tag gesucht; Smarty 3.1 nach all lowercase Dateinamen.
Der fix ist jetzt im SVN trunk.
3.1 sucht jetzt mixed und all lower |
|
| Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|