vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbMicroStats: page load time, queries, GZIP and PHP version (https://vborg.vbsupport.ru/showthread.php?t=35811)

scubasteve 05-07-2002 11:32 PM

thanks for the quick clarifications to the new db_mysql. i see the 'explain' function was removed, ostensibly because of a security concern - now i'm trying to figure out how that created insecurity ;)

anyways, thx for the update :)

oh, since it is disabled, you might want to change this line of code in admin/functions.php:

PHP Code:

$adminstats="PHP version $versionphp with $gziptext. [<a href=\"$PHP_SELF?explain=1\" target=\"_blank\">details</a>]"

to

PHP Code:

$adminstats="PHP version $versionphp $debugmode with $gziptext."


TECK 05-07-2002 11:54 PM

i wait for the new VB226 release.. and i think i will add those back as part of the hack.. the tables. i will ask then firefly or anyone here who knows well VB security if the mod is reliable.

scubasteve 05-08-2002 12:03 AM

:) sounds like a plan

Jawelin 05-08-2002 08:19 AM

Hi. With the new modified db_mysql.php version (post #306), does someone have noticed an increment (BY 1, only...) of query counts ?

I switched, on the same forumhome page, from 40 to 41 queries (nakkid, grin!!! ;) ) right after the upload of such hacked file.

Thanks.
Bye

TECK 05-08-2002 08:27 AM

i just tried with the old file to do an explain=1. it's the same number of queries, in forumhome (i did a refresh on the page). maybe you forgot some template out of the equation? could be anything... let me know jawelin. curious on this.

Jawelin 05-08-2002 05:10 PM

No.... :O
Simply I loaded my forumhome in the browser...
With that index.php page displayed, I uploaded the db_mysql.php file ONLY to server via FTP, and after the successful transfer i pressed the 'page reload' button.

Very very strange: before 40 queries, after (and now, since then) 41 !!! :)
It's just a mistery, not a problem, of course....

I've no time at the moment to investigate into db flow, but that's my black-box experiment.... :)
Thanks

TECK 05-08-2002 05:33 PM

let us know if you find out something. :)

Lethal 05-11-2002 08:35 AM

Works great, thanks.

Page generated in 0.1183040 seconds (73.35% PHP - 26.65% MySQL) with 19 queries

Pauly 05-11-2002 01:35 PM

can someone heeellllpppp me!1..lol

i have vb 2.2.5 installed on my pc along with mysql 3.23 & php 4.2.0 ....i have installed the hack but still getting 100 php and 0 mysql.....have checked the updated db_mysql.php ....but copy i have does not tally with copy that peeps have adjusted in this thread...is it just me?....can someone point me in right direction...cos its doing my nut in!! :) ...even if i do a fresh installl can u tell me what i need to do with db_mysql.php from scratch!!...sorry for being a little dumb!! gotta start somewhere!!

TECK 05-11-2002 01:57 PM

you probably have the old db_mysql.php file. make sure you download the new one from the link.


All times are GMT. The time now is 11:13 AM.

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.01891 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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