IPB

Welcome Guest ( Log In | Register )

[Resolved]Spiderlog And Func_topic_linear

This topic is about [Resolved]Spiderlog And Func_topic_linear, the author, BoB, wrote about: I get this error on the top of the board index : CODEIPB WARNING [2] Invalid argument supplied for foreach() (Line: 252 of /sources/lib/func_boardstats.php) When viewing ... To read more just scroll down

 
Reply to this topicStart new topic
[Resolved]Spiderlog And Func_topic_linear
BoB
post Apr 18 2008, 02:17 AM
Post #1


Newbie
*

Group: Members
Posts: 5
Joined: 4-September 07
Member No.: 50



I get this error on the top of the board index :
CODE
IPB WARNING [2] Invalid argument supplied for foreach() (Line: 252 of /sources/lib/func_boardstats.php)



When viewing bot logs in acp I get this :
CODE
[b]Parse error[/b]:  syntax error, unexpected '(', expecting '}' in [b]/home/supersyn/domains/#$#$#$.net/public_html/forums/sources/action_admin/spiderlogs.php[/b] on line [b]180[/b]








Thanks,
Bob
Go to the top of the page
 
+Quote Post
bramburn
post Apr 18 2008, 04:54 AM
Post #2


Administrator
***

Group: Root Admin
Posts: 905
Joined: 25-June 07
From: London
Member No.: 1



which version of ipb are you using?


--------------------
Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english
If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time.
DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums!
Go to the top of the page
 
+Quote Post
bramburn
post Apr 18 2008, 10:18 AM
Post #3


Administrator
***

Group: Root Admin
Posts: 905
Joined: 25-June 07
From: London
Member No.: 1



confirmed bug


--------------------
Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english
If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time.
DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums!
Go to the top of the page
 
+Quote Post
BoB
post Apr 18 2008, 09:25 PM
Post #4


Newbie
*

Group: Members
Posts: 5
Joined: 4-September 07
Member No.: 50



Im using IPB 2.3.1


Any chance there will be a quick patch for this?


Regards,
Bob
Go to the top of the page
 
+Quote Post
bramburn
post Apr 18 2008, 09:38 PM
Post #5


Administrator
***

Group: Root Admin
Posts: 905
Joined: 25-June 07
From: London
Member No.: 1



its still in the works


--------------------
Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english
If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time.
DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums!
Go to the top of the page
 
+Quote Post
bramburn
post Apr 18 2008, 10:26 PM
Post #6


Administrator
***

Group: Root Admin
Posts: 905
Joined: 25-June 07
From: London
Member No.: 1



fix:
find in sources/action_admin/spiderlogs.php
CODE
$query_string_html = "<a href='{$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}?{$row['query_string']}' target='_blank'>{$row['query_string']}</a>";


replace with
CODE
    $qs=$this->ipsclass->txt_truncate($row['query_string']);
                    $query_string_html = "<a href='{$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}?{$row['query_string']}' target='_blank'>{$qs}</a>";


--------------------
Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english
If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time.
DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums!
Go to the top of the page
 
+Quote Post
BoB
post Apr 18 2008, 11:07 PM
Post #7


Newbie
*

Group: Members
Posts: 5
Joined: 4-September 07
Member No.: 50



The spiderlogs problem is now fixed but unfortanetly I still get the following error on top of the board index :

CODE
IPB WARNING [2] Invalid argument supplied for foreach() (Line: 252 of /sources/lib/func_boardstats.php)




Regards,
Bob
Go to the top of the page
 
+Quote Post
bramburn
post Apr 18 2008, 11:12 PM
Post #8


Administrator
***

Group: Root Admin
Posts: 905
Joined: 25-June 07
From: London
Member No.: 1



can u pm me your full files on func_boardstats.php?

im pretty sure its not us as we dont have a mod there


--------------------
Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english
If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time.
DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums!
Go to the top of the page
 
+Quote Post
BoB
post Apr 18 2008, 11:15 PM
Post #9


Newbie
*

Group: Members
Posts: 5
Joined: 4-September 07
Member No.: 50



Sure
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags
No Tag inserted yet


 



RSS Lo-Fi Version | Sitemap  | SEO by MinervaSEO © Icelabz.net Time is now: 21st November 2008 - 07:12 PM