Skip to Content Skip to Menu

Use of undefined constant _MOS_ALLOWHTML

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
15 years 11 months ago #77508 by slabbi
When you get following error message

[code:1]Notice: Use of undefined constant _MOS_ALLOWHTML - assumed '_MOS_ALLOWHTML' in /home/.../public_html/components/com_uddeim/uddeim.php on line 85[/code:1]

please add following lines to uddeimlib15.php (between the first if-clause and the first function).

[code:1]if (!defined('_MOS_NOTRIM'))
define( "_MOS_NOTRIM", 0x0001 );
if (!defined('_MOS_ALLOWHTML'))
define( "_MOS_ALLOWHTML", 0x0002 );
if (!defined('_MOS_ALLOWRAW'))
define( "_MOS_ALLOWRAW", 0x0004 );
[/code:1]
It's not really a problem but it fixes the notice.

Post edited by: slabbi, at: 2008/10/16 17:18

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum