Jump to content

I Do I Insert Data In A Module Function With Two Objectives?


RalphLeMouf

Recommended Posts

I am in the process of creating my forgotten password module. My logic seems to be there, but being new with codeigniter and mvc all together I am having some syntax logic errors.

The below code is me trying to have the user submit their email address and send them a token email, while simultaneously inserting a unique token and their email in a new table to check when they are actually on the reset password page.

I am getting the following errors:

( I get this three times ) A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/auth.php

Line Number: 150

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/auth.php

Line Number: 157

and here is a link to the code

thanks in advance.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.