[wp-hackers] Plugin activation fatal error

Viper007Bond viper at viper007bond.com
Tue Jan 15 11:40:37 GMT 2008


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
>



-- 
Viper007Bond | http://www.viper007bond.com/


More information about the wp-hackers mailing list