1
ReySolar
News 1.3 bug?
  • 2005/5/4 0:21

  • ReySolar

  • Not too shy to talk

  • Posts: 181

  • Since: 2005/2/2 1


Hi agaiN!
I finally reuploaded the News module but it still shows this message in PHP Debug Mode. Any idea?

ReySolar

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: 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: 2 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 2 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: 11 in file modules/news/index.php line 237
Notice [PHP]: Undefined offset: 11 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: 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

2
hervet
Re: News 1.3 bug?
  • 2005/5/4 17:02

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hello,

There are nor errors but warnings. It is possible to see your website somewhere and to know how you have configured the module ?

Bye,
Hervé

3
ReySolar
Re: News 1.3 bug?
  • 2005/5/4 18:32

  • ReySolar

  • Not too shy to talk

  • Posts: 181

  • Since: 2005/2/2 1


Thanks!
The module's configuration is, basically, the default one with some little changes at date's format (d-m-y H:i), no display navigation box at the top of each news page, News Display Layout By Topic, 2 columns, 20 new articles to display in admin page, and Comment Rules: All comments need to be approved by administrator. Is it?

ReySolar

4
ReySolar
Re: News 1.3 bug?
  • 2005/5/4 23:11

  • ReySolar

  • Not too shy to talk

  • Posts: 181

  • Since: 2005/2/2 1


Please, anybody knows?
Thanks in advance

ReySolar

5
hervet
Re: News 1.3 bug?
  • 2005/5/11 18:49

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Hello,

Yesterday I have corrected many bugs and warnings, a new version will be soon available.

Bye,
Hervé

6
ReySolar
Re: News 1.3 bug?
  • 2005/5/13 12:15

  • ReySolar

  • Not too shy to talk

  • Posts: 181

  • Since: 2005/2/2 1


OK thanks Hervé!!!

ReySolar

Login

Who's Online

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


Members: 0


Guests: 85


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