MyBB Community Forums

Full Version: Active Users today not being updated
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,

I am using MyBB 1.03. I notice that on my Admin Control Panel the Active Users today doesn't change. It's stuck on 1.
Is there a way to fix this problem?

Thanks.

Apex I'm having a similar problem with the "who was online today" page. Here's my thread http://community.mybboard.net/showthread.php?tid=6706 still not had an answer yet but I suspect these issues could be related.
I just checked my "who was online today" page. I have the same problem. Seems like after the upgrade, not every fields gets updated.
Can you guys try opening up inc/init.php and finding:
define("NO_SHUTDOWN", false);

Replace it with:
define("NO_SHUTDOWN", true);

Let me know if it is working then.

Also, i'm interested in what PHP versions you are running. Apparently there was a bug with PHP 5.0.5 regarding register_shutdown_function no longer working correctly.

Regards,
Chris
I already updated the shutdown parm as per this thread http://community.mybboard.net/showthread...026&page=2
because the views weren't being updated at the time.
PHP Version 4.4.2
Okay Ive done that too and no change. Ive also changed showthread.php as detailed in http://community.mybboard.net/showthread...026&page=2 and that did not work for me regarding threads being marked as read.

And my host is running PHP 5.0.5
Leon,

I think I resolved the problem.

Initially, I had a problem when I upgraded from RC4 to 1.02, so I replaced db_mysql.php as per the following thread. http://community.mybboard.net/showthread.php?tid=6618 to fixed the problem.
To fix the thread view problem I made the following changes. http://community.mybboard.net/showthread...026&page=1

I have since backed out of these changes by replacing
replacing db_mysql.php, init.php and showthread.php with the orginal files found in the release.

So far so good.
1) The thread view count is working.
2) The acitive user count is also working
3) The email notification seems to be working. Will have to wait for more users to logon and post to confirm it's working.

Hopefully, it will resolve your problem also.
I also had problems upgradeing and made similar changes. Ok I will give that a go. And let you know how it goes.
Okay Im still having problems with online users being updated and forums being marked as read.

Ive now installed a fresh second test forum to see if these problems were duplicated on a clean install. Which they are.

Chris is this the bug with php 5.0.5 ?

Ive also found a new problem with pmpopup's continuing to be displayed after the new message has been read every time a page is loaded.

Ive looked in phpmyadmin at the pmpopup settings in the users table and there are 3 settings 'yes', 'no' & 'new'. Popups work as they are ment to when set to 'yes' or 'no', but when set to 'new' the popup wont go away as mentioned above. Ive edited the table for all affected users and this has resolved the problem. But all newly registered user's are set to new automatically. (this applies to my main board and the test board)

I think this thread now needs to be moved to Bug Reports
Sorry it didn't work for you. I am using PHP version: 4.4.2
Pages: 1 2