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

mute 12-17-2002 11:06 PM

the problem was evidentally in global.php. I'm not sure why, but my rsync isn't updating as recursively as it should :)

Herman 12-23-2002 10:00 PM

Thanks TECK!

/me clicks install

SiXXGuNNZ 12-25-2002 01:34 AM

edit: fingered it out :)

TECK 01-03-2003 08:00 PM

Good. :p ;)

Dribbles 01-05-2003 09:25 PM

Just curious, are these stats bad? The server load and MySQL % seems high but I'm not sure what it means (I'm a noob):

Page generated in 1.27131300 seconds (22.60% PHP - 77.40% MySQL) with 29 queries.
[Debug Mode OFF] [PHP v4.2.3] [GZIP enabled - level 1] [Server Load: 13.96 ? 15.02 : 12.76]

Also, I noticed that the queries goes up with each additional post I make to a thread ... is this normal? thnx guys :)

NTLDR 01-05-2003 09:34 PM

Quote:

Originally posted by Dribbles
[Server Load: 13.96 ? 15.02 : 12.76]


The server load is way too high, you want it be around 1 or lower if you can, the lower the better :)

Quote:

Also, I noticed that the queries goes up with each additional post I make to a thread ... is this normal? thnx guys :)
No this isn't normal, and is very bad, I suggest you uninstall the hack thats causing this :)

Dribbles 01-05-2003 09:36 PM

Quote:



The server load is way too high, you want it be around 1 or lower if you can, the lower the better :)

Hi, thnx. Is the server load something on my side, or could it just be the server company I use?

Quote:


No this isn't normal, and is very bad, I suggest you uninstall the hack thats causing this :)

Is there a way for me to find out which hack is doing this? Could it be Lesane's Store Hack? thnx again :)

Dribbles 01-05-2003 09:39 PM

Update - I just double checked, the queries seem to only go up with the first reply I make ... I made a reply and queries went up to 32, but then made 3 more replies right after it and the queries stayed the same ... any difference? thnx

TECK 01-05-2003 10:03 PM

Is normal. That's how VB works. But 32 queries is huge... normally you should have the default ones 17-20 (with poll), on an unhacked BB. remove all the nasty hacks.

Dribbles 01-05-2003 10:08 PM

I knew it looked a bit large. My forum view page is only 20 queries, then when you go in to see the actual threads, some of them get up to 32 queries. I think it's because I did something where I added a custom profile field (3 of them: 1 for avatar url, 1 for avatar width, and one for avatar height) and have those fields called up in everyone's postbit?? Thnx for the reply BTW :)

I'm about to install your "Quick Delete Post" ( https://vborg.vbsupport.ru/showthrea...=&pagenumber=4 ) hack right now. That was the reason I installed this hack ... someone posted on that thread something about queries ... so I figured I would install this hack to see for myself if it affected queries or something :)

Wildthinks 01-09-2003 04:59 AM

HI,

how can I use this on a non-VB page?
It's possible?
Have anybody hints for me?

THX :bunny:

neocorteqz 01-09-2003 06:04 PM

Having a prblem installing this great hack... I keep getting this

Parse error: parse error in c:\apache\htdocs\forum\admin\functions.php on line 2386

Fatal error: Call to undefined function: iif() in c:\apache\htdocs\forum\admin\functions.php on line 352

Not sure how to fix this... I'm doing this on a clean install of Vbull(running on my puter) to test, then going to install it on my live board.

thanks for any help.

opps, almost forgot... running vBull 2.2.9

GOD-Dblade 01-14-2003 11:39 PM

confirmed for 2.2.9

Xyphen 01-15-2003 08:13 PM

I installed this on vb2.2.8 and I got a error..

PHP Code:

Parse errorparse error in /homepages/42/d74004174/htdocs/forums/admin/functions.php on line 2499

Fatal error
Call to undefined function: iif() in /homepages/42/d74004174/htdocs/forums/admin/functions.php on line 505 


TECK 01-17-2003 01:57 AM

Guys, please use a decent text editor.
It's working perfectly on my 2.2.8 board as well on several 2.2.9 ones.

Disturbed 01-20-2003 03:06 AM

it works great on vB 2.2.9 :)

anyway, how can i show users gzip stats?

Etcher 01-20-2003 10:49 PM

Quick question...
Everything is working perfectly, but it is not showing my server load. I am on an IIS server, is there something that I need to do different?

TECK 01-20-2003 10:53 PM

The server stats will show only on Apache, is explained in the first post...
Please take the time to read all information there, is useful.

SpeedStreet 01-27-2003 09:04 PM

Quote:

Originally posted by TECK
Guys, please use a decent text editor.
It's working perfectly on my 2.2.8 board as well on several 2.2.9 ones.

I am using Crimson Editor and Beyond Compare to make sure my hack transfer is absolutely perfect.

I am having the same exact problem here:

PHP Code:

Parse errorparse error in /home/speedstr/public_html/forums/admin/functions.php on line 2549

Fatal error
Call to undefined function: iif() in /home/speedstr/public_html/forums/admin/functions.php on line 502 

I poured over each line of your code and made sure I installed EXACTLY what was in the code posted in the first message of this thread. I have even tried relocating the str_replace at the end of dovars in functions, to see if that would help.

Any help would be appreciated.

SpeedStreet 01-29-2003 06:15 PM

Anybody?

ranger2kxlt 02-02-2003 07:52 AM

speedstreet i get the same error

anyone have the fix? im on 2.2.9

Mickie D 02-05-2003 08:33 PM

hi i get this on my server i used the correct global and done it 2 times to make sure :)

Page generated in 1.03874302 seconds (4.79% PHP - 95.21% MySQL) with 42 queries.
[Debug Mode OFF] [PHP v4.2.3] [GZIP enabled - level 1] [Server Load: 0.96 ? 0.90 : 0.83]


well my queries are out of the roof for my main page they seem ok everywhere else ;) about 22-25

but my main page is nasty :(

can anyone tell me how i can find out what the queries are ??

i have many hacks installed, i am thankful that i found this hack maybe i can fix the problem out

Link14716 02-06-2003 12:49 AM

I just attempted to install this hack.

However, it killed all of the replacements after I uploaded the files so I have to un-install it. :(

Any ideas?

EDIT: Only with 4.0.6 or higher?
[high]* Link14716 goes to poke his host with a pointy stick.
[/high]

Ah well, *clicks install*

I'll re-install once PHP is upgraded. ;)

neocorteqz 02-06-2003 03:37 AM

Page generated in 0.17624104 seconds (100.00% PHP - 0.00% MySQL) with 32 queries.

Is this a Prob? besides the obvious high query count.

TECK 02-06-2003 08:18 AM

Search the thread, it was asked several times.
Cheers.

mcyates 02-06-2003 09:41 AM

63 quiries is that a lot???? For the index

SpeedStreet 02-06-2003 12:55 PM

TECK,
Is there any hope to getting this thing resolved on our sites, those of us that are having issues?

TECK 02-06-2003 02:23 PM

Quote:

Originally posted by SpeedStreet
TECK,
Is there any hope to getting this thing resolved on our sites, those of us that are having issues?

I don't know what could cause this, probably some hack?
Test it on a unhacked board, you will see it's working perfect. :)

TECK 02-06-2003 02:23 PM

Quote:

Originally posted by mcyates
63 quiries is that a lot???? For the index
Is huge!

gameplanetz 02-06-2003 05:03 PM

TECK,

Sorry for a newbie question but does custom profile field add queries in showthread.php?


All times are GMT. The time now is 09:53 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.01998 seconds
  • Memory Usage 1,824KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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