Welcome Guest, Not a member yet? Register   Sign In
Unable to load the requested file:
#1

[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?




Theme © iAndrew 2016 - Forum software by © MyBB