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
Website showing error in config.inc. Please Help me
Moderator: General Moderators
- saleemawan
- Forum Newbie
- Posts: 4
- Joined: Mon Mar 15, 2010 1:50 am
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: Website showing error in config.inc. Please Help me
Does this exist? 'home/sitename/public_html/smartyf/Smarty.class.php'
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
- saleemawan
- Forum Newbie
- Posts: 4
- Joined: Mon Mar 15, 2010 1:50 am
Re: Website showing error in config.inc. Please Help me
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
I think it should be /home/sitename/public_html/smartyf/Smarty.class.php
instead of home/sitename/public_html/smartyf/Smarty.class.php
instead of home/sitename/public_html/smartyf/Smarty.class.php
There are 10 types of people in this world, those who understand binary and those who don't
- saleemawan
- Forum Newbie
- Posts: 4
- Joined: Mon Mar 15, 2010 1:50 am
Re: Website showing error in config.inc. Please Help me
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.