1
jfmoore
PHP Debug Message?
  • 2005/2/24 5:44

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


I uploaded the News 1.1 clone News2 to the XOOPS module directory. Then I went to admin/modules and paged down to the news2 install icon. The following PHP Debug messages were displayed at the bottom of the page even before the module was installed. What do they mean?

Notice [PHP]: Constant _MI2_STORYHOME already defined in file modules/news2/language/english/modinfo.php line 26
Notice [PHP]: Constant _MI2_NOTIFYSUBMIT already defined in file modules/news2/language/english/modinfo.php line 27
Notice [PHP]: Constant _MI2_DISPLAYNAV already defined in file modules/news2/language/english/modinfo.php line 28
Notice [PHP]: Constant _MI2_ANONPOST already defined in file modules/news2/language/english/modinfo.php line 29
Notice [PHP]: Constant _MI2_AUTOAPPROVE already defined in file modules/news2/language/english/modinfo.php line 30
Notice [PHP]: Constant _MI2_STORYHOMEDSC already defined in file modules/news2/language/english/modinfo.php line 33
Notice [PHP]: Constant _MI2_NOTIFYSUBMITDSC already defined in file modules/news2/language/english/modinfo.php line 34
Notice [PHP]: Constant _MI2_DISPLAYNAVDSC already defined in file modules/news2/language/english/modinfo.php line 35
Notice [PHP]: Constant _MI2_AUTOAPPROVEDSC already defined in file modules/news2/language/english/modinfo.php line 36

Thanks.
JFM

2
jdseymour
Re: PHP Debug Message?

It just means that PHP debug is enabled. Go into Preferences General Settings and turn it off. Notices like this are pretty much normal. Errors and some warnings are what cause trouble.

Woops, I still don't see why the notices would be there before install though. It even says news 2.

3
Catzwolf
Re: PHP Debug Message?
  • 2005/2/24 7:45

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


There must be another module that using these defines before the news2 module (News1?). As they are notices, they are harmless and should not affect the workablity of XOOPS or the modules in question.

Scott

4
jfmoore
Re: PHP Debug Message?
  • 2005/2/24 17:53

  • jfmoore

  • Quite a regular

  • Posts: 360

  • Since: 2004/6/6 5


Quote:

wfsection wrote:
There must be another module that using these defines before the news2 module (News1?). As they are notices, they are harmless and should not affect the workablity of XOOPS or the modules in question.


Thanks. Just to be sure, though: It's OK for 2 or more modules to define the same constants, and I can just ignore this?

JFM

Login

Who's Online

147 user(s) are online (85 user(s) are browsing Support Forums)


Members: 0


Guests: 147


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jan 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits