News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

The mail man is on strike

Started by Zirkon, June 07, 2016, 03:37:28 PM

Previous topic - Next topic

Sir Osis of Liver

Actually, I kind of understand that.  Someone who is experiencing the problem will have to try your fix.  Zirkon?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Zirkon

I'm lost now. Not sure if I was supposed to do the edit or not. It was done when nend posted the code.

I watched the queue for a while. It was sending. Closed the browser. 40 minutes later (now) I opened it and it was sending the emails while the browser was closed.

Waiting for it to get to my test account which is further down the list to see what it produces.

Zirkon

I do not have UTF-8 setup on the forum and sending with SMTP.

Sir Osis of Liver

The problem is not the queue, all emails are being sent, but some are arriving empty.  If nend is correct, first batch is ok, but later in the process they become blank.  That's consistent with what you and other posters have reported.  Converting database to utf-8 may fix the problem, but it's not utf-8 by default.  If the $smcFunc corrects the problem, that's a better solution.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Zirkon

Thanks for clarifying. I understand now.


Zirkon

I'm getting reports from both new and long time members that the newsletter was received in full. Newsletter was received fine on my test account too.

I thank you very much for this fix Nend  8)

Still trying to wrap my head around this "$smcFunc" part. I understand it is a database trigger of sorts. Is this something I should be concerned about with my database file or is this a UTF-8 issue? I'm still left to try and figure out why this all of a sudden was a problem when nothing was done to the forum files for a good long time. Host upgrades/patches of the server files? Many of my files were 4 years old or older, file rot possibly?

This is one issue I would not have been able to fix on my own, so thank you again for your support.

nend

Quote from: Zirkon on June 12, 2016, 10:13:46 AM
I'm getting reports from both new and long time members that the newsletter was received in full. Newsletter was received fine on my test account too.

I thank you very much for this fix Nend  8)

Still trying to wrap my head around this "$smcFunc" part. I understand it is a database trigger of sorts. Is this something I should be concerned about with my database file or is this a UTF-8 issue? I'm still left to try and figure out why this all of a sudden was a problem when nothing was done to the forum files for a good long time. Host upgrades/patches of the server files? Many of my files were 4 years old or older, file rot possibly?

This is one issue I would not have been able to fix on my own, so thank you again for your support.

More than likely your host updated PHP and this caused the issue. PHP changed the default output for htmlspecialchars in PHP 5.4 to UTF-8. Since your forum doesn't use UTF-8 and tells the browser it uses ISO, they can't understand each other when talking. Even though the browser knows UTF-8, the document tells the browser it is a different language so the browser treats UTF-8 as ISO.

It is just the same thing as trying to convert Chinese to English when your told the source is Japanese if that makes any sense.

Fire & Safetyfora

What is the link to your forum?

Zirkon

Okay that explains it Nend.  I will inform my host in case the issue pops up again with any of there customers using SMF.

Thank you for the explanation.  ;) I feel better knowing I was somewhat going in the right direction with this bug. Still never would have figured it out on my own.

My other forum doesn't have this problem but is much smaller in size. Only 260 members or so. Do you think I should apply this patch to that site too? Seems like I should as that one depends heavily on the newsletter function every month for meeting locations. Think I might be getting close to where this problem starts if we pick up more members there.


Zirkon

Quote from: Fire & Safetyfora on June 12, 2016, 11:06:18 AM
What is the link to your forum?

I thought this was an out of the blue question until I looked back into your posts. Looks like you have had similar issues. I did read your thread and the others when trying to research this problem. I won't post my site link here but can send it to you in a PM if you wish. Sort of feel vulnerable doing that here.

It makes me wonder how many forums have this issue and just don't know about it as they may not send newsletters or just gave up on a fix when threads here about the issue have not been resolved.

Do you think maybe SMF needs a new update to 2.0.12, to get it current to standards?

Not trying to cause any problems here. I just know that this has been a massive headache and burden in my life these past weeks that has haunted me to no end until today. The hosts are doing there part by putting these updates to the servers in effect as they should be doing.

With all of the blank sends I have lost a chunk of members on my forum with account deletion requests with every failed attempt. That part stings a bit as their was no other way to troubleshoot this. I have been getting regular beatings from my counterpart on this with every request.

I ask that the SMF staff please look into this matter.

Thank you for your support.

margarett

It is being looked at. Can't promise it will be fixed in 2.0.12 but it will be fixed ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Zirkon


Fire & Safetyfora

Quote from: Zirkon on June 12, 2016, 11:53:23 AM
Quote from: Fire & Safetyfora on June 12, 2016, 11:06:18 AM
What is the link to your forum?

I thought this was an out of the blue question until I looked back into your posts. Looks like you have had similar issues. I did read your thread and the others when trying to research this problem. I won't post my site link here but can send it to you in a PM if you wish. Sort of feel vulnerable doing that here.

It makes me wonder how many forums have this issue and just don't know about it as they may not send newsletters or just gave up on a fix when threads here about the issue have not been resolved.

Do you think maybe SMF needs a new update to 2.0.12, to get it current to standards?

Not trying to cause any problems here. I just know that this has been a massive headache and burden in my life these past weeks that has haunted me to no end until today. The hosts are doing there part by putting these updates to the servers in effect as they should be doing.

With all of the blank sends I have lost a chunk of members on my forum with account deletion requests with every failed attempt. That part stings a bit as their was no other way to troubleshoot this. I have been getting regular beatings from my counterpart on this with every request.

I ask that the SMF staff please look into this matter.

Thank you for your support.

No, not a out of the blue question. Send your website in a PM to me, i think i can help you. ;)

Kindred

He has already resolved the issue...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Zirkon

Kindred pretty much answered the question.

No point to it as my site is running very smooth now. Nothing to fix.
Thanks again for the help.

Advertisement: