Main Menu
collapse

Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

User Info

Welcome Guest.
Please log in.

Who's Online

  • Dot Guests: 932
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]


Installation errors? Mod incompatibilities? Upgrade problems? Make your way over to the Install and Upgrade Support board for all your solutions!

Board News block is so slow after update?

Started by Tberk, July 05, 2010, 10:21:55 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Tberk

Hey, I have searched this problem but couldn't find anything related.

My problem began after I updated SMF from RC2 to RC3 and SimplePortal to last version (2.3.2).

My homepage opens so slowly, it takes like 150 - 200 seconds to open. If I disable "Board News" block, page opens in one second.

Before these updates I had no no problem with homepage opening, everything was really great. Now, what could be the problem here?

SMF version: RC3
SP version: 2.3.2

Thank you.



Nathaniel

If anything, the upgrade from SP 2.3.1 to SP 2.3.2 should have made that block significantly faster, as the length limiting method was improved significantly.

Do you have extremely large posts being used for the board news entries? (either large before/after being limited by length)
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Tberk

Quote from: Nathaniel on July 17, 2010, 07:32:08 PM
If anything, the upgrade from SP 2.3.1 to SP 2.3.2 should have made that block significantly faster, as the length limiting method was improved significantly.

Do you have extremely large posts being used for the board news entries? (either large before/after being limited by length)
My maximum char limit is 62 and in total a post includes 5000 to 7500 chars.


AngelinaBelle

Just as a test, try a limited boardnews block, limited to one board at a time.

Check the "page created in" stats at the bottom of the page.

See if you can figure out if one of the boards is causing the problem.
See if you can narrow it down to one posting.

Or see if you have the same problem with all boards, all posts.

This can help you resolve the problem.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Tberk

Quote from: AngelinaBelle on August 03, 2010, 09:38:06 AM
Just as a test, try a limited boardnews block, limited to one board at a time.

Check the "page created in" stats at the bottom of the page.

See if you can figure out if one of the boards is causing the problem.
See if you can narrow it down to one posting.

Or see if you have the same problem with all boards, all posts.

This can help you resolve the problem.
It is already limited to ona board at a time. It always has.

If I let 2 posts to be shown per page, page creates in 2~ to 4~ seconds.
If I let 10 posts to be shown per page, page creates in 10~ to 15~ seconds.

I think, it is not the board or posts that is causing the problem it is code changes SP made on this block.

AngelinaBelle

What value are you using for "Topics to display"?

Are you using a Starting Post ID?
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?


AngelinaBelle

Thanks for the screenshot.
For this screenshot:
1 board
10 topics total to display
no starting post id
3 posts per page

Here are my questions:
How long does the page take to display if you use the block configured this way?
How long does the page take if you use one different board?
How many posts on your database?

Maybe the problem occurs with only one post?

Do you have a test forum where you can run a test version of boardNews?
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Tberk

With this config, the page displays in 2 or 3 secons.
If I use different board whose post generaly has few characters, the page displays in 1 or 2 seconds.
There are 890.000~ posts in my db. (Msg id: 1.542.347)

Problem does not occur with only one post because the content is not static, it changes all the time.

Yes, I have a test forum on my localhost.

AngelinaBelle

This is very odd.

Do you see the same problem in the test forum on your localhost?
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Tberk

Yes, I see. I still believe that it is because of the code changes between releases.

AngelinaBelle

If you have made any changes to Portalblocks.php, please attach the file
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Tberk

Quote from: AngelinaBelle on August 27, 2010, 08:02:33 AM
If you have made any changes to Portalblocks.php, please attach the file
I haven't made any but I realized that the developers did between 2.3.1 and 2.3.2.

Tberk

Quote from: xvp40 on August 29, 2010, 06:41:53 PM
Not to hijack, but to confirm. My news block works fine, either there is arrant code or something is set wrong on your site/host php?
It is not host problem because I get same error on my localhost too.

AngelinaBelle

Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?