Hallo,
ich habe mir ein kleines PHP Skript gebaut um Smarty zu testen. Das Script besteht lediglich aus folgenden Zeilen Code:
Lokal funktioniert das alles, aber online leider nicht. Ich bekomm dort folgende Fehlermeldung:
Den Ordner gibt es aber und er hat auch alle Rechte. Ich versteh das nicht. Ich bin echt am verzweifeln. Seit Stunden suche ich nach dem Fehler und auch Google habe ich schon gefragt. Leider alles erfolglos
Ich hoffe ihr könnt mir helfen.
ich habe mir ein kleines PHP Skript gebaut um Smarty zu testen. Das Script besteht lediglich aus folgenden Zeilen Code:
PHP:
<?php
require_once('smarty/Smarty.class.php');
$smarty = new Smarty;
$smarty->template_dir = 'templates/';
$smarty->compile_dir = 'var/www/htdocs/xxx/test/smarty/templates_c/';
$smarty->display('index.tpl');
?>
Lokal funktioniert das alles, aber online leider nicht. Ich bekomm dort folgende Fehlermeldung:
Fatal error: Smarty error: the $compile_dir 'var/www/htdocs/xxx/test/smarty/templates_c/' does not exist, or is not a directory. in /www/htdocs/xxx/test/smarty/Smarty.class.php on line 1092
Den Ordner gibt es aber und er hat auch alle Rechte. Ich versteh das nicht. Ich bin echt am verzweifeln. Seit Stunden suche ich nach dem Fehler und auch Google habe ich schon gefragt. Leider alles erfolglos

Ich hoffe ihr könnt mir helfen.