|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Micha Smarty Rookie
Joined: 28 Aug 2004 Posts: 9
|
Posted: Wed Dec 29, 2004 4:02 pm Post subject: Bei Popup aufruf Fatal Error Meldung, warum? |
|
|
Habe alles nach der Anleitung gemacht, {popup_init src="overlib.js"} am anfang der Template danach zum Testen <a href="mypage.html" {popup text="This link takes you to my page!"}>mypage</a>
bekomme diese Meldung
Fatal error: Smarty error: [in friends line 1]: [plugin] unknown tag - 'popup_init' (core.load_plugins.php, line 118) in /home/www/doc/8244/mypage.net/www/inc/smarty/Smarty.class.php on line 1924
overlib.js liegt im gleichen verzeichniss wie template?
Woran liegt das?
Danke im vorraus |
|
Back to top |
|
Duncan Smarty Pro
Joined: 16 Dec 2003 Posts: 166
|
Posted: Wed Dec 29, 2004 6:57 pm Post subject: |
|
|
Hoert sich an als wenn es kein popup_init sondern ein plugin Problem ist.
Befindet sich das plugin Verzeichnis in /home/www/doc/8244/mypage.net/www/inc/smarty/ ? |
|
Back to top |
|
Micha Smarty Rookie
Joined: 28 Aug 2004 Posts: 9
|
Posted: Thu Dec 30, 2004 10:31 am Post subject: |
|
|
das ist der pfad
/home/www/doc/8244/mypage.net/www/inc/smarty/plugins
Aber was haben die plugins mit popup_init?
Ich bekomme es nicht weiter |
|
Back to top |
|
Duncan Smarty Pro
Joined: 16 Dec 2003 Posts: 166
|
Posted: Thu Dec 30, 2004 6:16 pm Post subject: |
|
|
Der Fehler zeigt, dass
libs/plugins/function.popup_init.php
nicht gefunden werden kann.
In dem Fall muesste es also auch mit anderen Smarty Funktionen passieren, so dass entweder der Pfad zu den Plugins nicht gefunden werden kann (falsch gesetzt?) oder die Datei kann nicht geoeffnet werden (permission Problem). |
|
Back to top |
|
Micha Smarty Rookie
Joined: 28 Aug 2004 Posts: 9
|
Posted: Sun Jan 23, 2005 8:59 am Post subject: |
|
|
Wie Duncan schon vermutet hat, tritt das Problem mit anderen Smartyfunktionen auch auf, aber nicht mit allen.
Die Frage ist nur warum???
Alle Plugins befinden sich hier:
/home/www/doc/8244/mypage.net/www/inc/smarty/plugins
Das ist meine letzte Fehlermeldung, nach {counter} aufruf:
Fatal error: Smarty error: [in charts line 33]: [plugin] function smarty_function_counter() not found in /home/www/doc/8244/mypage.net/www/includes/smarty/plugins/function.counter.php (core.load_plugins.php, line 73) in /home/www/doc/8244/mypage.net/www/includes/smarty/Smarty.class.php on line 1924
Der script "function.counter.php" befindet sich im oben genannten Verzeichiss
Ich weiß kein Rat mehr, woran liegt das |
|
Back to top |
|
Duncan Smarty Pro
Joined: 16 Dec 2003 Posts: 166
|
Posted: Sun Jan 23, 2005 6:59 pm Post subject: |
|
|
Versuche doch einmal den plugin Pfad direkt anzugeben:
Code: | $smarty->plugins_dir = array( '/home/www/doc/8244/mypage.net/www/inc/smarty/plugins'); |
|
|
Back to top |
|
Micha Smarty Rookie
Joined: 28 Aug 2004 Posts: 9
|
Posted: Sun Jan 23, 2005 7:42 pm Post subject: |
|
|
es geht leider auch nicht
Habe schon den Geist aufgegeben, wird woll nicht draus |
|
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
|