PHP Notice: Use of undefined constant (solved)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

just had these weird log messages for a while and finally found out why.

Apache log showed:
PHP Notice:  Use of undefined constant Mail - assumed 'Mail'
for these two files:
multilogin/functions.php(481)
vlogin/functions.php(811)

We used org_title and settingsWithEmbeddedPHP in vlogin/data/config.php, but no PHP-escaping of the first. (copy-paste-mistake)

Instead of 
  'org_title' => 'Mail',
escape with
  'org_title' => '"Mail"',

or just remove 'org_title' from 'settingsWithEmbeddedPHP' array.

Cheers,
John

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux