CodeIgniter Forums
error sending email - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: error sending email (/showthread.php?tid=80860)



error sending email - wllfl - 12-26-2021

I'm getting an error when sending an email, the message even arrives at the recipient, but after executing the "send()" function I get error 500.

The message points to "Premature end of script headers: index.php"

Analyzing apache logs, I found these messages:
Code:
[Sun Dec 26 08:48:01 2021] [error] [client 189.28.147.28] /usr/bin/php80-cgi: symbol lookup error: /usr/lib64/php80/modules/intl.so: undefined symbol: u_sprintf_50
[Sun Dec 26 08:48:01 2021] [error] [client 189.28.147.28] Premature end of script headers: index.php
[Sun Dec 26 08:49:07 2021] [error] [client 189.28.147.28] /usr/bin/php80-cgi: symbol lookup error: /usr/lib64/php80/modules/intl.so: undefined symbol: u_sprintf_50
[Sun Dec 26 08:49:07 2021] [error] [client 189.28.147.28] Premature end of script headers: index.php
[Sun Dec 26 08:51:29 2021] [error] [client 189.28.147.28] /usr/bin/php80-cgi: symbol lookup error: /usr/lib64/php80/modules/intl.so: undefined symbol: u_sprintf_50
[Sun Dec 26 08:51:29 2021] [error] [client 189.28.147.28] Premature end of script headers: index.php


PHP: 8.0
CodeIgniter: 4.1.5
Server: Apache


RE: error sending email - felippela - 02-10-2022

We,ve update the php version to 7.3 to workarround this issue =/


RE: error sending email - carlosvalente - 10-25-2022

I'm getting this error and I don't know how to get around it. This does not happen locally, only in production on the Internet

[Tue Oct 25 08:19:41 2022] [error] /usr/bin/php80-cgi: symbol lookup error: /usr/lib64/php80/modules/intl.so: undefined symbol: u_sprintf_50
[Tue Oct 25 08:19:41 2022] [error] Premature end of script headers: index.php