older php and mysql versions
I have both user verification and admin approval enabled.
I have created several test users. (problem exists with real users too)
I have clicked on the confirmation link for each user.
Clicking on activation links individually
Activating one user at a time through User Manager
What doesn't work:
When I go into the user manager and select several users to activate, the following happens:
The first user is activated and receives activation notification email
The second user is activated. No email is sent. (I have been tailing the maillog file to confirm, and the messages would have come to me). Any user past the second user is not displayed on the screen
The screen (when activating 4 users) appears like this:
Fatal error: Cannot redeclare cpg_mail() (previously declared in /home/website/pictures/include/mailer.inc.php:20) in /home/website/pictures/include/mailer.inc.php on line 20
I did dos2unix mailer.inc.php since it has ^M everywhere and I am running on Linux. I corrected the permissions afterwards to match the other files.
In relation, is there a way to resend activation emails when the system thinks an email has already been sent?