• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Error after trying to restore the password and nothing is sent to the mail

whatsin

Chevereto Member
▶ Reproduction steps
  1. Update from 10 to 11
  2. Go to the login and try to restore the password
😢 Unexpected result

After entering the mail and pressing restore there is an error and nothing is sent to the mail.

📃 Error log message

I tried changing the debug levels, but no more detailed error declaration appeared. I also found nothing in the logs. Perhaps because of this https://chevereto.com/community/threads/error-logging-not-working-for-json.14469/
 
Which error? You should try testing email delivery.

P.S. The user password process doesn't use json. This is not related to the issue you mention.
I already rolled back to the 10th update, so I can't check what's wrong with me. But I tried to register on another site (DarkTexas's) with update 11 and got error "SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting in /var/www/website/html/app/src/Legacy/functions.php:223"

So yeah, something is wrong with the email handler
 
Try with this.

Open app/src/Legacy/functions.php and replace this:

PHP:
    $mail->Mailer = getSettings()['email_mode'];
    if ($mail->isSMTP()) {

With this:

PHP:
    if (getSettings()['email_mode'] === 'smtp') {
        $mail->isSMTP();
 
Try with this.

Open app/src/Legacy/functions.php and replace this:

PHP:
    $mail->Mailer = getSettings()['email_mode'];
    if ($mail->isSMTP()) {

With this:

PHP:
    if (getSettings()['email_mode'] === 'smtp') {
        $mail->isSMTP();

Great, now everything works, thank you.
 
Back
Top