vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   psiStats 2006 (The New vBStats for vBulletin 3.5.x - 3.8.x) (https://vborg.vbsupport.ru/showthread.php?t=104213)

akanevsky 01-10-2006 12:49 AM

Quote:

Surely the insert should not give an ID number.
You are right. I just did a phpadmin dump of the row and forgot to remove the id insert ;)

Quote:

Does anybody know what the risc is for disableing those two commands?
I love how everyone asks "anybody". Really. Who can know better than the author of the hack?

Rickie3 01-10-2006 04:40 AM

Quote:

Originally Posted by Psionic Vision



I love how everyone asks "anybody". Really. Who can know better than the author of the hack?

hehehehehhehe i have to agree with you on that lol

S@NL - BlackBik 01-10-2006 05:38 AM

Quote:

Originally Posted by Psionic Vision
I love how everyone asks "anybody". Really. Who can know better than the author of the hack?

Well, maybe someone else who knows php/mysql?
But you're right. Do YOU know the riscs?

Also, Firefox isn't showing on the browserpage.

And we have most visitors from New Zealand it seemes. And we're a Dutch board. OK, we have a member in NZ and he has posted, but not more then all our Dutch members together. Any idea why those countrystats show almost no visitors from the Netherlands?

FFMG 01-10-2006 07:50 AM

Quote:

Originally Posted by Psionic Vision
I love how everyone asks "anybody". Really. Who can know better than the author of the hack?

I think this is because the code.
Code:

$vbulletin->db->lock_tables(array('psistats_cache' => 'READ', 'psistats_data' => 'READ'));
//and
$vbulletin->db->unlock_tables();

Is not restricted to your hack alone.
So it is more a general questions, what could happen if the lines are commented out.

You obviously placed them there for a reason, we are just curious what the downside of commenting those out might be.
Seen that I cannot lock my tables I don?t have a choice really. I must comment them out.

FFMG

Rickie3 01-10-2006 08:36 AM

Quote:

Originally Posted by S@NL - BlackBik

Also, Firefox isn't showing on the browserpage.

i asked that same question in this earlier post https://vborg.vbsupport.ru/showpost....&postcount=156

akanevsky 01-10-2006 09:28 AM

Quote:

But you're right. Do YOU know the riscs?
There are no riscs. But what happens is, there is potentially a lot of data to be parsed in the cache. While it is being parsed, another instance of the script may access the same data and parse it too. What lock tables does, it ensures that only one instance of the script may access certain tables until they are unlocked, or until the script is finished.

Quote:

Firefox isn't showing on the browserpage.
That has already been reported.

redtailboa 01-10-2006 02:45 PM

I uninstalled the old version I had, and installed 1.3.1. First the cron was not created, so I created it myself. Secondly, the psistats.php comes up fine, but the only thing that is actually being updated is Style Usage, General and Top Threads & Forums. The others do not work. I also ran the cron manually to see if that would update the non working sections and they still come up with no results:
http://linuxgangster.org/forums/psistats.php

FFMG 01-10-2006 02:53 PM

Quote:

Originally Posted by redtailboa
I uninstalled the old version I had, and installed 1.3.1. First the cron was not created, so I created it myself. Secondly, the psistats.php comes up fine, but the only thing that is actually being updated is Style Usage, General and Top Threads & Forums. The others do not work. I also ran the cron manually to see if that would update the non working sections and they still come up with no results:
http://linuxgangster.org/forums/psistats.php

It seems to be working fine; I can see countries and OS.

Maybe the cron was not run properly or something sill.

Did you also remove the changes on class_core.php? When I updated I also forgot about those changes.

FFMG

redtailboa 01-10-2006 03:16 PM

Ok this is really odd. I checked my email and had like 50 db errors saying psistats_country was not there. Then I check back on the psistats.php and its magically working. I didn't do one thing to fix it.

FFMG 01-10-2006 03:19 PM

Quote:

Originally Posted by redtailboa
Ok this is really odd. I checked my email and had like 50 db errors saying psistats_country was not there. Then I check back on the psistats.php and its magically working. I didn't do one thing to fix it.

hum, hum...

:)

FFMG


All times are GMT. The time now is 01:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02840 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete