11
lolpant
Performance SmartSection 2.14
  • 2010/1/12 11:56

  • lolpant

  • Just popping in

  • Posts: 41

  • Since: 2007/3/19


Hi guys,

I have been using SmartSection 2.14 for article management for a while now, but in the past few months I have noticed a gradual slow down in performance when accessing each of the articles or when listing them in the administration menu.

To begin with the module performed well, however as I started going over 1 000 rows in the database, I noticed a slow down when performing searches on the site or accessing the articles, some of the wait times according to the XOOPS timers were around 5 seconds. I am now approaching 10 000 rows so the slow down is now becoming significant, near 10 seconds on loading an article.

I have attempted to optimize some of the code in item.php as an example by reducing the number of category and item objects being created, and trying to only create an object for the item currently being viewed. This had worked very well at around 6 000 rows and for a time this had brought the load time down from 10 seconds to around 4 seconds.

However as the number of rows has approached 10 000, the slow down has begun growing again, albeit at a slower rate.

My question really is, what happens in the Module Init phase when a page loads in XOOPS? This is the phase that consumes the most time when loading an article. If there is a procedure in the code that is causing the long load times, I need to find it soon and make the necessary changes. I have made some of my own pages selecting the items from the database, and these are nowhere near as slow as /modules/smartsection/item.php and /modules/smartsection/admin/index.php

Much appreciated.



12
lolpant
Re: Display Issues in CBB 4
  • 2009/5/15 8:22

  • lolpant

  • Just popping in

  • Posts: 41

  • Since: 2007/3/19


Thanks,

I figured as much as it was not listed under the compatible 2.3.3 modules. Hopefully it goes final soon :)

The reason I went for 4.0 was the tag support. Any idea on whether some1 has hacked tag capability in 3.08?



13
lolpant
Display Issues in CBB 4
  • 2009/5/15 8:03

  • lolpant

  • Just popping in

  • Posts: 41

  • Since: 2007/3/19


Hi guys,

I recently installed a fresh version of XOOPS 2.3.3 and CBB 4.0 and I am finding one or two strange bugs.

When I create a new category, it does not display in the categories section.
Sometimes when I create a forum it does not display in the admin section under the forum *tree* nor does it display in the user front end. But if I go to Prune or one of the other sections, the new forums do display.

In addition, when inspecting the database tables I found that the forums and categories are being committed to the database.

Upon enabling debug, I have not found any kind of obvious errors. Anyone else having similar issues?

Is CBB 4 not fully supported in 2.3.3?

Thanks in advance.



14
lolpant
Re: Changing fields in user registration form
  • 2009/4/9 15:12

  • lolpant

  • Just popping in

  • Posts: 41

  • Since: 2007/3/19


In the extended profiles module you can edit and remove registration fields and steps.

Does this still not meet your requirements?

This just may be a nice way out, seeing as you do not need to hack around with any core code.

In addition if you were to load the module, you could hack away at the module's registration code instead of the core. I just find it a lot cleaner.



15
lolpant
Re: apostrophe displays as ’ -- FIXED!
  • 2007/6/19 8:41

  • lolpant

  • Just popping in

  • Posts: 41

  • Since: 2007/3/19


Hmmmm I am running IIS but maybe this will still work for you.

Change your MySQL character set to latin1 in the Server Instance Wizard.



16
lolpant
Re: apostrophe displays as ’ -- FIXED!
  • 2007/6/19 8:41

  • lolpant

  • Just popping in

  • Posts: 41

  • Since: 2007/3/19


Hmmmm I am running IIS but maybe this will still work for you.

Change your MySQL character set to latin1 in the Server Instance Wizard.



17
lolpant
Re: Event Guide - Regisrtations halted - SOLVED
  • 2007/6/7 13:04

  • lolpant

  • Just popping in

  • Posts: 41

  • Since: 2007/3/19


Well the problem was that you can not register for an event without mail being set up on the XOOPS site, even if you disable notifications by e-mail.



18
lolpant
Re: Porting Downloads+ to WF-Downloads
  • 2007/6/6 6:07

  • lolpant

  • Just popping in

  • Posts: 41

  • Since: 2007/3/19


yeah i am running 3.1

The only issue is that although all my download categories are there, they are all recognised as parent categories instead of a few parent categories with child categories.

Is this supposed to happen ? or should I maybe try an upgrade and try re-import my db.

I posted the prob on smart factory but i am still awaiting a response.



19
lolpant
Re: Porting Downloads+ to WF-Downloads
  • 2007/6/5 10:17

  • lolpant

  • Just popping in

  • Posts: 41

  • Since: 2007/3/19


:)



20
lolpant
Re: Porting Downloads+ to WF-Downloads
  • 2007/6/5 9:45

  • lolpant

  • Just popping in

  • Posts: 41

  • Since: 2007/3/19


Yeah I was thinking of writing a script but then i realised WMPDownloads is a variation of MyDownloads. So I used MyDownloads as a bridge-between:

1. Install Mydownloads.

2. Copy the tables from WMPdownloads into Mydownloads - as they have the same table structure. I did this via PHPMYadmin.

3. Install WF-Downloads.

4. Go into WF-Downloads and click Import.

This should import all the data from MyDownloads and yeah, job done.




TopTop
« 1 (2) 3 4 »



Login

Who's Online

260 user(s) are online (158 user(s) are browsing Support Forums)


Members: 0


Guests: 260


more...

Donat-O-Meter

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

Latest GitHub Commits