[BlueOnyx:02921] Re: No PHP errors

Jason Humphrey jasonh at bws4ict.co.uk
Fri Nov 20 02:53:58 -05 2009


I have just managed to fix it but I am not sure how!

I will have to retrace my steps and will post findings later.

Thanks
Jason

> -----Original Message-----
> From: blueonyx-bounces at blueonyx.it [mailto:blueonyx-
> bounces at blueonyx.it] On Behalf Of Jason Humphrey
> Sent: 20 November 2009 07:49
> To: BlueOnyx General Mailing List
> Subject: [BlueOnyx:02920] Re: No PHP errors
>
> > Check the include file for the site and see if there is anything that
> > will
> > override  the error directive  there.
> > e.g.
> > /etc/httpd/conf/vhosts/sitexx.include
> >
> > Check for a .htaccess on the site in the site's web or root
> > directories, to
> > see if there is anything that will override the error directive
> there.
> >
> > And add this to the beginning of your php file
> > error_reporting(E_ALL ^ E_USER_WARNING ^ E_NOTICE);
> >
> > Something like
> >
> > <?php
> > error_reporting(E_ALL ^ E_USER_WARNING ^ E_NOTICE);
> > echo "This is fine.";
> >
> > echo "I should create an error;
> > ?>
> >
> >
> > ----
> > Ken Marcus
> > Ecommerce Web Hosting by
> > Precision Web Hosting, Inc.
> > http://www.precisionweb.net
> >
>
> Hi Ken,
>
> There is no .htaccess file in the directory and nothing in the
> sitex.include file.
>
> I have tried modifying the test.php file but it still produces a blank
> page. If I comment out the line with the deliberate error the page
> generated shows "This is fine" but with the line uncommented I get
> nothing.
>
> Has anybody ever got php errors to work on BlueOnyx? I have several
> servers here and can't get a php error to show on any site on any of
> them.
>
> Jason
>
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at blueonyx.it
> http://www.blueonyx.it/mailman/listinfo/blueonyx
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.





More information about the Blueonyx mailing list