[eluser]zilverdistel[/eluser]
[quote author="Seppo" date="1205355709"]You can place an @ before print_r to avoid those errors (I think it's only on php 5) and it should be working...[/quote]
excellent, this works in my browser, but now when i tried to write this to my log files, I still get the errors (only in the logs, not in the browser).
I changed
to
Code:
return print_r(... , true)
in the debug() function and used
Code:
log_message('debug',$this->modelname->debug());
.