Page 1 of 1

Website showing error in config.inc. Please Help me

Posted: Mon Mar 15, 2010 2:00 am
by saleemawan
My website was deleted from WHM. I have uploaded all site again. But now its showing following error message. Please help me.

Warning: require(home/sitename/public_html/smartyf/Smarty.class.php) [function.require]: failed to open stream: No such file or directory in /home/sitename/public_html/includes/config.inc on line 58

Warning: require(home/sitename/public_html/smartyf/Smarty.class.php) [function.require]: failed to open stream: No such file or directory in /home/sitename/public_html/includes/config.inc on line 58

Fatal error: require() [function.require]: Failed opening required 'home/sitename/public_html/smartyf/Smarty.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sitename/public_html/includes/config.inc on line 58

Re: Website showing error in config.inc. Please Help me

Posted: Mon Mar 15, 2010 8:30 am
by AbraCadaver
Does this exist? 'home/sitename/public_html/smartyf/Smarty.class.php'

Re: Website showing error in config.inc. Please Help me

Posted: Mon Mar 15, 2010 9:45 am
by saleemawan
Yes the file 'home/sitename/public_html/smartyf/Smarty.class.php' exist in the folder. All other files are properly installed but still im facing this problem. I have even changed 777 for all folders.

Re: Website showing error in config.inc. Please Help me

Posted: Mon Mar 15, 2010 9:51 am
by VladSun
I think it should be /home/sitename/public_html/smartyf/Smarty.class.php
instead of home/sitename/public_html/smartyf/Smarty.class.php

Re: Website showing error in config.inc. Please Help me

Posted: Tue Mar 16, 2010 4:41 am
by saleemawan
Problem is solved buddies. There was some problem in files of the folder includes. I uploaded the copy of include folder again and its working now.