Loading email library breaks site - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Loading email library breaks site (/showthread.php?tid=27388) |
Loading email library breaks site - El Forum - 02-09-2010 [eluser]NateL[/eluser] I don't know what's going on here but I've got a controller called "contact.php" and as soon as I put this line of code in, nothing after it works.. Code: $this->load->library('email'); I'm pretty sure errors are turned on, but all i'm getting is blank white. Any ideas? Loading email library breaks site - El Forum - 02-09-2010 [eluser]danmontgomery[/eluser] Check for php errors in apache error log Is there an extension of the email library in ./application/libraries? Loading email library breaks site - El Forum - 02-09-2010 [eluser]NateL[/eluser] wow i dunno what happened, but I opened /system/libraries/Email.php and it ends on line 1924 with this code: Code: function _set_error_message($msg, $val = '') That's definitely not right!! Anyway, I re-uploaded a fresh Email.php and now everything works as expected. Quote:Is there an extension of the email library in ./application/libraries?No, there were no extensions. Thanks for the reply tho |