View Single Post
  #188  
Old 04-10-2014, 05:59 PM
gloryKAT's Avatar
gloryKAT gloryKAT is offline
Pikachu.
 
Join Date: Jun 2013
Posts: 81
Gender: Female
Credits: 6,049
gloryKAT is on a distinguished road
Default

directory path?

how do i figure that out XD

all that's in there is this:

<?php
//Mysidia Adoptables Site Configuration File

define('DBHOST', 'localhost'); //DB Hostname
define('DBUSER', 'foxmerev_gloryka'); //DB Username
define('DBPASS', '***********'); //DB Password
define('DBNAME', 'foxmerev_main'); //Your database name
define('DOMAIN', 'foxmerevale.x10.mx'); //Your domain name (No http, www or . )
define('SCRIPTPATH', ''); //The folder you installed this script in
define('PREFIX', 'adopts_prefix');
?>

went into classes and found this:

}

/**
* The getTemplate method, will be added later once smarty or another template engine such as Twig is implemented.
* @access public
* @return Template
*/
public function getTemplate(){
$templateClass = "inc/smarty/Smarty.class.php";
require $this->path->getRoot().$templateClass;

$this->template = new Template($this->path);
Registry::set(new String("template"), $this->template, TRUE, TRUE);
return $this->template;
}

which appears to be part of my problem because it cant call upon smarty (it's not there)

okay i edited smarty and now this occurs:

Warning: require(/home/foxmerev/public_html/lang/lang_global.php): failed to open stream: No such file or directory in /home/foxmerev/public_html/classes/class_language.php on line 78

Fatal error: require(): Failed opening required '/home/foxmerev/public_html/lang/lang_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/foxmerev/public_html/classes/class_language.php on line 78
__________________
Dragons of the Dawn Roleplay

Last edited by gloryKAT; 04-10-2014 at 06:06 PM.