[wp-hackers] Plugin activation fatal error

Seamus Leahy leahy at au.org
Tue Jan 15 14:08:40 GMT 2008


It would be nice. Even if there was a flag at the top of the plugin file to
display debug information when installing a plugin.

Seamus.

On 1/15/08 6:40 AM, "Viper007Bond" <viper at viper007bond.com> wrote:

> Yeah, it should indeed force errors to display.
> 
> error_reporting( E_ALL ^ E_NOTICE );
> 
> include( 'plugin_file.php' );
> 
> On 1/15/08, DD32 <wordpress at dd32.id.au> wrote:
>> 
>> Isnt this what the Error scrape functionality introduced in 2.2(2.3?) was
>> for? To display any fatal errors while activating on the plugins page?
>> Of course, If the server has error's turned off, Then it's not going to
>> show much.
>> 
>> (Maybe WP should enable error printing while activating if its disabled)
>> 
>> On Tue, 15 Jan 2008 07:27:27 +1100, Dan Coulter <dan at dancoulter.com>
>> wrote:
>> 
>>> Is there an easy way to find out what fatal error a plugin gives on
>>> activation?  It's only happening on someone else's server that I don't
>> have
>>> access to.  All they see is the "fatal error" message on the plugins
>>> management page.
>>> 
>> 
>> 
>> 
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> 
> 
> 



More information about the wp-hackers mailing list