vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Homepage/Index Loads fine, but forums load slow as hell. (https://vborg.vbsupport.ru/showthread.php?t=279405)

Dark Navi 03-01-2012 06:27 PM

Homepage/Index Loads fine, but forums load slow as hell.
 
Hey guys, recently moved from 3.8.7 to 4.1.9, and depending on whether or not we have any issues, we will be upgrading to 4.1.11 soon.

One current problem we are having, is that the main forums load fine, but when we try to access a thread, it is taking ~10 seconds to load.

AdminCP/ModCP/Awards.php and most of the links in the navbar seem to load fine, and I can't see any plugins that should be causing this problem so I'm really at a loss of what to do here..

Would an upgrade to 4.1.11 fix this? Am I likely to be missing any files that would cause this?

Thanks in advance

kh99 03-01-2012 08:28 PM

I'm not sure, but I wouldn't count on an upgrade fixing the problem.

I think I'd try using something like the Firebug addon for Firefox and see what's taking up time when you load the thread page. If it's the main request (showthread.php) then you could try disabling all plugins to see if that does anything (edit includes/config.php and add the line "define('DISABLE_HOOKS', 1);").

You can also put the site in debug mode (again in config.php, add "$config['Misc']['debug'] = 1;"). That adds some info at the bottom of the page, and you can click on the (?) after "Queries Executed" to get a list of the db queries and how long they took.

Both of those config.php chnages are temporary things that you will want to take out when you're done.


All times are GMT. The time now is 06:45 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.01141 seconds
  • Memory Usage 1,712KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete