News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

What does this error mean?

Started by Puc conDoin, January 07, 2005, 09:21:07 AM

Previous topic - Next topic

Puc conDoin

In the top of the mambo screen I get an error like this:

Notice: Constant already defined in C:\Inetpub\wwwroot\mambo\components\com_smf\smf.php on line 15

What does this mean?

Orstio

That's a new one.

What is on line 15 of your smf.php?

Puc conDoin

Line 15 of SMF.php in the com_smf component:

define( "_MOS_ALLOWHTML", 0x0002 );

Orstio

Hmmm... that's there so that Mambo doesn't delete HTML out of posts in SMF (very annoying).

Can you change that?


if (!defined("_MOS_ALLOWHTML")){define( "_MOS_ALLOWHTML", 0x0002 );}

Puc conDoin

I changed the line. The error message is now gone.

Advertisement: