UNCAUGHT - 'Slash_Loader_Exception' Exception

Class 'PortfolioCategorys_Model' was not found, code - 0

/var/www/st-dev.com/public_html/protected/libraries/Slash/loader/Loader.php, line 117

107        }
108
109        if(file_exists($currentPath.DS.$classDir.DS.$classFile)) {
110            require_once($currentPath.DS.$classDir.DS.$classFile);
111            return true;
112        }
113        
114        
115
116        if($throwOnFalse && $notController && !class_exists($class, false) && !interface_exists($class, false)){
117            throw new Slash_Loader_Exception("Class '$class' was not found");
118        }
119        return false;
120    }
121    /**
122     * Method to explicitly load a file
123     * 
124     * @param string $file The filename to load
125     * @param string $dir [optional] The directory to include file from, 
126     * defaults to application path
127     * @return bool Returns true on success false otherwise


Backtrace

0 /var/www/st-dev.com/public_html/protected/libraries/Slash/loader/Loader.php - 41 Slash_Loader::load("PortfolioCategorys_Model")

1 - 0 Slash_Loader::autoload("PortfolioCategorys_Model")

2 /var/www/st-dev.com/public_html/protected/application/controllers/Portfolio.php - 53 spl_autoload_call("PortfolioCategorys_Model")

3 - 0 Portfolio_Controller->listAction("portfolio/Website/2", "Website", "Website", "2", ...)

4 /var/www/st-dev.com/public_html/protected/libraries/Slash/controller/Controller.php - 286 ReflectionMethod->invokeArgs(Portfolio_Controller, array("portfolio/Website/2", "Website", "Website", "2", ...))

5 /var/www/st-dev.com/public_html/protected/libraries/Slash/application/Application.php - 76 Slash_Controller->dispatch()

6 /var/www/st-dev.com/public_html/index.php - 33 Slash_Application->run()
28
29require_once("Slash/application/Application.php");
30
31$application = new Slash_Application();
32$application->initWeb();
33$application->run();
34
35?>


Back
Slash Framework version 1.0