Re: [SMARTY] Frustrations - moving to new server

From: Date: Tue, 02 Nov 2004 14:20:06 +0000
Subject: Re: [SMARTY] Frustrations - moving to new server
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11945@lists.php.net to get a copy of this message
never mind my post ;) messju mohr wrote:
On Tue, Nov 02, 2004 at 02:25:22PM +0300, Zoran Knezevic wrote:
Well everything works fine on old server www.pungas.com I move to new server (did not update DNS jet) new location is available at this link: http://pungas.planetsky.com and now I did clean templates_c folder and set 777 to that folder. bash-2.05b$ ls -all total 12
drwxrwxrwx    3 zoran    zoran        4096 Nov  2 11:02 .
drwxr-xr-x   63 zoran    zoran        4096 Oct 31 22:31 ..
drwxr-x--x    2 apache   apache       4096 Nov  2 11:02
%%117 and I get error: Warning: Unable to access /home/zoran/www.pungas.com/templates_c/%%117/%%1172603085/index.tpl.php in /home/zoran/www.pungas.com/libs/smarty/Smarty.class.php on line 1266 Warning: Failed opening \'/home/zoran/www.pungas.com/templates_c/%%117/%%1172603085/index.tpl.php\' for inclusion (include_path=\'.:/usr/share/pear\') in /home/zoran/www.pungas.com/libs/smarty/Smarty.class.php on line 1266 WHAT WENT WRONG? you can see phpinfo at: http://pungas.planetsky.com/php.php
you have safe_mode enabled. smarty's use_sub_dirs doesn't work with safe_mode, set $smarty->use_sub_dirs=false (which is the default since 2.6.2) see http://php.net/features.safe-mode for documentation on what works in safe-mode and what not.
Please help anybody. Best regards, Zoran


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