![]() |
Website not working
Hi!
I have followed the installation of the script and did it until the end of process. After that, I have set back the config.php to 644 and deleted the Install folder. Though, there is a trouble, I cannot view a website actually... http://rednarwhal.elementfx.com/index.php Thank you! Naja --- I am willing to give FTP infos and login infos on the website's host if somebody can fix the problem. I'm sadly very beginner in coding. |
Apparently you did not upload the files properly, why do you have two public_html and inc folders? Or did you specify the wrong config information for domain and script path?
|
I don't think so... I even retried the whole thing on another website and keep getting that error. I'm pretty much lost
|
Like I said before, there is a good chance you did not upload the files properly or misconfigured the site when you ran the installer. Can you show me whats inside your config.php with dbpassword removed or asterisked?
|
Hi!
Here it is: <?php //Mysidia Adoptables Site Configuration File define('DBHOST', 'localhost'); //DB Hostname define('DBUSER', 'rednarwh_admin'); //DB Username define('DBPASS', '********'); //DB Password define('DBNAME', 'rednarwh_adoptables'); //Your database name define('DOMAIN', 'rednarwhal.elementfx.com'); //Your domain name (No http, www or . ) define('SCRIPTPATH', '/public_html/inc'); //The folder you installed this script in define('PREFIX', 'adopts_'); ?> |
Can you try changing the script path from '/public_html/inc' to '' instead? Your script path may be different if you install it in a subdirectory, but it should never be anything like public_html.
|
Did it! Now the website has this on it;
Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'template.tpl'' in /home/rednarwh/public_html/inc/smarty/sysplugins/smarty_internal_templatebase.php:127 Stack trace: #0 /home/rednarwh/public_html/inc/smarty/sysplugins/smarty_internal_templatebase.php(374): Smarty_Internal_TemplateBase->fetch('template.tpl', NULL, NULL, NULL, true) #1 /home/rednarwh/public_html/classes/class_template.php(135): Smarty_Internal_TemplateBase->display('template.tpl') #2 /home/rednarwh/public_html/classes/class_view.php(280): Template->output() #3 /home/rednarwh/public_html/classes/class_frontcontroller.php(102): View->render() #4 /home/rednarwh/public_html/index.php(74): FrontController->render() #5 /home/rednarwh/public_html/index.php(78): IndexController::main() #6 {main} thrown in /home/rednarwh/public_html/inc/smarty/sysplugins/smarty_internal_templatebase.php on line 127 |
I have the same fatal error.. no idea :/
|
Is your scriptpath in config.php correct?
|
The smarty errors are usually resulted from bad config.php entries or missing a template file. For fresh-install it's most likely to be the former, unless you've changed the default theme to a custom one but the custom template does not really exist yet.
|
All times are GMT -5. The time now is 02:55 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.