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)

glo 03-29-2004 12:22 AM

im using 2.3.4

glo 03-29-2004 12:23 AM

im using 2.3.0 but the coding should be the same

Kaelon 03-29-2004 12:36 AM

The upgraded differences between functions.php in 2.3.2 and 2.3.5 were significant enough, I believe, to break functionality - specifically, a couple of new procedures that measure memory usage, which I believe has broken the way that vBulletin does calculations. I'm not sure, though; honestly, I haven't spent much time trying to get the percentages right, and the quick fix I posted on page 62 worked for me.

Jonah Weiland 03-30-2004 12:34 AM

I just installed this hack on my forums and got the oddest result:

Quote:

Page generated in 1,080,612,708.69590306 seconds (100.00% PHP - 0.00% MySQL) with 26 queries.
[Debug Mode OFF][PHP v4.3.2] [GZIP enabled - level 1] [Server Load: 1.11 ? 1.59 : 1.64]
1 Million seconds? Did I install the hack wrong, or is this a sign that there's something serious wrong with my forums?

ArchMage 07-17-2004 02:59 AM

I suppose most people are off with VB3 now. ;) But if anyone does still read this, I was wondering if there are any common problems (common hacks?) with huge MySQL % on the main forum page. I haven't added that many features to forumhome but it has 90% SQL. :surprised: Obviously it would be nice to get that down. Every other page generally has about 80% PHP. There must be some hack that is really digging into the database. (Off the top of my head, I have: a Welcome panel, a style drop-down bar, a shoutbox and a PM gauge. Maybe the shoutbox?)

I'm fairly noobish when it comes to this sort of thing, so even if you think I might be aware of simple ways to troubleshoot, feel free to mention them anyway. I'll be very grateful if I don't have to go through every edited file. ;)

Aaron Freed 08-14-2004 06:06 PM

Quote:

Originally Posted by glo
Hi Gary W,
im getting this error right now above the forums index page.

Warning: Cannot modify header information - headers already sent by (output started at /home/glo/public_html/forums/admin/db_mysql.php:255) in /home/glo/public_html/forums/admin/functions.php on line 1684

I went back and double checked the functions.php, db_mysql.php code and global.php code and that is fine.

and it wont let me into the admin area to add the template! it momentarily gives an error screen saying


Warning: Cannot modify header information - headers already sent by (output started at /home/glo/public_html/forums/admin/db_mysql.php:255) in /home/glo/public_html/forums/admin/functions.php on line 1684
Warning: Cannot modify header information - headers already sent by (output started at /home/glo/public_html/forums/admin/db_mysql.php:255) in /home/glo/public_html/forums/admin/functions.php on line 1684
Warning: Cannot modify header information - headers already sent by (output started at /home/glo/public_html/forums/admin/db_mysql.php:255) in /home/glo/public_html/forums/admin/functions.php on line 1684
Warning: Cannot modify header information - headers already sent by (output started at /home/glo/public_html/forums/admin/db_mysql.php:255) in /home/glo/public_html/forums/admin/global.php on line 227

So I cant even add the template! HELP!!! How can you get into the admin if it bounces you out straight away!

You're best off finding the offending templates in phpMyAdmin and deleting them, but that alone would be heavily difficult. I still haven't even figured out to get rid of those damned warnings at the top of each page my board generates, which is really upsetting me

Edit: Here's the most annoying message

Warning: Cannot modify header information - headers already sent by (output started at blahblah/forum/admin/db_mysql.php:275) in blahblah/forum/showthread.php on line 209

mashby 08-18-2004 02:33 PM

So what's the verdict? Does this awesome hack work with 2.3.5?

mashby 08-20-2004 11:07 PM

bump...

pdatoon 08-24-2004 02:47 PM

Hi,

I installed the vb 2.3.0 version. I added {getmicrostats} in my footer but nothing is displayed. Does the template name is getmicrostats or home_microstats ?

Any ideas?

pdatoon 08-24-2004 03:05 PM

Nevermind i rename the template "microstats" and it works now :)

Here are my results :

Page generated in 0.20717907 seconds (76.03% PHP - 23.97% MySQL) with 22 queries.
[Debug Mode OFF] [PHP v4.3.4] [GZIP disabled] [Server Load: 2.53 ? 2.40 : 3.05] . PHP percent page usage: 76.03% PHP MySQL percent page usage: 23.97% MySQL GZIP compression library:GZIP disabled GZIP compression level:1 your average server load: [Server Load: 2.53 ? 2.40 : 3.05]


All times are GMT. The time now is 09:09 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.01892 seconds
  • Memory Usage 1,742KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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