Try it FREE
Knowledge Base Frequently Asked Questions   Phone Phone: +1 (720) 336-8323 M-F 9am-5pm MST   Download Free
Free Trial
Knowledge Base
Knowledge Base » Errors and Troubleshooting » Use of undefined constant
Use of undefined constant

First, check to see if your PHP Live! version is v.  There was a known issue with that version regarding this type of error.  If your system is v., simply download the latest version and update your system.  Upgrading your system to the latest version will resolve the issue.  The latest version can be downloaded from the client area and from the free version page.


If your system is not v., it is most likely a custom language pack creation issue.  Follow the steps detailed below to correct the issue.


If you receive an error similar to "Use of undefined constant LANG_CHAT_.. - assumed 'LANG_CHAT_.." or "Update language pack", it is due to the custom language file that has been created and the latest build of PHP Live! is not able to retrieve the proper variables from the custom language file.


  1. Copy an existing language file from the phplive/lang_packs/ directory and rename the copied language file to a new name and proceed to edit the new file for your needs.
  2. Update your language settings at the Setup Admin > Departments to use the new language file you just created.
  3. Done!
Was this helpful?
could be more helpful? send comment
4 people found this helpful
back to top