Welcome Guest, Not a member yet? Register   Sign In
Newbie Needs help
#1

[eluser]nagata[/eluser]
So I made a reg form with all the model, view, controler stuff
And when I was done doing so I started testing.
When I press Submit I get this error:
Code:
A PHP Error was encountered

Severity: Notice

Message: Undefined property: Auth::$db

Filename: libraries/Form_validation.php

Line Number: 954

Fatal error: Call to a member function limit() on a non-object in C:\xampp\htdocs\system\libraries\Form_validation.php on line 954
So can someone help me?
If source of app needed, I can give it if needed.
#2

[eluser]CroNiX[/eluser]
Looks like you might be using a validation rule that requires the database, like is_unique. Is your database configured, loaded and working correctly?

Yes, code always helps.
#3

[eluser]nagata[/eluser]
I had been making this code 3 hours...
Anyways yes DB is configured properly, I was following that tutorial in manual and all worked right...

<Code Sniped>

#4

[eluser]nagata[/eluser]
I figured some mistakes out on my own, but i met this...
Code:
A PHP Error was encountered

Severity: Notice

Message: Undefined property: Auth::$auth_model

Filename: controllers/auth.php

Line Number: 47

Fatal error: Call to a member function insert_user() on a non-object in C:\xampp\htdocs\application\controllers\auth.php on line 47
insert_user() is a function in auth_model, and is used in reg()
any help please?
also i would like to know how to make thet login part too so seasion could be kept alive



Edit,

So yeah I used my brains and worked hard and finnaly fixed this problems Big Grin
Now I need to make the Login and Online Checker, with seasion, I would appriciate any kind of help on this as I have NO idea how to do so Sad
Ps. I removed the code as it contained some of the security methods...




Theme © iAndrew 2016 - Forum software by © MyBB