Noob Help Unable to load the requested class |
[eluser]Unknown[/eluser]
Hi Folks, You must hear this all the time, I'm pretty new to PHP and CI, I'm following the video series on nettuts+ I'm currently on day 5. I have been able to de-bug most of my errors so far but I'm struggling with this one: Unable to load the requested class: data I have gone back over the video a number of times and my code is the same as his, yet his works. When I go to: http://localhost/ci/index.php/site/create I get the above error. Can anyone help me with this? Model: name= site_model.php Code: <?php Controller: name= site.php Code: <?php View: name= options_view.php Code: <html>
[eluser]mi6crazyheart[/eluser]
Well i show u'r codes. But, for one this i'm surprised by watching u'r url(http://localhost/ci/index.php/site/create) . By this u r sending u'r request to "create" function of controller class "site". But, according to u'r controller class there is no function by name "create"... |
Welcome Guest, Not a member yet? Register Sign In |