Skaiya
03-28-2014, 05:36 PM
So as I saw on the forum before people are having trouble with this but I can't seem to find my solution between them.
I'll just post what I have.
Error:
Warning: require(/home/***/domains/***.com/public_html/pixel%20pets/inc/smarty/Smarty.class.php) [function.require]: failed to open stream: No such file or directory in /home/deb71910/domains/samanthamook.com/public_html/pixel pets/classes/class_mysidia.php on line 326
Fatal error: require() [function.require]: Failed opening required '/home/***/domains/***.com/public_html/pixel%20pets//inc/smarty/Smarty.class.php' (include_path='.:/usr/local/lib/php') in /home/***/domains/***.com/public_html/pixel pets/classes/class_mysidia.php on line 326
Codes:
class_mysidia.php
public function getTemplate(){
$templateClass = "inc/smarty/Smarty.class.php";
require $this->path->getRoot().$templateClass;
config.php
<?php
//Mysidia Adoptables Site Configuration File
define('DBHOST', 'localhost'); //DB Hostname
define('DBUSER', '***'); //DB Username
define('DBPASS', '***!'); //DB Password
define('DBNAME', '***'); //Your database name
define('DOMAIN', '***.com'); //Your domain name (No http, www or . )
define('SCRIPTPATH', '/pixel%20pets'); //The folder you installed this script in
define('PREFIX', 'adopts_');
?>
I am clueless here.
I'll just post what I have.
Error:
Warning: require(/home/***/domains/***.com/public_html/pixel%20pets/inc/smarty/Smarty.class.php) [function.require]: failed to open stream: No such file or directory in /home/deb71910/domains/samanthamook.com/public_html/pixel pets/classes/class_mysidia.php on line 326
Fatal error: require() [function.require]: Failed opening required '/home/***/domains/***.com/public_html/pixel%20pets//inc/smarty/Smarty.class.php' (include_path='.:/usr/local/lib/php') in /home/***/domains/***.com/public_html/pixel pets/classes/class_mysidia.php on line 326
Codes:
class_mysidia.php
public function getTemplate(){
$templateClass = "inc/smarty/Smarty.class.php";
require $this->path->getRoot().$templateClass;
config.php
<?php
//Mysidia Adoptables Site Configuration File
define('DBHOST', 'localhost'); //DB Hostname
define('DBUSER', '***'); //DB Username
define('DBPASS', '***!'); //DB Password
define('DBNAME', '***'); //Your database name
define('DOMAIN', '***.com'); //Your domain name (No http, www or . )
define('SCRIPTPATH', '/pixel%20pets'); //The folder you installed this script in
define('PREFIX', 'adopts_');
?>
I am clueless here.