BREZ Posted July 8, 2009 Share Posted July 8, 2009 Home page on installation of a script..... Warning: include_once(/home/x80eu/public_html/upload/lib/smarty/Smarty.class.php) [function.include-once]: failed to open stream: No such file or directory in /home/x80eu/public_html/upload/init.php on line 14 Warning: include_once() [function.include]: Failed opening '/home/x80eu/public_html/upload/lib/smarty/Smarty.class.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/x80eu/public_html/upload/init.php on line 14 Fatal error: Class 'Smarty' not found in /home/x80eu/public_html/upload/lib/template.php on line 2/quote] I have modified this page and undone changes over and over so many times to resolve the error. Obviously i am missing something. My init.php is ... <?php define('BASE_PATH', dirname(__FILE__).'/'); include_once BASE_PATH . "config.php"; $config['website_url'] = "http://" . $_SERVER['SERVER_NAME'] . "/" . $domain_path; // with slash $config['xml_cache_dir'] = BASE_PATH . "cache_xml/"; // with slash $config['xml_cache_timeout'] = mktime() + 3600 * 24; // ################# DO NOT EDIT HERE ######################################### include_once BASE_PATH . "lib/smarty/Smarty.class.php"; include_once BASE_PATH . "lib/functions.php"; include_once BASE_PATH . "lib/template.php"; include_once BASE_PATH . "lib/xml2array.php"; include_once BASE_PATH . "lib/services.php"; include_once BASE_PATH . "kw.php"; include_once BASE_PATH . "kw2.php"; $tpl = new Template; ?> Hopefully someone can save what is left of my hair Quote Link to comment Share on other sites More sharing options...
rhodesa Posted July 8, 2009 Share Posted July 8, 2009 What is the FULL path of the init.php file and the Smarty folder? Quote Link to comment Share on other sites More sharing options...
BREZ Posted July 8, 2009 Author Share Posted July 8, 2009 The full path to init is http://x80.eu/public_html/upload/init.php and the path to smarty folder is as shown /public_html/upload/lib/smarty This is a domain i use just for testing purposes only. Quote Link to comment Share on other sites More sharing options...
rhodesa Posted July 8, 2009 Share Posted July 8, 2009 well, /home/x80eu/public_html/upload/lib/smarty/Smarty.class.php can't be the full path to the Smarty.class.php file because it says it's not there Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.