Smartyfehler im Kontakt-Plugin bei Bulletproof
Smartyfehler im Kontakt-Plugin bei Bulletproof
Hallo
Ich habe ein neues Blog aufgesetzt, Bulletproof als Template gewählt und bislang noch nichts verändert. Nachdem das Kontakt-Plugin installiert war, erscheint diese Meldung:
Warning: Smarty error: unable to read resource: "file:/kunden/homepages/10/d267594745/htdocs/blog/templates/bulletproof/" in /homepages/10/d267594745/htdocs/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1092
Zu sehen hier: http://www.teepod.de/index.php?/pages/kontakt.html
Woran hakt es? Was kann ich tun?
Danke vorab.
Herzlichst
Fiona
Ich habe ein neues Blog aufgesetzt, Bulletproof als Template gewählt und bislang noch nichts verändert. Nachdem das Kontakt-Plugin installiert war, erscheint diese Meldung:
Warning: Smarty error: unable to read resource: "file:/kunden/homepages/10/d267594745/htdocs/blog/templates/bulletproof/" in /homepages/10/d267594745/htdocs/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1092
Zu sehen hier: http://www.teepod.de/index.php?/pages/kontakt.html
Woran hakt es? Was kann ich tun?
Danke vorab.
Herzlichst
Fiona
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Smartyfehler im Kontakt-Plugin bei Bulletproof
Hi!
Wie hast du das Kontaktformular konfiguriert? Mit dynamischen Templatefeldern, oder das "normale"?
Schau mal in die serendipity_event_contactform.php, da findest du folgendes:
bitte änder das mal ab in:
Wenn du dann das kontaktformular aufrufst müsstest du am ende der Seite die Debugging ausgaben wie "final..." und "reset..." und so lesen. Diese Ausgabe benötige ich.
Grüße,
Garvin
Grüße,
Garvin
Wie hast du das Kontaktformular konfiguriert? Mit dynamischen Templatefeldern, oder das "normale"?
Schau mal in die serendipity_event_contactform.php, da findest du folgendes:
Code: Select all
if ($dynamic_tpl == 'standard') {
$tfile = serendipity_getTemplateFile('plugin_contactform.tpl', 'serendipityPath');
if (!$tfile) {
$tfile = dirname(__FILE__) . '/plugin_contactform.tpl';
}
} else {
$filename = $this->get_config('dynamic_fields_tpl');
if (empty($filename)) {
$filename = 'plugin_dynamicform.tpl';
}
$tfile = serendipity_getTemplateFile($filename, 'serendipityPath');
if (!$tfile) {
$tfile = dirname(__FILE__) . '/' . $filename;
}
}
Code: Select all
if ($dynamic_tpl == 'standard') {
echo "Loading standard.<br />\n";
$tfile = serendipity_getTemplateFile('plugin_contactform.tpl', 'serendipityPath');
echo "filename: $tfile<br />\n";
if (!$tfile) {
$tfile = dirname(__FILE__) . '/plugin_contactform.tpl';
echo "reset to: $tfile<br /> \n";
}
} else {
echo "Loading dynamic.<br />\n";
$filename = $this->get_config('dynamic_fields_tpl');
echo "filename: $filename<br />\n";
if (empty($filename)) {
$filename = 'plugin_dynamicform.tpl';
echo "reset to: $filename <br />\n";
}
$tfile = serendipity_getTemplateFile($filename, 'serendipityPath');
echo "final: $tfile<br />\n";
if (!$tfile) {
$tfile = dirname(__FILE__) . '/' . $filename;
echo "reset to: $tfile<br />\n";
}
}
Grüße,
Garvin
Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hallo Garvin
Den Code habe ich ausgewechselt. Die Fehlermeldung ist nun anders:
Warning: Smarty error: unable to read resource: "file:/kunden/homepages/10/d267594745/htdocs/blog/templates/bulletproof/" in /homepages/10/d267594745/htdocs/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1092
Loading standard.
filename: /kunden/homepages/10/d267594745/htdocs/blog/templates/bulletproof/plugin_contactform
Das Formular ist "Standard"-formatiert. Habe nichts geändert außer eben einen Namen ins obere Fenster gefügt.
>Debugging ausgaben wie "final..." und "reset..." und so les
Tja - Wo genau könnte ich diese Debuggingmeldung finden? Auf der Seite sehe ich nichts.
Herzlichst
Fiona
Den Code habe ich ausgewechselt. Die Fehlermeldung ist nun anders:
Warning: Smarty error: unable to read resource: "file:/kunden/homepages/10/d267594745/htdocs/blog/templates/bulletproof/" in /homepages/10/d267594745/htdocs/blog/bundled-libs/Smarty/libs/Smarty.class.php on line 1092
Loading standard.
filename: /kunden/homepages/10/d267594745/htdocs/blog/templates/bulletproof/plugin_contactform
Das Formular ist "Standard"-formatiert. Habe nichts geändert außer eben einen Namen ins obere Fenster gefügt.
>Debugging ausgaben wie "final..." und "reset..." und so les
Tja - Wo genau könnte ich diese Debuggingmeldung finden? Auf der Seite sehe ich nichts.
Herzlichst
Fiona
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Okay, jetzt weiß ich schonmal dass die Fehlermeldung noch vorher kommt als ich dachte.
Such mal im Code nach:
und ändere es in:
Okay, jetzt weiß ich schonmal dass die Fehlermeldung noch vorher kommt als ich dachte.
Such mal im Code nach:
Code: Select all
if (!is_object($serendipity['smarty'])) {
serendipity_smarty_init();
}
Code: Select all
if (!is_object($serendipity['smarty'])) {
echo "Init object<br />\n";
serendipity_smarty_init();
}
echo "Done object<br />\n";
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Die letzte Änderung habe ich wieder zurück genommen. Statt dessen habe ich jetzt mal das Contactform-Plugin genommen, das auf meinen eigenen Blogs tadellos funktioniert.
Lustigerweise klappt es damit auch nicht. Bekomme die Meldung, "sie haben das Feld "" nicht ausgefüllt!
Dieses ominöse Feld gibt es jedoch nicht.
Und nun?
Herzlichst
Fiona
Lustigerweise klappt es damit auch nicht. Bekomme die Meldung, "sie haben das Feld "" nicht ausgefüllt!
Dieses ominöse Feld gibt es jedoch nicht.
Und nun?
Herzlichst
Fiona
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Biem einfügen meines codes indeine Datei hast du wohl ein } zuviel gelöscht oder vergessen. Bitte probier es nochmal und achte darauf es exakt so einzufügen.
Wie genau ist das Kontaktformular konfiguriert? Wenn ein Leeres Feld angemäkelt wird hast Du evtl. irgendwo ein ";" zuviel in der Feldkonfiguration oder so.
Grüße,
Garvin
Biem einfügen meines codes indeine Datei hast du wohl ein } zuviel gelöscht oder vergessen. Bitte probier es nochmal und achte darauf es exakt so einzufügen.
Wie genau ist das Kontaktformular konfiguriert? Wenn ein Leeres Feld angemäkelt wird hast Du evtl. irgendwo ein ";" zuviel in der Feldkonfiguration oder so.
Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Du ersetzt wirklich den ganzen Block den ich geschickt habe durch meinen?
Ich vermute bei Dir steht derzeit folgendeS:
Das wäre falsch. Richtig wäre nur:
Du ersetzt wirklich den ganzen Block den ich geschickt habe durch meinen?
Ich vermute bei Dir steht derzeit folgendeS:
Code: Select all
if (!is_object($serendipity['smarty'])) {
serendipity_smarty_init();
}
echo "Done object<br />\n";
}
Code: Select all
if (!is_object($serendipity['smarty'])) {
serendipity_smarty_init();
}
echo "Done object<br />\n";
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Bei mir klappt die Datei so; habe deine aus der Email mal verwendet. kann mir nur vorstellen dass da beim hochladen auf deinem Server was schief läuft. Falls Du MaCOS verwendest, nutz mal einen Editor und ein FTP-Tool was die Datei definitv mit UNIX-Zeilenenden hochlädt, sonst bringt das PHP aus dem Tritt.
Merke: Im Editor immer als UNIX speichern, und dann per FTP immer binär hochladen.
Grüße,
Garivn
Bei mir klappt die Datei so; habe deine aus der Email mal verwendet. kann mir nur vorstellen dass da beim hochladen auf deinem Server was schief läuft. Falls Du MaCOS verwendest, nutz mal einen Editor und ein FTP-Tool was die Datei definitv mit UNIX-Zeilenenden hochlädt, sonst bringt das PHP aus dem Tritt.
Merke: Im Editor immer als UNIX speichern, und dann per FTP immer binär hochladen.
Grüße,
Garivn
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hallo Garvingarvinhicking wrote:Hi!
Bei mir klappt die Datei so; habe deine aus der Email mal verwendet. kann mir nur vorstellen dass da beim hochladen auf deinem Server was schief läuft. Falls Du MaCOS verwendest, nutz mal einen Editor und ein FTP-Tool was die Datei definitv mit UNIX-Zeilenenden hochlädt, sonst bringt das PHP aus dem Tritt.
Merke: Im Editor immer als UNIX speichern, und dann per FTP immer binär hochladen.
Grüße,
Garivn
nein, ich arbeite mit einem Win XP-Rechner und FTP -mäßig ist auch alles klar. Kann es sein, dass sich das Formular mit z.B. dem Podcast-Plugin hakelt? Dieses wurde nämlich erstmals installiert - hab' noch keine Erfahrungen damit.
Herzlichst
Fiona
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Dann versteh ich nicht was da beim Upload schief läuft. Deine Datei enthält definitiv keinen Parsefehler wie Du ihn mir geschickt hast.
Andere Plugins haben nichts zu tun damit, nein.
Grüße,
Garvin
Dann versteh ich nicht was da beim Upload schief läuft. Deine Datei enthält definitiv keinen Parsefehler wie Du ihn mir geschickt hast.
Andere Plugins haben nichts zu tun damit, nein.
Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/