Topic: How to turn off online list?

Hi sometimes my database gives this error:
Error: Unable to fetch online list. or similar.

File: /path_to_site/forum/include/functions.php
Line: 245

PunBB reported: Unable to fetch old entries from online list

Database reported: ERROR: canceling statement due to statement timeout

Failed query: SELECT * FROM punbb_online WHERE logged<1260343238 

Is there maybe  a option to turn online users off?
How to do that?

Re: How to turn off online list?

There is option "Users online" at the "<FORUM_URL>/admin_options.php" page.

Re: How to turn off online list?

yes, there is but it's only remove users online box from the site. The queries still are working on my site in background mode.

4 (edited by tomasz 2009-12-09 13:04)

Re: How to turn off online list?

hmm I thought its over I've change entry in common.php and functions.php
but still got this error:
http://img18.imageshack.us/img18/6251/error1ml.jpg
and I don't know how to change this query to work properly ( I mean turn off inserting or updating selecting online tables)
in 150 line there is this function:

// Fill $pun_user with default values (for guests)
//
function set_default_user()

Re: How to turn off online list?

Right on, write on about whatever you feel best.

Re: How to turn off online list?

Please, confirm if you installed any mods that could affect the generation of the online users table.

7

Re: How to turn off online list?

i'm just looking for how to disable this query.

Re: How to turn off online list?

qie wrote:

i'm just looking for how to disable this query.

did you figure out a way to disable this? I am seeing it on my trial installation now... neutral