#129 Confirmations Email Change in PageOptions

open
nobody
None
5
2008-08-06
2008-08-06
katzlbt
No

And I have changed the password of administrator.

But I can't change the email of administrator.

I get this error:

-----------------------------------------
Fatal error: Cannot break/continue 1 level in /home/utopiave/sd/reloaded/www/lib/frontEnd/PageOptions.class.php on line 234
-----------------------------------------

I have changed the email of administrator via PhpMyAdmin. I can login with the new email, but I can't change the email of administrator. I get the same error:

-----------------------------------------
Fatal error: Cannot break/continue 1 level in /home/utopiave/sd/reloaded/www/lib/frontEnd/PageOptions.class.php on line 234
-----------------------------------------

Discussion

  • Jonathan Daley
    Jonathan Daley
    2009-01-22

    I tried renaming the "break" to "return" since presumably that is what it is trying to do, and the confirmation email is now sent appropriately, but when I click on the link, I get:

    Cannot load contact with record id:

    When I try to login, I get "not confirmed yet" error. And the resend of the confirmation error results in the same error as above (cannot load contact).

    I've tried destroying my session, but it is reproducible. I'll try editing the database manually. Surely other people have tried renaming the admin@example.com email address?

     
  • Jonathan Daley
    Jonathan Daley
    2009-01-22

    Adding a debug_backtrace() to the Contact->load() call shows that the contact->id is null during the wakeup() for the session.

     
  • Jonathan Daley
    Jonathan Daley
    2009-01-22

    aha. Perhaps the session_destroy() wasn't really working, but after PHP's 20 minute timeout expired, I can now login again.