Smarty error

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Hanjo Iwanowitsch
Regular
Posts: 46
Joined: Sun Feb 26, 2006 3:37 pm
Location: Eutin, Germany
Contact:

Smarty error

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Smarty error

Post 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
# 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/
Hanjo Iwanowitsch
Regular
Posts: 46
Joined: Sun Feb 26, 2006 3:37 pm
Location: Eutin, Germany
Contact:

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
Hanjo Iwanowitsch
Regular
Posts: 46
Joined: Sun Feb 26, 2006 3:37 pm
Location: Eutin, Germany
Contact:

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
Hanjo Iwanowitsch
Regular
Posts: 46
Joined: Sun Feb 26, 2006 3:37 pm
Location: Eutin, Germany
Contact:

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
Hanjo Iwanowitsch
Regular
Posts: 46
Joined: Sun Feb 26, 2006 3:37 pm
Location: Eutin, Germany
Contact:

Post 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!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Great to hear that! :)

Regards,
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/
Post Reply