Link to home
Start Free TrialLog in
Avatar of smphil
smphilFlag for Afghanistan

asked on

CAKE PHP Question

I want to ad a page to a existing site that was not built by me I tried just adding a regular .htm page and I got this error message below/
 Can anyone explain why this message is coming up and how to fix it so the sitemap.htm page will display. There are other .htm pages on the site that display just fin.

Missing Controller

Error: Sitemap.htmController could not be found.

Error: Create the class Sitemap.htmController below in file: app/controllers/sitemap.htm_controller.php

<?php
class Sitemap.htmController extends AppController {

	var $name = 'Sitemap.htm';
}
?>

Open in new window

Avatar of Chris Sandrini
Chris Sandrini
Flag of Switzerland image

Did you include the class? Otherwise it will not find Sitemap.htmController.
Avatar of smphil

ASKER

Where do I include the class......
ASKER CERTIFIED SOLUTION
Avatar of Chris Sandrini
Chris Sandrini
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of smphil

ASKER

WOW it worked thanks friend.....