Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: horisize on May 27, 2019, 02:15:07 AM

Title: unknown error
Post by: horisize on May 27, 2019, 02:15:07 AM
i keep getting this error

https://csscpsg.org/smf/index.php?scheduled=mailq;ts=1558937083

i follow the link, but only get a black screen.
Title: Re: unknown error
Post by: Arantor on May 27, 2019, 02:36:48 AM
That link is not meant to show anything, it does processing in the background for sending out emails. White screen is normal.

What makes you think there is an error here?

Title: Re: unknown error
Post by: horisize on May 27, 2019, 03:17:08 AM
Because they show up in my error log. I am curious to find out what creates the errors so i can fix it.

They keep coming.

Type of error: General
https://csscpsg.org/smf/index.php?scheduled=mailq;ts=1558940563   
Guest
Today at 07:02 am
Type of error: General
https://csscpsg.org/smf/index.php?scheduled=mailq;ts=1558940503   
Guest
Today at 07:02 am
Type of error: General
https://csscpsg.org/smf/index.php?scheduled=mailq;ts=1558940503   
Guest
Today at 07:01 am
Type of error: General
https://csscpsg.org/smf/index.php?scheduled=mailq;ts=1558940423   
Guest
Today at 07:01 am
Type of error: General
https://csscpsg.org/smf/index.php?scheduled=mailq;ts=1558940423   
Guest
Today at 07:01 am
Type of error: General
https://csscpsg.org/smf/index.php?scheduled=mailq;ts=1558940367   
Guest
Today at 07:00 am
Type of error: General
https://csscpsg.org/smf/index.php?scheduled=mailq;ts=1558940367   
Guest
Today at 07:00 am
Type of error: General
https://csscpsg.org/smf/index.php?scheduled=mailq;ts=1558940367   
Guest
Today at 07:00 am
Type of error: General
https://csscpsg.org/smf/index.php?scheduled=mailq;ts=1558940367   
Guest
Today at 07:00 am
Type of error: General
https://csscpsg.org/smf/index.php?scheduled=mailq;ts=1558940084   
Guest
Today at 06:59 am
Type of error: General
https://csscpsg.org/smf/index.php?scheduled=mailq;ts=1558940084   
Guest
Today at 06:59 am
Type of error: General
https://csscpsg.org/smf/index.php?scheduled=mailq;ts=1558940084
Title: Re: unknown error
Post by: Arantor on May 27, 2019, 04:11:30 AM
This is almost certainly a bug - RC2 isn't the final 2.1 release... but without an error message to indicate where the error occurred, you're looking at trying to guess, without help, where one line in about 40000 lines of code is causing *some* type of error.
Title: Re: unknown error
Post by: horisize on May 27, 2019, 04:18:56 AM
thank you for your help.

where do i find the latest release? Latest on the downloads page seem to be 2.1 RC2
Title: Re: unknown error
Post by: Arantor on May 27, 2019, 04:57:38 AM
That is the latest release - but it's not yet the *stable* release. RC means 'release candidate', which means it has some bugs in it, including some we already knew about.

Already there's been a ton of bugs fixed in the GitHub version, which will become RC3 soon.
Title: Re: unknown error
Post by: horisize on May 27, 2019, 06:56:28 AM
all the files were transferred from another server. should i reinstall it you think? Will it mess things up? database, paid subscriptions etc?
Title: Re: unknown error
Post by: Arantor on May 27, 2019, 07:17:56 AM
I don't think it'd make a lot of difference. The issues you have with paid subs look like a bug as well.
Title: Re: unknown error
Post by: SychO on May 27, 2019, 07:25:05 AM
I wonder what the backtrace says ? can you click on the icon next to "Type of error: General" and past the contents here (or an SS)
Title: Re: unknown error
Post by: horisize on May 27, 2019, 07:29:29 AM
 screenshot
Title: Re: unknown error
Post by: horisize on May 27, 2019, 07:34:21 AM
screenshots
Title: Re: unknown error
Post by: SychO on May 27, 2019, 08:00:07 AM
I'm guessing one of the log_error() functions of the server_parse() function is being triggered but the txt index is undefined at that point
Title: Re: unknown error
Post by: horisize on May 27, 2019, 08:29:24 AM
more
Title: Re: unknown error
Post by: shawnb61 on July 06, 2019, 11:55:43 PM
horisize -

Are you still having this issue?

I suspect a problem with your SMTP connection settings...   I would test under Admin | Maintenance | Mail | Send Test.   

I believe the SMTP issue caused multiple issues noted above:
- Activation emails couldn't get sent during registration (The "Couldn't get mail server response codes" error is pretty broad, and may simply mean it couldn't connect...)
- Subscription emails were also failing (the missing error messages above were due to mail queue not having messages loaded yet...)

I suspect fixing the SMTP credentials will fix the root cause. 

Yes, we need to improve the error logging here...

Shawn
Title: Re: unknown error
Post by: shawnb61 on October 07, 2019, 02:17:31 AM
Following up on this old note...

I was able to reproduce the mail errors above with an invalid SMTP config. 

The fact that the errors were not reported properly is a real SMF issue, though.  This was addressed with PR#5742.

The error reporting problem will be fixed in RC3.
Title: Re: unknown error
Post by: shawnb61 on February 13, 2020, 02:31:10 AM
The error reporting issues have been addressed, so we will close this out.

The fixes are available for download in the latest version over on GitHub.