Web Hosting Talk







View Full Version : Smarty error:


siforek
05-02-2007, 05:29 PM
Warning: Smarty error: unable to read resource: "module.tpl" in /home/.../..../...../public_html/live/class/smarty/Smarty.class.php on line 1115

I've of course replaced some directories with "....."
This error is seen on a Help Center Live install. I haven't been able to duplicate this issue on any other servers, so I'm completely lost here.
The hosting account is on DriectAdmin, and haven't been able to install it with Installatron either. Any help is appreciated. Thanks!

Jay August
05-02-2007, 07:49 PM
So..... what is on line 1115 of Smarty.class.php?? Probably a reference to a non-existant module.tpl file.

siforek
05-02-2007, 08:19 PM
This is line 1115:
trigger_error("Smarty error: $error_msg", $error_type);

I just don't get why it's not working on this specific server. As I mentioned, even Installatron isn't working. It creates a blank database and doesn't say anything like "installation complete" like a DirectAdmin page with nothing but the header & footer.

siforek
05-04-2007, 09:18 AM
Anyone have any ideas?

Fragtech
05-05-2007, 08:53 PM
• The $template_dir is incorrect, doesn't exist or the file index.tpl is not in the templates/ directory
• A {config_load} function is within a template (or config_load() has been called) and either $config_dir is incorrent ,
does not exist or site.conf is not in the directory.


http://smarty.php.net/distributions/manual/en/Smarty-2.2.0-docs.pdf