Leon,

  After just sending my last email to the list, I've realized I haven't gotten enough 
sleep :)  I'll try to watch that before I post in the future.

  A might have spread confusion with defining constants, and using them.  Before it 
gets too far, and to help Shawn also:

define('CONSTANT', 1.5);
echo CONSTANT;

  Yes, the default in php.ini is warnings enabled.  But many hosting companies do NOT 
install php.ini.  I've used quite a few that don't show warnings unless you set 
error_reporting yourself (which is never a bad idea).

  Looking back, I'm also wondering about the double slashes in his path names.

Again, sorry about the temporary insanity,
  John

At 11/5/2000 05:50 PM, you wrote:
>>   I'm talking about the warnings, such as
>>
>> > Warning: Use of undefined constant GENERATE_BROWSER_CONSTANTS - assumed
>> > 'GENERATE_BROWSER_CONSTANTS' in
>>
>>   Myself, I like to develop with all errors and warnings enabled.  IMHO,
>this isn't a 'bug', but should still be 'corrected' :)
>
>In fact, warnings should probably always be on, as is the default in
>php.ini. If the system is complaining about constants that are missing, it
>seems likely that they were deleted somewhere (in this case, in
>global_settings).  Another error Shawn reports is about duplicate
>definitions of constants.  That's even worse because it probably means the
>language file is getting included twice.  I'm sure these bugs aren't in the
>distribution.
>
>What's confusing, Shawn, is that you suggest that your code isn't producing
>these errors on another server.  Does THAT server have warnings turned off
>too?  Just to be clear, turning off the warning messages isn't really
>solving your problems, it's just hiding them from you.
>
>Leon

--
/* SteeleSoft Consulting  John Steele - Systems Analyst/Programmer
 *  We also walk dogs...  [EMAIL PROTECTED] - PHP/MySQL/Linux/Hosting
 *                        http://www.gamecomputer.com/ssc/
 */


------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to