Porbleme mit Version 2.0 - Mimbo

Hier können Probleme und alles andere in Deutscher Sprache gelöst werden.
Post Reply
sehpferd
Regular
Posts: 27
Joined: Tue Nov 21, 2006 5:41 pm
Contact:

Porbleme mit Version 2.0 - Mimbo

Post by sehpferd »

Beim Anklicken eiens eizelnen Artikels (Headline oder aus den "neuesten beiträgen" heraus bekomme ich folgende Fehlermedlung:

Fatal error: Uncaught --> Smarty: Unable to load template file 'entries_single.tpl' in '/xxx/liebeszeit/serendipity/templates/mimbo/index.tpl' <-- thrown in /xxx/liebeszeit/serendipity/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php on line 129

Gibt es eien einfache Erklärung dafür?

Mit dem Tmeplante 2k11 funktioniert alles.

Ich beabsichtige ohnehin auf 2k11 umzustellen, das Mimbo sich schlecht auf dem Smartphones macht - habe also noch Alternativen.

Dennoch will ich es einfach melden - vielleciht gibt es das Poblem ja auch noch anderswo.


Gebhard aka Sehpferd
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Porbleme mit Version 2.0 - Mimbo

Post by yellowled »

sehpferd wrote:Fatal error: Uncaught --> Smarty: Unable to load template file 'entries_single.tpl' in '/xxx/liebeszeit/serendipity/templates/mimbo/index.tpl' <-- thrown in /xxx/liebeszeit/serendipity/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php on line 129

Gibt es eien einfache Erklärung dafür?
Ich kann gerade nicht in den Code gucken, aber ich nehme aber an, dass eine der sehr speziellen Smarty-Geschichten, die Mimbo aufgrund seines Magazin-Charakters benötigt, sich nicht mit Smarty 3 verträgt.

Vielleicht hat Ian eine spontan Idee, was diesen Fehler erzeugen könnte?

In jedem Fall danke für die Rückmeldung.

YL
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Porbleme mit Version 2.0 - Mimbo

Post by yellowled »

Die betreffende Zeile in Mimbos index.tpl wäre

Code: Select all

{include file="./entries_single.tpl"}
Interessanterweise hatte ich so etwas Ähnliches schon mal, aber es konnte damals keiner reproduzieren oder debuggen: http://board.s9y.org/viewtopic.php?p=10441140

YL
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Porbleme mit Version 2.0 - Mimbo

Post by Timbalu »

No idea. This should work.
Garvin hat doch gerade einen Patch committed, weil er meinte Smarty bräuchte relative Pfade.
https://github.com/s9y/additional_theme ... d4289d88d6
Aber von Smarty Seite aus geht beides.
This example includes another template relative to the directory of the current template.

Code: Select all

   {include 'template-in-a-template_dir-directory.tpl'}
   {include './template-in-same-directory.tpl'}
   {include '../template-in-parent-directory.tpl'}
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Porbleme mit Version 2.0 - Mimbo

Post by yellowled »

Sorry, aber ich kann das in einem aktuellen master mit PHP 5.6.6 auch nicht reproduzieren.

sehpferd, welche PHP-Version läuft bei Dir?

Edit: Und wahrscheinlich genauso interessant: Welche s9y-Version eigentlich?

YL
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Porbleme mit Version 2.0 - Mimbo

Post by Timbalu »

yellowled wrote:Edit: Und wahrscheinlich genauso interessant: Welche s9y-Version eigentlich?
Guck mal in das Subject :P
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Porbleme mit Version 2.0 - Mimbo

Post by yellowled »

Timbalu wrote:Guck mal in das Subject :P
Ups. :roll:

Aber die PHP-Version könnte schon interessant sein, oder nicht?

YL
sehpferd
Regular
Posts: 27
Joined: Tue Nov 21, 2006 5:41 pm
Contact:

Re: Proleme mit Version 2.0 - Mimbo - gelöst

Post by sehpferd »

Hallo allerseits,

schönen Dank an alle. Die Lösung mit dem Pfad ./.... lief sofort mit Mimbo. Das mit dem PHP hatte ich schon zuvor geklärt - da war alles OK.

Gebhard aka Sehpferd
Post Reply