3066 Posts in 866 Topics by 648 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 490 Views |
-
Object::add_extension for Member class kicks me out of the CMS!

2 August 2011 at 10:52am
Hey Team,
I've got a couple of sites which require an extended Member class to allow for phone details etc.
In mysite/_config.php I have Object::add_extension("Member", "MyMember");
This is the code for MyMember.php: http://pastie.org/2306228
For some reason when I put this code in to the site, it kicks me from the CMS and won't let me log in again.
I'm hoping someone has run in to this previously, If someone could paste a link to the answer on the forum if there is one
Cheers!
-
Re: Object::add_extension for Member class kicks me out of the CMS!

4 August 2011 at 7:00am
Hi there
Just to confirm that your code works fine in my testinstall 2.4.5 (quick copy/paste), so it must be something else... You did a /dev/build/?flush=1 I presume?
| 490 Views | ||
|
Page:
1
|
Go to Top |

