can't acess my helloworld.php file
Posted: 22. March 2010 11:57
Hi all,
I have setup xampp 1.7.3 for windows in my localhost, and I am able to see the index page: at
http://localhost:8080/
I have also downloaded cakePhp 1.2.6. and unzipped all the files to this directory under XAMPP:
htdocs/cake_1_2/
and I can see all things have been well configured at
http://localhost:8080/cake_1_2/
Your tmp directory is writable.
The FileEngine is being used for caching. To change the config edit APP/config/core.php
Your database configuration file is present.
Cake is able to connect to the database.
Then I have created a helloworld.php file:
When I tried to access this URL at
http://localhost:8080/cake_1_2/helloworld.php
, it showed me this error:
Error: Create the class Helloworld.phpController below in file: app\controllers\helloworld.php_controller.php
I have no idea how to slove this problem.
Please kindly help if you could
I have setup xampp 1.7.3 for windows in my localhost, and I am able to see the index page: at
http://localhost:8080/
I have also downloaded cakePhp 1.2.6. and unzipped all the files to this directory under XAMPP:
htdocs/cake_1_2/
and I can see all things have been well configured at
http://localhost:8080/cake_1_2/
Your tmp directory is writable.
The FileEngine is being used for caching. To change the config edit APP/config/core.php
Your database configuration file is present.
Cake is able to connect to the database.
Then I have created a helloworld.php file:
- Code: Select all
<?php
class helloworld extends AppController {
function displaytext() {
echo "Hello world.";
}
}
?>
When I tried to access this URL at
http://localhost:8080/cake_1_2/helloworld.php
, it showed me this error:
Error: Create the class Helloworld.phpController below in file: app\controllers\helloworld.php_controller.php
I have no idea how to slove this problem.
Please kindly help if you could