PHP Live! Help Desk
Search:
» Help Desk Home » Errors and Troubleshooting » Undefined variable: VALS
Undefined variable: VALS

To correct this error, here is what you will want to do:

 

* assuming that your PHP Live! system was installed at the directory phplive/

 

  1. Open the file phplive/web/vals.php for edit (if the file does not exist, create the file).
  2. Place the following line of code in the vals.php file:

    <?php $VALS = Array() ; $VALS['CHAT_SPAM_IPS'] = '' ; $VALS['TRAFFIC_EXCLUDE_IPS'] = '' ; $VALS['EXCLUDE'] = '' ; $VALS['OFFLINE'] = '' ; ?>

  3. Save the file.
  4. Access your PHP Live! system to see if the error has been corrected.

 

NOTE: If the vals.php file did not exist and you had to create it, be sure to set the file permissions.

Was this documentation helpful to you?
Home  |  Privacy  |  License Agreement  |  Chat Icons  |  Profile Icons  |  Help Desk  |  Forums  |  Contact Us  |  Live Chat
© OSI Codes Inc. All Rights Reserved - PHP Live! is a product by by OSI Codes Inc.   PHP Live! on Google Plus Google Plus
54.146.139.201