View Single Post
  #1  
Old 03-28-2014, 05:36 PM
Skaiya Skaiya is offline
Member
 
Join Date: Mar 2014
Location: Netherlands
Posts: 40
Gender: Female
Credits: 10,619
Skaiya is on a distinguished road
Question class_Mysidia.php can't find Smarty.class.php [SOLVED]

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:
PHP Code:
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
PHP Code:
    public function getTemplate(){
        
$templateClass "inc/smarty/Smarty.class.php";
        require 
$this->path->getRoot().$templateClass
config.php
PHP Code:
<?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.

Last edited by Skaiya; 03-29-2014 at 01:24 PM.
Reply With Quote