Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2006

    Unanswered: PHP Runs with Following Error


    Can anybody help how to solve the Error Message when i run the php file

    I am getting Error Message: [Use of undefined constant loc]

    any solutions appreciated

    ware regards

  2. #2
    Join Date
    Feb 2004
    You likely want to change your error reporting directive in the PHP.ini file. If you have only E_ALL then you will get notices in addition to Errors. Notices produce non critical errors for vriables not being set.

    The default to show Errors and not (~) Notices is..

    error_reporting = E_ALL & ~E_NOTICE

    This can be set in the PHP.ini The error setting can also be set within the script to override the ini setting.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts