weird config_load problem

From: Date: Mon, 18 Aug 2003 16:04:42 +0000
Subject: weird config_load problem
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10089@lists.php.net to get a copy of this message
Hi, I just installed smarty to a new server, building a new site with it. I copied some config scripts from another server where everything runs stable now, so I can start building the new site. But in my config script, when setting the config file, I get an error. Here's what I do (Smarty 2.6.0 RC1): $site = new Site (); // Site extends Smarty $site->config_load('lang_de.conf'); The error I get is: Warning: Smarty error: problem creating directory '/home' in /home/12/mksellid/apps/Smarty-2.6.0-RC1/libs/Smarty.class.php on line 1156 which doesn't make any sense, because '/home' is not a directory that is defined anywhere. The line 1156 in the class is just the error trigger, so I can't really look up where the error occured. Here's what the config dir looks like: define('SITE_DIR' , '/myserver/site/'); $this->config_dir = SITE_DIR.'config/'; and debug output shows me, that the directory is just fine and permissions are set etc.etc. I mean, it's not the first time I'm doing this, so I'm somewhat surprised. I even changed the Smarty version back to stable 2.5.0, but the error was the same. Any ideas? Martin. Martin Kloss martin.kloss@triquart.de Technische Direktion ************************ Triquart Neue Medien Bellealliancestr.17 20259 Hamburg Germany Tel.+49 (40)432 923-0 Fax +49 (40)432 923-23 www.triquart.de www.triquart-humor.de ************************* "Lingo objektorientiert" Das Buch zum Autor jetzt bestellen unter: http://www.amazon.de/exec/obidos/ASIN/3898422194/lingmmugd

« previous php.smarty.general (#10089) next »