Question: Registration email problem

Registration email problem

The Forum is working fine but new visitors do not receive a validation email. After filling in and sending the registration form the person gets a message on an otherwise blank page. "This p

IK

Ian Kirkpatrick

Asked

The Forum is working fine but new visitors do not receive a validation email. After filling in and sending the registration form the person gets a message on an otherwise blank page. “This page isn’t working …co.nz is currently unable to handle this request. HTTP ERROR 500”

The new visitor is added to the user list but is inactive. I think I have tried all the email variables settings without success. The website hosting company has checked the Mail logs on the server Main Control Panel and cannot see any email send attempts. Any suggestions? Should I try a total new reinstall?

I would be happy to have new visitors automatically validated after sending the registration form, which would avoid the need for an email validation if this is possible. Can you advise me if that can be done. Regards

  • MS

    Mian Saleem

    Answered

    Hello,

    I am sorry to listen that you having issues.

    Did you check your mail settings? Please update them as you need. 500 errors are internal server error and might be cause to various reason, the server php logs would have the details of the error. Please let me know so that I can suggest.

    I am not sure if app logs can help but you can enable then by changing the log_threshold to 1 in app/config/config.php then try the actions again to reproduce errors. Lastly check the latest error log in the app/logs/ directory.

    If you no need email confirmation and was to set the user as active on registration then you can change the email_activation to false in the app/config/ion_auth.php

    Thank you

  • IK

    Ian Kirkpatrick

    Answered

    That worked fine and has made registering much easier in my application. Thank you.

    Is it possible to have the blue side panel (or parts thereof) only visible to administrators? I don’t want members to be able to start new threads and it is not necessary for them to see the other items.

  • MS

    Mian Saleem

    Answered

    Hello,

    You will need to modify the item code. The view file is themes/default/views/sidebar.php to hide the buttons. Instead of if ($loggedIn) { you can check if ($loggedIn && ($Admin || $Moderator)) {

    You should restrict the add method of app/controllers/Topics.php too.

    Please be informed that we don’t offer support for modifications and modified versions. You are allowed to do it at your own risk as per license.

    Thank you

  • DG

    Dovydas Gelažis

    Answered

    Have same problem after registration 500 error.

  • DG

    Dovydas Gelažis

    Answered

    Mian Saleem Have same problem after registration 500 error.

    "ERROR - 2020-09-06 19:29:43 --> Severity: error --> Exception: Class ‘PHPMailer\PHPMailer\PHPMailer’ not found /public_html/forum/app/libraries/Tec_mail.php 25 "

  • MS

    Mian Saleem

    Answered

    Dovydas Gelažis Hello,

    Please ask new question with details.

    Thank you

  • Login to Reply