Problem when posting with statistics mod

Current Version: 1.0.2
Released: 04/25/2010
Post Reply
exsyfg
Mitglied / Member
Mitglied / Member
Posts: 5
Joined: Mon 22. Mar 2010, 09:53
phpbb.com: exsyfg

Problem when posting with statistics mod

Post by exsyfg »

Hi all,

After installation on my board of the statistics mod i have the following error when posting :

[phpBB Debug] PHP Notice: in file /statistics/includes/functions.php on line 1717: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /statistics/includes/functions.php on line 1738: Invalid argument supplied for foreach()


Can somebody help me on this please?

Thanks in advance,
Franky.
exsyfg
Mitglied / Member
Mitglied / Member
Posts: 5
Joined: Mon 22. Mar 2010, 09:53
phpbb.com: exsyfg

Re: Problem when posting with statistics mod

Post by exsyfg »

Or more ...

[phpBB Debug] PHP Notice: in file /statistics/includes/functions.php on line 1717: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /statistics/includes/functions.php on line 1738: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /statistics/includes/functions.php on line 1782: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /statistics/includes/functions.php on line 1788: Invalid argument supplied for foreach()
[phpBB Debug] PHP Notice: in file /statistics/includes/functions.php on line 1813: Invalid argument supplied for foreach()
exsyfg
Mitglied / Member
Mitglied / Member
Posts: 5
Joined: Mon 22. Mar 2010, 09:53
phpbb.com: exsyfg

Re: Problem when posting with statistics mod

Post by exsyfg »

What needs to be told:

I've got a 'timeout after 30 seconds' during the execution of the installation-script, after the database-actions.

Best regards,
Franky.
User avatar
Marc
Administrator
Administrator
Posts: 620
Joined: Tue 2. Sep 2008, 22:48
phpbb.com: Marc
Location: Munich
Contact:

Re: Problem when posting with statistics mod

Post by Marc »

Undo the edit to posting.php.
Image
exsyfg
Mitglied / Member
Mitglied / Member
Posts: 5
Joined: Mon 22. Mar 2010, 09:53
phpbb.com: exsyfg

Re: Problem when posting with statistics mod

Post by exsyfg »

Thanks Marc,

That solved indeed the error. Will this change the behavior of the statistics mod?

Many thanks for your help.

Best regards,
Franky.
User avatar
Marc
Administrator
Administrator
Posts: 620
Joined: Tue 2. Sep 2008, 22:48
phpbb.com: Marc
Location: Munich
Contact:

Re: Problem when posting with statistics mod

Post by Marc »

The BBCode and smiley statistics will not display anything, but that's it.
Image
exsyfg
Mitglied / Member
Mitglied / Member
Posts: 5
Joined: Mon 22. Mar 2010, 09:53
phpbb.com: exsyfg

Re: Problem when posting with statistics mod

Post by exsyfg »

Do you have any idea on how you can avoid the timeout during the install_functions.php script?

Is there any need i should try to run this anyway?
User avatar
Marc
Administrator
Administrator
Posts: 620
Joined: Tue 2. Sep 2008, 22:48
phpbb.com: Marc
Location: Munich
Contact:

Re: Problem when posting with statistics mod

Post by Marc »

I added a function that will not have an issue with timeouts anymore in the next version of phpBB Statistics. As this needs some edits to several files, I would not recommend adding the new function by hand.
Image
Post Reply