1
trunet
Many BUGS found in the Xoops 2.0.5
  • 2003/11/21 13:58

  • trunet

  • Just popping in

  • Posts: 5

  • Since: 2002/1/2 1


I am brazilian, so, sorry for my English :)

If you turn the DEBUG in PHP Debug ON, 3 errors happend in the homepage:
1) Notice [PHP]: Undefined index: modules in file templates_c/db%3Asystem_block_mainmenu.html line 10
If you go to the source of templates_c/db%3Asystem_block_mainmenu.html you find a count((array)$this->_tpl_vars['block']['modules']), and when you enable a module, this error disappear.

2) Notice [PHP]: Undefined index: xoops_lblocks in file class/smarty/Smarty.class.php line 626
I don't know, but I found a @is_array there

3) Notice [PHP]: Undefined index: xoops_module_header in file templates_c/default^theme.html line 35
I don't know this too.

I think that it is a good thing to do to correct this "minor" bugs.

tks...

2
Draven
Re: Many BUGS found in the Xoops 2.0.5
  • 2003/11/21 14:52

  • Draven

  • Module Developer

  • Posts: 337

  • Since: 2003/5/28


Those aren't bugs, they're just PHP notices. Turning on debugging shows ALL errors/warnings/notices. A bug would be something returning a Fatal Error, not a warning or notice.

A simple, if($this == $that), and if $that = "" will return a notice of an undefined variable, this happens all the time. This is not a bug.

Please try a search, this topic of notices and warnings has been beaten to death in these forums.

Login

Who's Online

234 user(s) are online (161 user(s) are browsing Support Forums)


Members: 0


Guests: 234


more...

Donat-O-Meter

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

Latest GitHub Commits