Page 1 of 1
help me my forums are slow
Posted: Sat Aug 06, 2005 9:41 am
by gaogier
my forums are taking forever to load, some pages take upto 10mins, but why, what can i do?
Posted: Sat Aug 06, 2005 9:48 am
by nielsene
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.
Posted: Sat Aug 06, 2005 11:58 am
by gaogier
the porblem was that the version of the foums was really old, so i have upgraded and noow its fast but all our mods have gone
how can i upgrade them?
Posted: Sat Aug 06, 2005 12:05 pm
by s.dot
What kind of forums are you using? PHP-NUKE forums? or phpbb
Posted: Sat Aug 06, 2005 12:09 pm
by gaogier
phpbb
i have to reinstall all the mods, and i dont have a clue what im doing
Posted: Sat Aug 06, 2005 1:48 pm
by Chris Corbyn
gaogier wrote:i have to reinstall all the mods, and i dont have a clue what im doing
What have you done so far in your quest for help?
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.
Posted: Sat Aug 06, 2005 2:14 pm
by gaogier
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?
Posted: Sat Aug 06, 2005 4:00 pm
by s.dot
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?
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.
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.
Posted: Sat Aug 06, 2005 4:24 pm
by gaogier
i was their 2, but the slowness of the forums has been fixed