CodeIgniter Forums
Unable to load the requested file: - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Unable to load the requested file: (/showthread.php?tid=7033)



Unable to load the requested file: - El Forum - 03-21-2008

[eluser]JasonS[/eluser]
I have not had this trouble on any other file.

In controllers I have file named contact.php

This file contains..

Code:
<?php

class Contact extends Controller
{
    var $css;
    var $base;
    
    function Contact()
    {
        parent::Controller();
        $this->css = $this->config->item('css');
        $this->base = $this->config->item('base_url');
    }
    
    function index()
    {
        ...
        }
}
?>

When I go to the following URL..

http://localhost/CMS/index.php/contact

I get this error


An Error Was Encountered

Unable to load the requested file: contact.php


I do not receive it for any other controller I have made.

Any ideas?