help me my forums are slow
Moderator: General Moderators
-
gaogier
- Forum Contributor
- Posts: 391
- Joined: Wed Mar 02, 2005 1:02 pm
- Location: Portsmouth, UK
- Contact:
help me my forums are slow
my forums are taking forever to load, some pages take upto 10mins, but why, what can i do?
Profile them.
Ie You'll want to stick calls to microtime() in various places in the code to see where the time is being spent.
Typical places for calls to microtime:
Absolute beginning of script
After all includes
After making your DB connection
Absolute end of script
Before/after any calls to "big" functions
before/after any big query
Once you know where the time is being spent, we can help figuring out ways to optimize it.
Ie You'll want to stick calls to microtime() in various places in the code to see where the time is being spent.
Typical places for calls to microtime:
Absolute beginning of script
After all includes
After making your DB connection
Absolute end of script
Before/after any calls to "big" functions
before/after any big query
Once you know where the time is being spent, we can help figuring out ways to optimize it.
What kind of forums are you using? PHP-NUKE forums? or phpbb
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
What have you done so far in your quest for help?gaogier wrote:i have to reinstall all the mods, and i dont have a clue what im doing
If these mods are just standard ones provided by the phpBB developers then try http://phpbb.com for help - otherwise you'll need to find the person who originally installed the mods.
That question would be nearly impossible to answer, as we don't know how your scripts are currently said up, what you want them to do, and/or what you want to change.gaogier wrote:and get him to update them?
i have asked and they said to reply to the topic asking for the lastest addition, but that will mean reinstalling it wont it? is there away to just change the script myself and it will work with the lastest version?
Reading the PHPBB documentation would be your best bet. They most likely have a FAQ for questions such as yours.
http://www.phpbb.com/support/ seems to have loads of documentation for your type of question. If you can't find the answer, you could always email them.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.