Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 05-15-2006, 05:13 AM
daemonreaver
Fire Beetle
 
Join Date: Apr 2006
Posts: 21
Default

To ignore undefined variable warnings, use

Code:
<?php
//Insert the un-remarked line into the very top of your index.php *OR* the confic.ing.php file that is included in all other PHP files of the site you wish to eliminated junk error reports.

error_reporting(E_PARSE); //Best for a running site. Still shows critical PHP parsing errors.
//error_reporting(E_WARNING & E_PARSE); //Ignores garbage errors.
//error_reporting(E_ALL); //The PHP Default.
Just add it at the top just after the <?php starter. You can edit the PHP.ini or PHP.conf, however, this is preferred as it only afects the page (or set of pages) the command is insterted into. Some PHP scripts require the other errors to operate properly.

Hope that helps
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:49 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3