View Full Version : Website not working
Najawarie
12-30-2013, 03:34 PM
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.
Hall of Famer
12-31-2013, 12:50 AM
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?
Najawarie
12-31-2013, 10:27 AM
I don't think so... I even retried the whole thing on another website and keep getting that error. I'm pretty much lost
Hall of Famer
01-01-2014, 05:13 AM
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?
Najawarie
01-01-2014, 11:07 AM
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_');
?>
Hall of Famer
01-01-2014, 11:12 AM
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.
Najawarie
01-01-2014, 05:37 PM
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
mattinc
05-18-2014, 03:55 PM
I have the same fatal error.. no idea :/
IntoRain
05-18-2014, 04:55 PM
Is your scriptpath in config.php correct?
Hall of Famer
05-19-2014, 08:10 AM
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.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.