Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
Archived Discussions
Archived Development & Programming
Can't find model -- and it's there
Pages (2):
« Previous
1
2
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
Can't find model -- and it's there
El Forum
Guest
#11
07-12-2010, 11:03 AM
[eluser]WanWizard[/eluser]
and your model files are lower-case? And readable by the webserver (file rights ok)?
El Forum
Guest
#12
07-12-2010, 12:45 PM
[eluser]heliguy[/eluser]
Since your model is called "Registration_model", is your file called "registration_model.php" ?
El Forum
Guest
#13
07-13-2010, 02:18 AM
[eluser]joao.sobrinho[/eluser]
in my case, User_model is the name of the class model, and user_model.php is the name of the file.
all the files need read and execution permitions, right ?
El Forum
Guest
#14
07-13-2010, 02:26 AM
[eluser]Mr. Pickle[/eluser]
Try loading your model in lowercase:
Code:
$this->load->model('user_model');
And in the model itself the model name is uppercase?
Code:
class User_model extends Model {
// code
}
Pages (2):
« Previous
1
2
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB