Re: [SMARTY] safe mode

From: Date: Sat, 21 Dec 2002 02:00:08 +0000
Subject: Re: [SMARTY] safe mode
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6927@lists.php.net to get a copy of this message
Thanks, that seems to work. But now I get a weird error: Warning: Failed opening 'templates_c/themes^default^base.tpl' for inclusion You probably can see from that message that base.tpl is located in the directoy: themes/default/ (relative to application directory). Any idea ? Stephan K. 21.12.2002 02:43:08, "Tim Burden" <tim@psnetworks.net> wrote: >var $use_sub_dirs = "FALSE"; > >Monty this should be given more prominence in the README maybe. > >----- Original Message ----- >From: "Stephan Kaiser" <madmax@red-falcon.net> >To: <smarty-general@lists.php.net> >Sent: Friday, December 20, 2002 8:32 PM >Subject: [SMARTY] safe mode > > >> Hello, >> I guess this topic ("php's safe mode") doesn't occurr for the first >> time, >> but the mailing list doesn't have a search feature... >> Of course, if you could provide me a link >> to the corresponding message, that'd be great. >> >> Problem: >> I installed Smarty on some webspace a few long nights ago, >> and encountered a severe problem: >> Smarty could not create the necessary >> directories for the compiled templates. >> I tried the permissions without success until I found out >> that PHP is run as a module and therefore the executed >> script has a different uid (wwrun or somethin) than the script >> owner. The scripts fail to create directories (except in my base >> directory). >> >> I've read on smarty.php.net that smarty should work in safe mode, >> so here are my little questions: Is this restricted to PHP running as .exe >? >> If not, what can I do to get Smarty working OR what can I ask my >> provider to do ? >> >> I've developed some really nice application on my own machine where, >> of course, it works fine. It just didn't occur to me that this could >> provide such severe problems! >> >> Once again, if this topic was already handled, please point me to the >message ;) >> I've gone through a lot of options the last few nights but I don't seem >> to be able to find a solution. I also mailed my provider which created a >folder >> with the correct permissions, put a sample script in there also with the >correct >> permissions, but I'm not able to access it (neither FTP nor by another >script with >> 'normal' permissions). >> >> I really appreciate your help! >> Stephan K. >> >> >> >> -- >> Smarty General Mailing List (http://smarty.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> > > >-- >Smarty General Mailing List (http://smarty.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php > >

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