View Single Post
  #2 (permalink)  
Old August 5th, 2003, 01:29 AM
robmorrish robmorrish is offline
Registered User
 
Join Date: Aug 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have fixed the undefined error on send(). Had not set
the mail type for PEAR correctly
 changed Mail::factory("mail");
 to Mail::factory("sendmail");

Now everthing works EXCEPT the activate & deactivate buttons on
/core/users/index.php!

The actual activation/deactivation action and database updates
work correctly. It is when the _notifyUser() is called from
within the activate/deactivate through /core/users/index.php

I get the following error:-
Fatal error: Call to a member function on a non-object in /_lib/_classes/class.users.php on line 188


I noticed that /core/users/index.php instantiated the
class.session.php (which extends class.users.php) through
the tpl_secure.php page.

The _notifyUser() function DOES work.
/site/login/reminder.php
/core/users/form.php
these instantiate class.user.php directly and work!

The _notifyUser() function DOES NOT work
/core/users/index.php

confused? I am!

can anyone help me?