RE: [SMARTY] Set up trouble

From: Date: Sun, 09 Jun 2002 10:13:08 +0000
Subject: RE: [SMARTY] Set up trouble
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4705@lists.php.net to get a copy of this message
Hi The problem is most like that you haven't specified the loction of the templates, the templates_c, config and possible cache folder if u are using is in the smarty.class.php. There is a section of configuarable variables in the document, look for and put in the absolute path to the folders. var $template_dir = 'absolute_path_to/templates'; // name of directory for templates var $compile_dir = 'absolute_path_to/templates_c'; // name of directory for compiled templates var $config_dir = 'absolute_path_to/configs'; // directory where config files are located Hope this helps Ed -----Original Message----- From: Nick Wilson [mailto:nick@explodingnet.com] Sent: 09 June 2002 09:50 To: smarty-general@lists.php.net Subject: [SMARTY] Set up trouble -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, Just to clarify: I have read the FAQ but still can't sort this out ;-) I get the following error when trying to run smarty: Warning: Failed opening 'templates_c/117/1172603085/0.php' for inclusion (include_path='/var/www/') in /var/www/net_includes/Smarty-2.1.1/Smarty.class.php on line 641 If someone could help me get off the ground with this I'd be most pleased. Many thanks... - -- Nick Wilson // www.explodingnet.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE9AxamHpvrrTa6L5oRAoRUAJ4kDP17aTdLhHSC4Z9MEXepziZV3QCgjk1t S4RSKXfLo6J1mP9Wc+lJe/s= =3Ofy -----END PGP SIGNATURE----- -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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