1
zagreb1
Slow XOOPS after installing news 1.44
  • 2006/8/12 18:16

  • zagreb1

  • Just popping in

  • Posts: 20

  • Since: 2005/9/10


Ok, I never before used "cache".
Now I set up "1 minute" for the news, and nothing to other modules.

There are less than 100 items in table_xoops_xoopsnotifications, 9.4kB.

The total size of DB is 20MB.
Stories take 17,6 MB (3200 items), seccont take 1,1 MB etc.

And there's definetely problem with the "News".
Did I mentioned that I added some mods to "News" ?
I added another field in the database, and also in the scripts ("overtitle"), to be shown as "overtitle" over the news_title. I coppied paramethers of the "Keywords" and "description" functions. I tried the modul on fresh XOOPS, and it worked fine, but now is slow.

Also, I couldn't upgraded the database when I installed the news 1.44, so I did it manually, but I also had many problems with that (database was of for several minutes).

XOOPS worked slow before too, but now it takes ages to come back to index after story submitting.

Tnanks.
I'll copy this to the forum.

2
whooven
Re: Slow XOOPS after installing news 1.44
  • 2006/8/12 19:53

  • whooven

  • Just popping in

  • Posts: 42

  • Since: 2006/2/17


Have you run any of the debug processes? Also, would you care to share the url of your site so we can see first hand?
"I'm going to see if this internet thing takes off" - someone told me this when I suggested he needed a website.

3
irmtfan
Re: Slow XOOPS after installing news 1.44
  • 2006/8/12 20:14

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


Quote:
it takes ages to come back to index after story submitting.


it sound me a notification issue.

could you do this test:
disable notification in news, then submit/approve a news and see the result.

4
zagreb1
Re: Slow XOOPS after installing news 1.44
  • 2006/8/12 21:02

  • zagreb1

  • Just popping in

  • Posts: 20

  • Since: 2005/9/10


http://www.nemacenzure.com/portal/

Notification was disabled.

5
zagreb1
Re: Slow XOOPS after installing news 1.44
  • 2006/8/12 22:08

  • zagreb1

  • Just popping in

  • Posts: 20

  • Since: 2005/9/10


Ok, I ran phpDebug.
Got this after news submiting.

All errors (5) queries (65) blocks (35) extra (0) timers (5)


Under all errors:
Notice: Use of undefined constant _FORUM - assumed '_FORUM' in file /modules/forum/xoops_version.php line 8
Notice: Use of undefined constant _FORUM - assumed '_FORUM' in file /modules/forum/xoops_version.php line 10
Notice: Constant _MB_TITLE already defined in file /modules/xoopspartners/language/english/blocks.php line 35
Notice: Undefined variable: numrows in file /modules/xoopspartners/blocks/partners.php line 86
Notice: Constant _MSW_B_INTHE already defined in file /modules/ms_weather/language/english/blocks.php line 36

Under timers:
Timers
XOOPS took 1.306 seconds to load.
XOOPS Boot took 0.082 seconds to load.
Module init took 0.049 seconds to load.
XOOPS output init took 1.025 seconds to load.
Module display took 0.150 seconds to load.

6
zagreb1
Re: Slow XOOPS after installing news 1.44
  • 2006/8/12 22:30

  • zagreb1

  • Just popping in

  • Posts: 20

  • Since: 2005/9/10


Ok, i removed the lines from "forum".

How about this:

Notice: Undefined variable: numrows in file /modules/xoopspartners/blocks/partners.php line 86

This is line 86.

86 if (($numrows <= $NumberPartners) or (!$random) ) {
87 return $PartnersId;
88 exit();

7
whooven
Re: Slow XOOPS after installing news 1.44
  • 2006/8/13 2:44

  • whooven

  • Just popping in

  • Posts: 42

  • Since: 2006/2/17


Your site loads pretty fast here on the east coast U.S. The news stories usually came up in a reasonable amount of time, though some did seem to take longer than I expected. I'm not sure how to help but here's hoping someone with more knowledge and experience than I have will offer a suggestion based on the info you've provided.
"I'm going to see if this internet thing takes off" - someone told me this when I suggested he needed a website.

8
zagreb1
Re: Slow XOOPS after installing news 1.44
  • 2006/8/13 13:45

  • zagreb1

  • Just popping in

  • Posts: 20

  • Since: 2005/9/10


Thanks.
Today, same thing.

From phpDebug

Timers
XOOPS took 20.866 seconds to load.
XOOPS Boot took 1.261 seconds to load.
Module init took 0.152 seconds to load.
XOOPS output init took 17.364 seconds to load.
Module display took 1.908 seconds to load.
Page rendering took 0.166 seconds to load.


XOOPS took 10.435 seconds to load.
XOOPS Boot took 1.538 seconds to load.
Module init took 0.082 seconds to load.
XOOPS output init took 8.513 seconds to load.
Module display took 0.286 seconds to load.
Page rendering took 0.006 seconds to load.

One error:
Notice: Undefined variable: numrows in file /modules/xoopspartners/blocks/partners.php line 86

9
zagreb1
Re: Slow XOOPS after installing news 1.44
  • 2006/8/14 11:24

  • zagreb1

  • Just popping in

  • Posts: 20

  • Since: 2005/9/10


Does anybody need more info?

10
Djiman
Re: Slow XOOPS after installing news 1.44
  • 2006/8/14 11:54

  • Djiman

  • Just popping in

  • Posts: 91

  • Since: 2006/7/26


Zagreb1, If I can put just a note about the above url, then I am on a full 2mega down stream conne..
So i don't see the differences.

But , when I look at that url you have in the above post, I can say ; it is a bit loaded with images and there seems to be so much happening for a starting page.
The other pages I click seems to be over loaded in the same way and that is only an opinion.

It is not a remedy, but I would have played with images, making them smaller, or maybe put less info on one page.
The scrolling things and too many animated gif on one page also takes a fair share to slow down.

Some one recently posted a link to another website, - where to analyse a url and they give you the tips on how to optimise your site making it faster,
I don't really remember in which topic was that, but it is like three/two weeks ago.

Search for some other website's tools that will give you tips how to speed your site.


just a thought!

Login

Who's Online

222 user(s) are online (192 user(s) are browsing Support Forums)


Members: 0


Guests: 222


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits