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)

Gary King 03-05-2004 01:27 AM

Quote:

Originally Posted by TECK

Great :D

GTA3_Mafia 03-08-2004 12:02 AM

damn i wish i didn't install this. i'm getting errors now that i cant fix..

Gary King 03-08-2004 12:17 AM

Quote:

Originally Posted by GTA3_Mafia
damn i wish i didn't install this. i'm getting errors now that i cant fix..

Don't tell me you used Dreamweaver to modify the file?

GTA3_Mafia 03-08-2004 01:58 AM

nevermind, got it working. didn't see the update file.

Kaelon 03-26-2004 05:24 PM

Anyone else getting an outrageously high generation time in vBulletin 2.3.5?

Quote:

Page generated in 1,080,326,269.21341801 seconds (100.00% PHP - 0.00% MySQL) with 25 queries.
[Debug Mode OFF] [PHP v4.1.2] [GZIP enabled - level 1] [Server Load: 0.68 ? 0.58 : 0.49]

Kaelon 03-26-2004 05:27 PM

Just to add to this - my pages are still loading up as quickly as they were before, but it seems as if vBulletin 2.3.5 caused a bug of some sort. Any thoughts?

glo 03-26-2004 08:38 PM

I didnt know there was a 2.3.5 version!

But your definitely missing something from the hack!

See how is says 100% php 0% mysql, thats your indicator that somethings wrong.

Maybe you didnt do the 2 steps in functions.php, but check the instructions again, its only 1 step you have missing or havent done properly.

Kaelon 03-27-2004 05:16 PM

Thanks for the advice. I confirmed that the code was installed as specified in the instructions. I could only get a reasonable "page generation time" if I altered the calculation in functions.php to

Code:

  $totaltime = $endtime[0] - $starttime[0];
The percentages are still all messed up, however.

glo 03-27-2004 08:02 PM

i recommend starting the hack again using fresh functions.php, mysqldb.php and global.php.

Cause it does work, and as i mentioned earlier, i was getting the same errors as you.

AS frustrating as it may seem, it will come right. Good luck

Kaelon 03-28-2004 04:51 PM

Glo - are you using 2.3.5?

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]

mashby 08-26-2004 09:38 PM

pdatoon,

Thank you for posting your reply. I did the same thing and that did the trick. Apparently this hack works just fine with 2.3.5 as long as the template name is "microstats" and not "home_microstats"

Thanks for pointing me in the right direction! :cool:

94supratt 01-14-2005 10:11 PM

Quote:

Originally Posted by Jonah Weiland
I just installed this hack on my forums and got the oddest result:



1 Million seconds? Did I install the hack wrong, or is this a sign that there's something serious wrong with my forums?


Quote:

Page generated in 1,105,747,732.42824292 seconds (100.00% PHP - 0.00% MySQL) with 28 queries.
[Debug Mode OFF] [PHP v4.3.9] [GZIP enabled - level 1] [Server Load: 3.01 ? 3.11 : 2.54]
I have the same issue. Has anyone figured out why this happens?

94supratt 01-14-2005 10:43 PM

nm got the hack working.


All times are GMT. The time now is 09:12 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.02286 seconds
  • Memory Usage 1,768KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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