Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Umstellung auf PHP5 jetzt gibt Smarty nichtsmehr aus

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German
View previous topic :: View next topic  
Author Message
JohnyHC
Smarty n00b


Joined: 22 Feb 2005
Posts: 2

PostPosted: Tue Feb 22, 2005 9:54 pm    Post subject: Umstellung auf PHP5 jetzt gibt Smarty nichtsmehr aus Reply with quote

Ich hab mein entwicklungsrechner gerade auf PHP5 umgestellt
von php 4.3/apache 1
auf php 5.0.3 / apache 2

seitdem schmeisst Smarty mir garnichts mehr aus, nichtmal das unten gelistete script läuft.
Ich hab nichtmal mehr nie idee wonach ich suchen muss.
Gibt es da irgendwelche kniffe vielleicht bezüglich der initialisierung oder so?
MfG Johny


test.php
Code:

<?
require_once("***/smarty/Smarty.class.php");
$smarty=new Smarty;
$smarty->template_dir="templates/";
$smarty->compile_dir="templates_c/";
$smarty->assign("test","testen wir es");
$smarty->display("test.tpl");
?>

test.tpl
Code:

text {$test}
[/code]
Back to top
View user's profile Send private message
messju
Administrator


Joined: 16 Apr 2003
Posts: 3336
Location: Oldenburg, Germany

PostPosted: Wed Feb 23, 2005 8:41 am    Post subject: Reply with quote

läuft <?php phpinfo(); ?> ?
hast du error_reporting auf E_ALL und display_errors an?
hasr du den templates_c-order geleert, nachdem du die php-version gewechselt hast?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JohnyHC
Smarty n00b


Joined: 22 Feb 2005
Posts: 2

PostPosted: Wed Feb 23, 2005 1:35 pm    Post subject: Reply with quote

phpinfo läuft,
phpordner ist geleert.

Errors werden standardmässig bei PHP5 nicht anezeigt oder? ich mach es nachher mal an und teste.
Back to top
View user's profile Send private message
deezaster
Smarty n00b


Joined: 17 Feb 2005
Posts: 3

PostPosted: Wed Feb 23, 2005 11:01 pm    Post subject: wer weiss, vergleich mal die php.ini Reply with quote

hast du mein posting schon studiert:

"Probleme mit PHP5 und {literal}: Die Lösung!" vom 17.2.2005

Tip: verlgeiche die php.ini - am einfachsten via phpinfo() - der beiden php
versionen 4 und 5 (denn wenn es unter php4 lief, dann muss es auch unter php5 lauffen, das behauptet smarty!)
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: German All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP