Class Not Found, but its static methods work

agideignist

New Member
I've stared at this for two hours, and I'm sure there's a decent reason this is happening, but I can't figure it out.\[code\]<?phperror_reporting(7); //warning & parseinclude($_SERVER['DOCUMENT_ROOT'].'/echo/EchoApplication.php');$db_credentials = array( 'host' => 'localhost', 'user' => 'db_user', 'password' => 'db_pass', 'database' => 'db_name');EchoApplication::testMethod();$app = new EchoApplicaton(); //line 16$app->db_credentials = $db_credentials;$app->run();----and this happens----Fatal error: Class 'EchoApplicaton' not found in /var/www/html_echo/page.php on line 16\[/code\]How is that possible?EDIT: posted the whole page's code.
 
Back
Top