1
ReySolar
Is there a bug in Newbb 2.0 and Xoopspartners modules?
  • 2005/4/29 18:09

  • ReySolar

  • Not too shy to talk

  • Posts: 181

  • Since: 2005/2/2 1


Hi!
I have this report from PHP Debug mode. I suppose there is a bug in newbb 2.0 and xoopspartners modules. Anyone knows how to fix it?
Thanks

ReySolar


Notice [PHP]: Undefined offset: 0 in file modules/newbb/class/forum.php line 403
Warning [PHP]: array_keys(): The first argument should be an array in file modules/newbb/blocks/newbb_block.php line 76
Warning [PHP]: implode(): Bad arguments. in file modules/newbb/blocks/newbb_block.php line 79
Notice [PHP]: Undefined offset: 0 in file modules/newbb/class/forum.php line 403
Warning [PHP]: array_keys(): The first argument should be an array in file modules/newbb/blocks/newbb_block.php line 76
Warning [PHP]: implode(): Bad arguments. in file modules/newbb/blocks/newbb_block.php line 79
Notice [PHP]: Undefined offset: 0 in file modules/newbb/class/forum.php line 403
Warning [PHP]: array_keys(): The first argument should be an array in file modules/newbb/blocks/newbb_block.php line 76
Warning [PHP]: implode(): Bad arguments. in file modules/newbb/blocks/newbb_block.php line 79
Notice [PHP]: Constant ðÊ Pƒ( already defined in file modules/xoopspartners/language/english/blocks.php line 35

2
ReySolar
Re: Is there a bug in Newbb 2.0 and Xoopspartners modules?
  • 2005/5/1 16:11

  • ReySolar

  • Not too shy to talk

  • Posts: 181

  • Since: 2005/2/2 1


Anybody knows?

Thanks!

ReySolar

3
Mithrandir
Re: Is there a bug in Newbb 2.0 and Xoopspartners modules?

newbb warnings and notices are probably just because there are no categories/forums/posts and thus an empty variable is processed where the code expects a filled one. Very (too?) common, but if it is working as it should, you should not worry.

The partners thing could come from a corrupted file. Try reuploading that file.

4
ReySolar
Re: Is there a bug in Newbb 2.0 and Xoopspartners modules?
  • 2005/5/1 21:17

  • ReySolar

  • Not too shy to talk

  • Posts: 181

  • Since: 2005/2/2 1


Thanks a lot Mithrandir! I'll try that.
And what do you think of this other error's message in PHP Debug Mode from News 1.3?:

Warning [PHP]: array_rand(): Second argument has to be between 1 and the number of elements in the array in file modules/news/class/class.newsstory.php line 857
Notice [PHP]: Undefined index: in file modules/news/class/class.newsstory.php line 859
Notice [PHP]: Undefined index: in file modules/news/class/class.newsstory.php line 859
Notice [PHP]: Undefined index: in file modules/news/class/class.newsstory.php line 859
Notice [PHP]: Undefined index: in file modules/news/class/class.newsstory.php line 859
Notice [PHP]: Undefined index: in file modules/news/class/class.newsstory.php line 859
Notice [PHP]: Undefined index: in file modules/news/class/class.newsstory.php line 859
Notice [PHP]: Undefined index: in file modules/news/class/class.newsstory.php line 859
Notice [PHP]: Undefined index: in file modules/news/class/class.newsstory.php line 859
Notice [PHP]: Undefined index: in file modules/news/class/class.newsstory.php line 859
Notice [PHP]: Undefined index: in file modules/news/class/class.newsstory.php line 859
Warning [PHP]: Invalid argument supplied for foreach() in file class/xoopsstory.php line 222
Warning [PHP]: Invalid argument supplied for foreach() in file class/xoopsstory.php line 222
Warning [PHP]: Invalid argument supplied for foreach() in file class/xoopsstory.php line 222
Warning [PHP]: Invalid argument supplied for foreach() in file class/xoopsstory.php line 222
Warning [PHP]: Invalid argument supplied for foreach() in file class/xoopsstory.php line 222
Warning [PHP]: Invalid argument supplied for foreach() in file class/xoopsstory.php line 222
Warning [PHP]: Invalid argument supplied for foreach() in file class/xoopsstory.php line 222
Warning [PHP]: Invalid argument supplied for foreach() in file class/xoopsstory.php line 222
Warning [PHP]: Invalid argument supplied for foreach() in file class/xoopsstory.php line 222
Warning [PHP]: Invalid argument supplied for foreach() in file class/xoopsstory.php line 222
Notice [PHP]: Undefined offset: 14 in file modules/news/blocks/news_top.php line 344
Notice [PHP]: Undefined offset: 14 in file modules/news/blocks/news_top.php line 344
Notice [PHP]: Undefined offset: 1 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 1 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 3 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 3 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 5 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 5 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 7 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 7 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 8 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 8 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 9 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 9 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 10 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 10 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 12 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 12 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 13 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 13 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 14 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 14 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 15 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 15 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 16 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 16 in file modules/news/index.php line 237

5
Mithrandir
Re: Is there a bug in Newbb 2.0 and Xoopspartners modules?

better ask Hervé that. I have no touch with the News code.

6
ReySolar
Re: Is there a bug in Newbb 2.0 and Xoopspartners modules?
  • 2005/5/1 21:43

  • ReySolar

  • Not too shy to talk

  • Posts: 181

  • Since: 2005/2/2 1


Thanks!
I asked that to Hervé too, and now I'm waiting for an answer...


ReySolar

Login

Who's Online

128 user(s) are online (105 user(s) are browsing Support Forums)


Members: 1


Guests: 127


heyula,

more...

Donat-O-Meter

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

Latest GitHub Commits