Smarty setup hjælp
Jeg har et stort problem. Lige meget hvad jeg gør, så kan jeg ikke få Smarty til at fungere, når jeg uploader det til mit webhotel. Jeg synes jeg har prøvet alt, både basic (http://smarty.php.net/manual/en/installing.smarty.basic.php) og extended (http://smarty.php.net/manual/en/installing.smarty.extended.php), men lige meget hjælper det. Det mærkelige er dog, at alt fungerer perfekt lokalt på min apache server.define ("SMARTY_DIR" , "/var/www/hotels/1go/biimstudio/html/biimstudio/smarty/libs/");
require_once ("/var/www/hotels/1go/biimstudio/html/biimstudio/smarty/libs/Smarty.class.php");
class Template extends Smarty {
function Template() {
$this -> Smarty();
$this -> template_dir = "/var/www/hotels/1go/biimstudio/html/biimstudio/templates";
$this -> compile_dir = "/var/www/hotels/1go/biimstudio/html/biimstudio/smarty/compile";
$this -> config_dir = "/var/www/hotels/1go/biimstudio/html/biimstudio/smarty/configuration";
$this -> cache_dir = "/var/www/hotels/1go/biimstudio/html/biimstudio/smarty/cache";
}
}
Så får jeg...
Warning: Smarty error: problem writing temporary file...
Warning: touch(): SAFE MODE Restriction in effect. The script whose uid is 6026 is not allowed to access...
Warning: Smarty error: problem creating directory...
