Re: [SMARTY] Re: why '%%' are present in dir names

From: Date: Thu, 09 Jan 2003 13:34:31 +0000
Subject: Re: [SMARTY] Re: why '%%' are present in dir names
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7079@lists.php.net to get a copy of this message
Hello, [ .... ] > Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/netlab.e2k.ru/httpdocs/smarty/Smarty.class.php on line 686 [ .... ] It looks like PHP is running in safe mode http://www.php.net/manual/en/features.safe-mode.php Try to put the template_c dir in another place or try $smarty->use_sub_dirs = false; Greetings, Jan Rosier ...the myth of socialism is far stronger than the reality of capitalism. That is because capitalism is not really an ism at all. It is what people do if you leave them alone. - Arnold Beichmen, Hoover Institute Fellow ----- Original Message ----- From: "Savenkov Alexander" <laborant@e2k.ru> To: "Andrй Rabold" <arabold@nero.com> Cc: <smarty-general@lists.php.net> Sent: Thursday, January 09, 2003 1:50 PM Subject: Re: [SMARTY] Re: why '%%' are present in dir names > > AR> Yes, that's correct > > But, when i start my script, it returm me this > > -------- > Warning: Smarty error: problem writing 'smarty/templates_c/%%117/%%1172603085/index.tpl.php.' in /usr/local/psa/home/vhosts/netlab.e2k.ru/httpdocs/smarty/Smarty.class.php on line 589 > Warning: unable to create file smarty/templates_c/%%117/%%1172603085/index.tpl.php because No such file or directory in /usr/local/psa/home/vhosts/netlab.e2k.ru/httpdocs/smarty/Smarty.class.php on line 968 > Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/netlab.e2k.ru/httpdocs/smarty/Smarty.class.php on line 686 > Warning: Failed opening 'smarty/templates_c/%%117/%%1172603085/index.tpl.php' for inclusion (include_path='.:') in /usr/local/psa/home/vhosts/netlab.e2k.ru/httpdocs/smarty/Smarty.class.php on line 686 > -------- > > cmod is set to 777 > > what it can be? > > laborant > visit us: http://netlab.e2k.ru > mailto: laborant@e2k.ru > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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