Loading email library breaks site

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..


I'm pretty sure errors are turned on, but all i'm getting is blank white. Any ideas? Sad

Check for php errors in apache error log

Is there an extension of the email library in ./application/libraries?

wow i dunno what happened, but I opened /system/libraries/Email.php and it ends on line 1924 with this code:

function _set_error_message($msg, $val = '')
        $CI =& get_instance();

        if (FALSE === ($line =

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 Smile

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.