![]() |
|
Thread Tools |
#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 No members have liked this post.
|
#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.
__________________
Former vBulletin.org Staff Member
Cable Forum Please do not PM me about custom work - I no longer undertake any. Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. No members have liked this post.
|
#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: No members have liked this post.
|
#4
|
||||
|
||||
What sql query did you run ?
__________________
Former vBulletin.org Staff Member
Cable Forum Please do not PM me about custom work - I no longer undertake any. Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. No members have liked this post.
|
#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.
I'm appreciate your help. Kind regards, sabine No members have liked this post.
Last edited by Paul M; 06 Nov 2006 at 16:33. |
#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 No members have liked this post.
|
#7
|
||||
|
||||
Originally Posted by newbe_haselina
I don't think you understood the question - in your previous post you said ;
Originally Posted by newbe_haselina
I asked what query you ran, not what version of mysql you have.
![]()
Originally Posted by newbe_haselina
That looks messed up anyway, all those numbers should not be at the start.
Run this sql query to reset it all ;
![]()
__________________
Former vBulletin.org Staff Member
Cable Forum Please do not PM me about custom work - I no longer undertake any. Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. No members have liked this post.
|
#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:
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
Any further ideas? No members have liked this post.
|
#9
|
|||
|
|||
I'm having the same problem, and I'd love to hear a solution.
No members have liked this post.
|
#10
|
||||
|
||||
Originally Posted by newbe_haselina
You have a modification somewhere on your site that is screwing it up. You need to find it - and disable or fix it.
__________________
Former vBulletin.org Staff Member
Cable Forum Please do not PM me about custom work - I no longer undertake any. Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. No members have liked this post.
|
#11
|
|||
|
|||
Good morning Paul,
I already disabled every hack I find in admincp ... but it keeps coming up :cross-eyed: Is it possible that it is a modification I ran earlier, but did not remove all the files concerning to the mod? Somebody told me to delete every non-vb file I find in admincp ... but that would mean, that I probably can't run any hack?? That would be "impossible", because I have a community for young people and they love those hacks I find especially here on this site ![]() @Kidswap: As I can see, there are a lot of users having this issue ... it MUST be because of a mod, but I can't figure out which one ... Thanks Paul for your support, it's really appreciated ![]() No members have liked this post.
|
#12
|
|||
|
|||
Paul,
Cheers for the help (and a wave from cableforum from me ![]() haselina, I'm Bloke off Vbulletin. I've posted here: http://www.vbulletin.org/forum/showthread.php?t=130907 about this. The only thing I have installed now is VBAdvanced. Everything else is uninstalled, so I guess it can only be this? Seeing this prob pop up a lot lately for people. No members have liked this post.
|
#13
|
||||
|
||||
Originally Posted by newbe_haselina
Hmm, not particularly useful advice.
What you need to do is download all your non standard files and scan them for code relating to 'maxloggedin'.
__________________
Former vBulletin.org Staff Member
Cable Forum Please do not PM me about custom work - I no longer undertake any. Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. No members have liked this post.
|
#14
|
|||
|
|||
I had vbadvanced too, and I uninstalled it along with ever other hack I had run recently.
I ran a check on every file that called 'maxloggedin': index.php online.php global.php stats.php class_core.php functions_legacy.php onlineusers.php I'm unsure whether any of them are 'wrong' or what exactly is going on. No members have liked this post.
|
#15
|
|||
|
|||
[QUOTE=Paul M]Hmm, not particularly useful advice.
QUOTE] Good morning Paul, *smile ... that's what I thought ![]() I will do as you supposed this evening, hopefully I will find something. Another thing I mentioned when I'm looking for non-vb-files ... there are a lot of files named "found 3.6.1, expexted 3.6.2" (sorry for the worse translation) Does this have something to do with the issue? Can't believe it, because I had the issue earlier, bevor updrading to 3.6.2. @*wavetojailor* ... nice meeting you here ![]() No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 02:05.