Coder Social home page Coder Social logo

Comments (8)

mimecorg avatar mimecorg commented on May 27, 2024

When an error like this occurs, you should be able to see the detailed information in the event log (Tools > Event Log).

from webissues.

sergiokessler avatar sergiokessler commented on May 27, 2024

Ok, I found it, thanks !

Unhandled PHPMailer\PHPMailer\Exception: Error SMTP ...

Maybe I misconfigured the mail settings, but the problem is that accounts created remains in an inconsistent state...
So, I think this is a bug...

(you don't see any in User Accounts but trying to re-register fail with 'username already exist')

from webissues.

sergiokessler avatar sergiokessler commented on May 27, 2024

ok, delete * from register_requests cleaned up things...

from webissues.

sergiokessler avatar sergiokessler commented on May 27, 2024

Now, there is 2 additional problems:

Mail setings:
image

  1. this doesn't produce any log at all

  2. the PHPMailer included is old, very old...

from webissues.

mimecorg avatar mimecorg commented on May 27, 2024

Yes, you're right, the error should be logged when email settings are tested, I will fix that. PHPMailer is from December 2019, so it's not super old, but I will update it in the next release of WebIssues.

Requests that are not activated are automatically removed from the register_requests table by the cron job. It's not perfect, but even if the email is sent, there is no guarantee that it reaches the recipient.

from webissues.

sergiokessler avatar sergiokessler commented on May 27, 2024

ok, thanks!

IMO the register_requests records should not be stored at all if there is an error in the process...
(like that "unexpected error")

do you have an estimate when the next release is coming ?

from webissues.

mimecorg avatar mimecorg commented on May 27, 2024

I took a while, but I finally released version 2.0.3 with updated PHPMailer and improved SMTP logging and diagnosing.

from webissues.

gh658804 avatar gh658804 commented on May 27, 2024

In a somewhat related issue, i had the webissues database taken offline and i received the same error. This error is too general. It would be nice if it could be analyzed a bit. Perhaps something like "Unexpected error in * subsystem", where * could be Mail, Database or whatever else could exist. At least then you could narrow it down and immediately know where to look without checking any logs.

BTW, "Tools > Event Log" as said in your first reply was not helpful for me. Perhaps the message could also have more specific directions on where to go to find a more detailed description of the error.

from webissues.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.