vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   Is 46 a good number of queries? (https://vborg.vbsupport.ru/showthread.php?t=38675)

filburt1 05-16-2002 01:24 AM

Is 46 a good number of queries?
 
<a href="http://www.turtletips.com/forums/?explain=1" target="_blank">http://www.turtletips.com/forums/?explain=1</a>

It's not a dedicated server so I don't really care, just curious...

Erwin 05-16-2002 06:10 AM

If it's not a dedicated, do you mean it is a shared server? If it is, then you should care, as 46 is quite a few queries. Too many queries, and you may affect other sites sharing your server, and your host may get upset. Is that for your forum homepage?

TECK 05-16-2002 06:52 AM

46queries is high. if you have a really busy site, you might end up with your provider knocking on your email requesting you to disable the scripts.
i just looked at your forums. you have html enabled? in other words, you let a door open to hackers. i have no idea why it was added the html code option for bulletin boards, is the worst idea they could come up.

Admin 05-16-2002 12:53 PM

You messed up your $templatesused variable and template caching somehow. It's calling templates all the time.

filburt1 05-16-2002 06:04 PM

Ack, now it's 50 queries...can I post my index.php as an attachment so somebody can look at it?

Scott MacVicar 05-16-2002 09:18 PM

You need to add templates used in your index.php to $templatesused at the top of the index.php file

I managed to get my main site down to 9 queries and 11 queries on a content page :)

filburt1 05-16-2002 09:42 PM

Must have been all the hacks I installed :D

filburt1 05-17-2002 01:48 AM

I got it down to 35 by only assigning $templatesused once (it was being assigned again a few lines down again). The Member of the Day hack does a bunch of queries it looks like too...

Bald Bouncer 05-24-2002 04:36 PM

well Ive only got about 4 hacks running on the forum main page and im topping 40 querys ... is this a big problem?

Admin 05-25-2002 04:38 AM

Probably, you must have a query inside the forums loop.


All times are GMT. The time now is 12:35 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.01064 seconds
  • Memory Usage 1,722KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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