Hi guys,
I’ve installed Aptana Studio 2.0 it runs good in the preview. But I have problem with the debugging feature of Aptana. I’m having this error
X-Powered-By: PHP/5.2.10 ZendServer
Set-Cookie: ZendDebuggerCookie=127.0.0.1:10000:0||00C|77742D65|1000; path=/
Set-Cookie: PHPSESSID=a9ed93765048c81dd34ec1ca7b6e4590; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/html
Fatal error: Class ‘Controller’ not found in C:\wamp\www\ci\system\application\controllers\test.php on line 4
This is my code:
<?php
class Test extends Controller
{
public function __construct()
{
parent::Controller();
$this->load->database();
}
public function index()
{
echo 'test';
}
}
?>It say’s there that the class Controller is not found. How come it has an error in the debugging feature. But it runs when I preview it in both IE and Firefox in Aptana’s built in server.
Any ideas?
Good day…...
Philip