Welcome Guest, Not a member yet? Register   Sign In
trying to load Email class gives non-object error
#1

[eluser]GuyFawkes[/eluser]
Hi all,
I'm trying to create a rather simple login page and so far everything has gone smoothly up to the point where I thought it would be a good idea to send a confirmation email to the user who completes the form. My problem is though when I try to load and use the email class i get the following error:

Fatal error: Call to a member function on a non-object.

I've read through a few posts on here covering similar problems but none of the solutions work. I've tried autoloading the class, i've tried loading it in the controllers constructor, i've even tried switching between php4 and php5 on my hosting account and I still get this error.

The strange thing is the form_validation class loads and works just fine. Does anyone at all have any suggestions on how to fix this, it really is starting to get very frustrating.

Many thanks in advance
Guy Fawkes Wink


Messages In This Thread
trying to load Email class gives non-object error - by El Forum - 10-02-2009, 12:33 PM
trying to load Email class gives non-object error - by El Forum - 10-02-2009, 01:01 PM
trying to load Email class gives non-object error - by El Forum - 10-02-2009, 01:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB