[Resolved]Warning Message When Enabling Tag |
This topic is about [Resolved]Warning Message When Enabling Tag, the author, Bondian, wrote about: Hi, Folks. I would like to say thank you very much for an awesome mod. You've provided the IP.B community one hell of a service. But I have a problem that's probably self inflicted. When I ... To read more just scroll down
![]() ![]() |
[Resolved]Warning Message When Enabling Tag |
Apr 7 2008, 11:01 PM
Post
#1
|
|
|
Newbie ![]() Group: +Pre-release Team Posts: 4 Joined: 7-April 08 Member No.: 219 |
Hi, Folks.
I would like to say thank you very much for an awesome mod. You've provided the IP.B community one hell of a service. But I have a problem that's probably self inflicted. When I enable 'Tag', i get the following errors at the top of the page. CODE Warning: ksort() expects parameter 1 to be array, null given in /home/film/public_html/modules/mod_minerva.php on line 431 Warning: array_values() [[url="http://filmtelevisionradio.com/function.array-values"]function.array-values[/url]]: The argument should be an array in /home/film/public_html/modules/mod_minerva.php on line 437 Warning: Wrong parameter count for max() in /home/film/public_html/modules/mod_minerva.php on line 437 Warning: array_values() [[url="http://filmtelevisionradio.com/function.array-values"]function.array-values[/url]]: The argument should be an array in /home/film/public_html/modules/mod_minerva.php on line 438 Warning: Wrong parameter count for min() in /home/film/public_html/modules/mod_minerva.php on line 438 Warning: Invalid argument supplied for foreach() in /home/film/public_html/modules/mod_minerva.php on line 450 Warning: Invalid argument supplied for foreach() in /home/film/public_html/cache/skin_cache/cacheid_4/skin_mseo.php on line 174 Okay. Maybe being an old bastard, I have screwed up an edit somewhere. Could some kind person please tell me where I've gone wrong. Thank you. Cheers, Ian |
|
|
|
Apr 7 2008, 11:13 PM
Post
#2
|
|
|
Member ![]() ![]() Group: Contributors Posts: 27 Joined: 15-October 07 From: Redhill UK Member No.: 75 |
That's a known issue which I think will be fixed in 0.3.0
For a fix do the following. Find in modules/mod_minerva.php CODE while ($row = $this->ipsclass->DB->fetch_row()) { $tags[$row['tag']] = $row['qq']; // $this->html .= $row['tag'] .'['.$row['qq'].']<br>'; } $this->printTagCloud($tags); replace with: CODE if($this->ipsclass->DB->get_num_rows())
{ while ($row = $this->ipsclass->DB->fetch_row()) { $tags[$row['tag']] = $row['qq']; } $this->printTagCloud($tags); } else { $this->html = '<div align="center" style="margin:30px;font-size:3em">Sorry no Tags found, please add some</div>'; } |
|
|
|
Apr 8 2008, 01:55 AM
Post
#3
|
|
|
Newbie ![]() Group: +Pre-release Team Posts: 4 Joined: 7-April 08 Member No.: 219 |
Thank you, my friend. That did the trick.
Much appreciated. Cheers, Ian |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Sitemap | SEO by MinervaSEO © Icelabz.net | Time is now: 2nd December 2008 - 02:08 PM |