Warning: Cannot send session cache limiter - headers already sent (output started at ..\conf.inc.php:25) in ..\standard.tpl on line 2
my code works fine, even with that warning. how can i hide it?
ili
Don't tell anyone I told you this, cuz I'd lose my PHP license, but to hide it, use
error_reporting(0)
at the top of your page
You can set the errors that you want displayed by editing your php.ini file. Look for this section -
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Error handling and logging ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Originally posted by crowezr You can set the errors that you want displayed by editing your php.ini file. Look for this section - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Error handling and logging ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Ay...but that makes it a global change
or, or, or you can put the @ symbol before the command generating the warning.
and maybe post the code, looks like your error is going to hamper your script anyway...session_start() in the wrong place?