The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Bug found WOL problem caused by activity.php
Hi all,
In the process of troubleshooting a problem with our vbulletin installation, we found a problem with an external file that was causing our problem. I have checked with our web designer who installed a modification that included a file called activity.php I'm not sure he can remember exactly which mod included it and if it was supported after we began doing upgrades I suspect it was installed while we were still on VB 3.5.x We are currently on 3.6.2 The symptom was that every time the "most users online" record was broken the system would reset our counters to "1" and the date would be set to 1969 or 1970 depending on version of software. We could reset the counter by running a query to reset the counter but the symptom kept coming back. After working with the VB Dev group we found this line in the activity.php build_datastore('maxloggedin', serialize($vbulletin->maxloggedin)); that was causing the problem. Correcting the syntax to build_datastore('maxloggedin', serialize($vbulletin->maxloggedin), 1); This did resolve the issue. I also found the same info in "error" in try.php and am not sure where this file was used. Hope that helps either the developers or users that might have noticed this symptom. Thanks goes to the VB Dev team for helping me find and fix the problem on our forum and Thanks to all you developers that keep coming up with these great mods.. Me, I'm just a hack trying to keep my forum running smooth.. DC |
#2
|
||||
|
||||
Yes, this is a little known change between vb 3.5 and 3.6 - it's well known to me because it affected a couple of my released modifications.
|
#3
|
|||
|
|||
Hi to all,
I'm working on this issue for hours ... and I can't get it fixed :cross-eyed: I have a lot of non-vb files and files that seems to belong to 3.6.1 and not to 3.6.2 ... I'm totaly confused and I really don't know what to do further. I deactiveted all my plugins, but the issue still stays on. I ran the sql query several times ... but the counter keeps on showing 1 max user since 1.1.1970 after a refresh ... can anybody help me? I think I'm slightly going mad ... :alien: |
#4
|
||||
|
||||
What sql query did you run ?
|
#5
|
|||
|
|||
Hi Paul,
thanks for the answer For my unexperience the owner of the webspace and database told me, that we use 4.0.23. But I don't know where I can look it up?! I looked up the table in the database and its kind of funny what is writte in there. Quote:
I'm appreciate your help. Kind regards, sabine |
#6
|
|||
|
|||
Another thing, that might has something to do with the issue ... When I look at the stats, it seems that the numbers of the online user per day are gone. (please see screenshot). I don't know if this is because of the same problem, but it might be?
Kind regards, sabine |
#7
|
||||
|
||||
Quote:
Quote:
Quote:
Run this sql query to reset it all ; Code:
UPDATE datastore SET unserialize = 1, data = ' ' WHERE title = 'maxloggedin' |
#8
|
||||
|
||||
Hi Paul,
sorry for getting you wrong ... *embarrassed* ... it's hard for me to talk about things in a foreign language I don't even understand in my native language :alien: I run the following sql queries: Quote:
The following happend. 1) Run your quere and the database table was empty. The online counter on my board was correct. 2.) Did a refresh, the counter changed to 1, and thats what is in the DB-table Quote:
Quote:
Quote:
Any further ideas? |
#9
|
|||
|
|||
I'm having the same problem, and I'd love to hear a solution.
|
#10
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|