Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 10-18-2006, 10:29 PM
dchan dchan is offline
 
Join Date: May 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 10-18-2006, 11:51 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 11-04-2006, 07:08 PM
newbe_haselina newbe_haselina is offline
 
Join Date: May 2006
Location: Germany near Stuttgart
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #4  
Old 11-04-2006, 08:37 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What sql query did you run ?
Reply With Quote
  #5  
Old 11-05-2006, 05:04 AM
newbe_haselina newbe_haselina is offline
 
Join Date: May 2006
Location: Germany near Stuttgart
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
s:965:"1:956:"1:947:"1:938:"1:929:"1:920:"1:911:"1 :902:"1:893:"1:884:"1:875:"1:866:"1:857:"1:848:"1: 839:"< very long line removed>
It another post I found something totaly different to be written in there.

I'm appreciate your help.
Kind regards,
sabine
Reply With Quote
  #6  
Old 11-05-2006, 05:20 AM
newbe_haselina newbe_haselina is offline
 
Join Date: May 2006
Location: Germany near Stuttgart
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Attached Images
File Type: jpg useronline_stat.jpg (63.3 KB, 0 views)
Reply With Quote
  #7  
Old 11-05-2006, 09:53 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by newbe_haselina
For my unexperience the owner of the webspace and database told me, that we use 4.0.23.
I don't think you understood the question - in your previous post you said ;

Quote:
Originally Posted by newbe_haselina
I ran the sql query several times ...
I asked what query you ran, not what version of mysql you have.

Quote:
Originally Posted by newbe_haselina
I looked up the table in the database and its kind of funny what is writte in there.
That looks messed up anyway, all those numbers should not be at the start.

Run this sql query to reset it all ;

Code:
UPDATE datastore SET unserialize = 1, data = ' ' WHERE title = 'maxloggedin'
Reply With Quote
  #8  
Old 11-05-2006, 11:05 AM
newbe_haselina newbe_haselina is offline
 
Join Date: May 2006
Location: Germany near Stuttgart
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

update datastore set unserialize = 1 where title = 'maxloggedin'

update datastore set unserialize = 1,data = ' ' where title = 'maxloggedin'
Excatly the same you told me to try.

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:
s:61:"1:2:{s:9:"maxonline";i:22;s:13:"maxonlinedat e";i:1162731274;}";
3.) refresh again
Quote:
s:69:"1:61:"1:2:{s:9:"maxonline";i:22;s:13:"maxonl inedate";i:1162731274;}";";
4.) refresh again
Quote:
s:85:"1:77:"1:69:"1:61:"1:2:{s:9:"maxonline";i:22; s:13:"maxonlinedate";i:1162731274;}";";";";
It keeps up being messy again ... I guess even without refreshing the browser.

Any further ideas?
Reply With Quote
  #9  
Old 11-05-2006, 08:19 PM
Kidswap Kidswap is offline
 
Join Date: Feb 2005
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having the same problem, and I'd love to hear a solution.
Reply With Quote
  #10  
Old 11-05-2006, 08:40 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by newbe_haselina
It keeps up being messy again ... I guess even without refreshing the browser.

Any further ideas?
You have a modification somewhere on your site that is screwing it up. You need to find it - and disable or fix it.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:11 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04778 seconds
  • Memory Usage 2,278KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete