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)

Sebastian 12-09-2002 11:35 AM

Quote:

Originally posted by TECK
You are running PHP in safe mode. My host does it also. That's life... you can't do nothing about it.
yeah you can, get a dedicated server ;)

they can however disable safemode for just one site .. it is possible, i have done it. you can ask them to disable it on just your site.

mute 12-17-2002 12:08 PM

Anyone using vbmicrostats and apache 2?

vbMs works fine on my 1.3.27+php 4.2.3 server:


Page generated in 0.20286000 seconds (85.72% PHP - 14.28% MySQL) with 16 queries.

but on my 2.0.43+php 4.2.3 server i get:

Page generated in 1,040,133,629.17236805 seconds (100.00% PHP - 0.00% MySQL) with 19 queries.

Both have the same php.ini as well.

Anyone seen that before? (forgive me if its been mentioned, 45 pages of thread were a bit much for me to surf through)

-k

Edit: I surfed back a ways and felt the need to add this:

Both servers are using the same php files (I rsync them to the other server after editing them), so I'm pretty sure the db_mysql.php is hacked properly.

TECK 12-17-2002 07:37 PM

You didn't hack properly the db_mysql.php file. Double check please. :)

Boofo 12-17-2002 07:40 PM

Believe it or not, Teck, but I got that same error with microstats when I installed in in vBHome Lite until I added your additional code that you posted for it over there. :)

mute 12-17-2002 07:43 PM

If its not hacked properly, how come one server works with it, and the other server doesn't?

I am 150% sure they are using the same file, as i rsync the two servers to ensure both webservers are feeding off of the same source..

TECK 12-17-2002 07:46 PM

Hmm... is wierd. I have it working perfectly on Apache 2.0.43 and Windows XP, on my localhost...
The error not showing the right time is because it doesn't see the microtime in the startpage variable, that's why you get 1,8765988768976 numbers.

mute 12-17-2002 08:33 PM

I rehacked the db_mysql file just to be 100% certain, and rsync'd it back over, and it worked 100% on server1, but not on server2 :/

any other ideas?

TECK 12-17-2002 09:08 PM

Give me your environment where you run the problem VB? os, php, mysql, etc

mute 12-17-2002 09:54 PM

Evidentally I am an idiot :)

[high]* mute bows
[/high]

TECK, thanks for your help, if theres anything wrong with this hack is that its not idiot proof enough :)

TECK 12-17-2002 10:33 PM

What was wrong? Just curious? :)
Don't worry, I make also mistake... like anyone else here... is human. :D


All times are GMT. The time now is 03:27 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.03202 seconds
  • Memory Usage 1,735KB
  • 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_quote_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