Page 1 of 1

Smarty error

Posted: Thu May 04, 2006 6:57 am
by Hanjo Iwanowitsch
Ladies & Gentlemen,

when I publish a new entry on www.lbsmalente.de this works fine (and the entry *is* published) but S9y (1.0-beta2) says after its normal message "Serendipity speichert nun den Eintrag, erstellt etwaige Trackbacks und führt mögliche XML-RPC Aufrufe durch. Dies kann eine Weile dauern..."

"Warning: Smarty error: unable to read resource: "" in /homepages/3/d155865586/htdocs/bundled-libs/Smarty/libs/Smarty.class.php on line 1088"

Why this? How to avoid this?

Regards,
Hanjo.

Re: Smarty error

Posted: Thu May 04, 2006 11:08 am
by garvinhicking
Hi!

Which event plugins are you using? It seems one of the plugins is trying to parse/create smarty markup but fails to read a file.

Regards,
Garvin

Posted: Thu May 04, 2006 7:26 pm
by Hanjo Iwanowitsch
My list of event plugins:

Textformatierung: Serendipity
version: 1.1

Textformatierung: Smilies
version: 1.1


Statische Seiten
version: 3.32

Browser-Kompatibilität
version: 1.0

Spamschutz
version: 1.26

Spartacus
version: 2.5

Trackbacks kontrollieren
version: 1.6

Google Sitemap Generator
version: 0.12

Backup Interface ()
version: 0.7

Guestbook (zweiundvierzig)
version: 1.35

[Layout-Plugin: Druckfreundliche Version]
version: 1.0

HTML Link Metatags
version: 1.1

Textformatierung: Typografische Anführungszeichen
version: 1.1

RSS Aggregator
version: 0.6

Artikel mailen
version: 1.3

Kategorie als Startseite
version: 1.2

Free Wiki links for your entries
version: 0.6

Sonderzeichen/Erweiterte Buttons für Non-WYSIWYG
version: 0.3

Erweiterte Eigenschaften von Artikeln
(Cache, nicht-öffentliche Artikel, dauerhafte Artikel)
version: 1.6

Regards:
Hanjo.

Posted: Thu May 04, 2006 7:56 pm
by garvinhicking
Hi!

Hm, none of these plugins actually parse a smarty template when creating an entry.

Can it be that your templates_c directory contains files that are not writable for the webserver? Or the directory itself is no longer writable?

Regards,
Garvin

Posted: Thu May 04, 2006 8:24 pm
by Hanjo Iwanowitsch
garvinhicking wrote: Can it be that your templates_c directory contains files that are not writable for the webserver? Or the directory itself is no longer writable?
I just tried: even if I switch the whole directory and the files within to 777 the message is the same.

Regards,
Hanjo

Posted: Thu May 04, 2006 9:07 pm
by garvinhicking
Hi!

Hm, it might be that your current template could be missing a file. Which template are you using? Check if a "iframe_preview" or "preview_iframe.tpl" file is in your template directory, or the templates/default/ directory?

Regards,
Garvin

Posted: Thu May 04, 2006 9:55 pm
by Hanjo Iwanowitsch
garvinhicking wrote:Check if a "iframe_preview" or "preview_iframe.tpl" file is in your template directory, or the templates/default/ directory?
Neither in the template nor in the templates/default directory are "iframe"-files. I use the lbsmalentegettysburg-template which is mt-gettysburg with light changes for lbsmalente.de.

In the original gettyburg-template there is no "iframe"-thing either.

Regards,
Hanjo.

Posted: Thu May 04, 2006 10:11 pm
by garvinhicking
Hi!

Please check your downloaded 1.0-beta2 archive, there is a "templates/default/preview_iframe.tpl" file that MUST be present in your installation. :)

Best regards,
Garvin

Posted: Fri May 05, 2006 6:54 am
by Hanjo Iwanowitsch
If you insist on this ... er - :oops: somebody must have forgotten to update this special directory ... strange guy, this one ... :roll:

Do I have to mention that everything works fine now?

Thanks, Garvin!

Posted: Fri May 05, 2006 10:11 am
by garvinhicking
Hi!

Great to hear that! :)

Regards,
Garvin