Menu

Errors While Adding New Users

Help
2018-10-12
2020-10-16
  • Rod McInnes

    Rod McInnes - 2018-10-12

    Dear Gerry et al

    I'm getting the following errors while adding new users via mobile (I'm travelling in North America)..

    ERROR 8: Undefined index: bulkMail
    0 Error occurred on line 548 of file authentication.php in function addMessage
    1 called from line 203 of file useradmin.php

    ERROR 2: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/xxxxx/mcinnes-family-history.com/includes/functions/functions.php:511)

    The mail function works (though I get an ERROR 8 warning) and the verification and registration of new members works fine (though I get ERROR 2 and 8) . I added a dummy registrant as a test. However, these error messages don't inspire confidence with the new registrants!

    Any ideas, please?

     

    Last edit: Rod McInnes 2018-10-12
  • Gerry Kroll

    Gerry Kroll - 2018-10-12

    This bug was recently reported by a very helpful user in China. ("China" has nothing to do with this!)

    The bug was fixed in SVN. Unfortunately, there's nothing you can do until you have access to your site to implement an update.

    The attached file login_register.php , when copied into your PhpGedView install directory on your server, should fix the problem.

     
  • Rod McInnes

    Rod McInnes - 2018-10-12

    Thanks Gerry,

    Prompt and much appreciated. I'll fix it after the long voyage home.

    Rod

     
  • Gerry Kroll

    Gerry Kroll - 2018-10-12

    Rod:
    You should upgrade your copy of PhpGedView to the latest-and-greatest. That's the "SVN" version, AKA 4.3.1

    Please e-mail me directly when you get home and I'll provide you with a link to my site where you can easily download that version instead of messing with the SVN repository.

    gkroll (at) keldine (dot) ca

     
  • Rod McInnes

    Rod McInnes - 2020-10-15

    Garry et al

    With a strong sense of deja vu....

    I got the above error two years back. I installed 4.3.1 svn and have not had the trouble again. Until this morning when approving a new user, granting edit rights, linking to their spouse's entry and that person's root entry, adding a comment and setting a warning date to check if login occurs. All very standard procedures for a new member.

    ERROR 8: Undefined index: bulkMail
    0 Error occurred on line 548 of file authentication.php in function addMessage
    1 called from line 203 of file useradmin.php

    ERROR 2: Cannot modify header information - headers already sent by (output started at /hsphere/home/local/xxxxx/mcinnes-family-history.com/includes/functions/functions.php:511)

    Any idea what I should do this time?

    Rod

     

    Last edit: Rod McInnes 2020-10-16
  • Gerry Kroll

    Gerry Kroll - 2020-10-15

    This error was reported, and fixed, quite some time ago.

    You need to replace your copy of PhpGedView with the latest offering from the SVN repository. There have been a lot of changes since 2018.

     
  • Rod McInnes

    Rod McInnes - 2020-10-16

    Thanks, good advice which I expected. I just thought it odd that I've not had this issue for two years. I actually have supervision (but not control - I can approve users but not upgrade) of another family's site which has never been upgraded and it is running 4.0.2 but doesn't have this problem. Rod

     
  • Gerry Kroll

    Gerry Kroll - 2020-10-16

    It's not surprising that 4.0.2 doesn't have the problem. The code is VERY different between 4.0.2 and 4.3.1.

    I'd advise the 4.0.2 site be ugraded as soon as possible. The site will die completely as soon as PHP on that server is updated to anything newer than 5.3. There are also a number of security issues that have been corrected since 4.0.2 was released.

     

Log in to post a comment.