How can I trap and clean this recurring error? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: How can I trap and clean this recurring error? (/showthread.php?tid=38698) |
How can I trap and clean this recurring error? - El Forum - 02-16-2011 [eluser]John_Betong[/eluser] CodeIgniter 2.0 I use the email class and repeatedly get this log-file-error which is preventing users from sending emails: Code: ERROR - 2011-02-14 22:41:47 --> How can I trap and clean this recurring error? - El Forum - 02-16-2011 [eluser]Jelmer[/eluser] You did notice it links to a specific PHP function that explains why this notice might be thrown? Did you check if that might be applicable? How can I trap and clean this recurring error? - El Forum - 02-16-2011 [eluser]John_Betong[/eluser] [quote author="Jelmer" date="1297891551"]You did notice it links to a specific PHP function that explains why this notice might be thrown? Did you check if that might be applicable?[/quote] Hi Jelmer, The error occurs spasmodically when somebody uses the email functions. I have added an error-logging post message to save the $str and will monitor any future occurrences. I did not notice that iconv(...) was a PHP function and thought it was a CI problem. I also had a quick look at the PHP documentation which was quite involved and will try again tomorrow, hopefully with a clear head and try to resolve the issue. Many thanks for clarifying the error. |