No email notification to sysadmin
For a new user want to register to the system there is not any notification email to sysadmin or account that waiting to approve.
This may be added to handle newcomer.
This actually seems like a bug. I also have this. After self-registration an empty page (only header) is shown. If debug is enabled (define('DEBUG', true); in e.g. app.php) an error is shown:
Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'requested_by' cannot be null in /var/www/html/includes/Classes/MembersActions.php:326
Stack trace:
#0 /var/www/html/includes/Classes/MembersActions.php(326): PDOStatement->execute()
#1 /var/www/html/includes/Classes/Users.php(500): ProjectSend\Classes\MembersActions->group_request_membership()
#2 /var/www/html/register.php(51): ProjectSend\Classes\Users->triggerAfterSelfRegister()
#3 {main} thrown in /var/www/html/includes/Classes/MembersActions.php on line 326
I also have similar issue: After self-registration an empty page (only header) is shown.
When I try to debug (thanks to MrApe), I get the following error:
Fatal error: Uncaught Error: Undefined constant "ProjectSend\Classes\CURRENT_USER_LEVEL" in /mysite/includes/Classes/Users.php:842 Stack trace: #0 /mysite/includes/Classes/Users.php(464): ProjectSend\Classes\Users->limitUploadToSave() #1 /mysite/register.php(45): ProjectSend\Classes\Users->create() #2 {main} thrown in /mysite/includes/Classes/Users.php on line 842
Is this similar to my poorly titled #1208?
Is this similar to my poorly titled #1208?
Not exactly as I don't use Google for the authentication. The issue that I have is for built-in user registration process.
Actually it's a pretty big and important bug. A lot of users can be affected. How can we fix that?
As a temp fix, what happens if you set the option to CC all emails and add your address there?
I was meaning: After self-registration an empty page (only header) is shown. Looks like the bug is similar, but I probably should create a separate thread for new registration empty page bug.
@ignacionelson I attempted this. Still unable to generate any emails from registering a new client.
Is this the only email thats not going out to admins?
As far as I'm aware. "New files uploaded by clients" goes out just fine, and once I checked the box to also send to the "from" account, I started seeing "New files uploaded for you" cc's.
I think the issue is very clear now, sorry I didn't get it before. I'll try to post a fix as soon as it's done
@serg499 Your error should be fixed here f2797d4 I'll check the other one
@ignacionelson Thank you, Ignacio! Unfortunately, it hasn't fixed this thing. Probably, there's another error that prevents the showing of the last registration step. Chrome console shows error 500 in the register.php. Tomorrow I'll try to debug better to help you to locate the issue. Again, thank you for help!