| 
 Posted by Rik on 02/06/07 18:33 
Carl Pearson <jman_spam_trap_.org@gmail.com> wrote: 
 
> Gunnar G wrote: 
>> Hi. 
>> How do you get error messages if you have only ftp put/get (no shell   
>> access) 
>> and display error is turned off? 
>> Is there any clever way of getting them? 
>> 
> 
> Uhm, try turning it on? 
> 
> 	error_reporting(LEVEL); 
 
Let's not forget display_errors is off.... 
 
ini_set('display_errors',true); 
 
Or alternatively, log to a file: 
 
ini_set('log_errors',true); 
ini_set('error_log','/path/to/my/error/file'); 
--  
Rik Wasmus
 
[Back to original message] 
 |