Welcome, Guest
Username Password: Remember me

mod_lca does not display...
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: mod_lca does not display...

mod_lca does not display... 1 year, 8 months ago #17006

Buenas tardes / Hi everyone,

I used mod_lca on my website and everything worked fine... then I did not look at the site for some time and now mod_lca is not working anymore. Basically, on every page where I want mod_lca to display, I get a blank page and no error message (though the debug mode is on). I am currently running Joomla 1.5.15; I uninstalled my initial version (1.6) and replaced it with 1.8, with no effect. The website is live (I'm not using a localhost). The section to display is published and not empty. I have basically changed every parameter in the module, with no effect, and also tried to display it on other menu items, with no effect. The module is enabled and with an access level of public.

Any idea? I'm quite at loss and can not find any other module that serves my purpose...

UPDATE: the problem occurs when I only fill the "section" block and not the "category" block. But I want to the module to display all the articles in my section. Is there any way to do that without having to manually enter my 180+ categories? I think I was able to do that a few months back...

Thanks A LOT for your help / Muchas gracias por su ayuda

=)
  • baby_lone
  • OFFLINE
  • Visitante
  • Posts: 6
  • Karma: 0

Re: mod_lca does not display... 1 year, 8 months ago #17016

New update (I've done further tests): I have manually entered my categories in the "category" box (leaving the "section" box empty). It displays only if I enter up to 162 category numbers ; if I enter more than 162 category numbers, the module does not display and the whole page remains blank. Does anyone know about a limitation of the category numbers one can enter?

Thanks!
  • baby_lone
  • OFFLINE
  • Visitante
  • Posts: 6
  • Karma: 0

Re: mod_lca does not display... 1 year, 8 months ago #17027

Hi,

In the file helper.php try to change:
if (!$rows) return $out;
//by
if (!$rows) die('Error: '.print_r($db))

Maybe it is a sql error, so we will look it
  • JoniJnm
  • OFFLINE
  • Administrador
  • Posts: 4297
  • Karma: 148

Re: mod_lca does not display... 1 year, 8 months ago #17035

Thanks for the tip!

I since then discovered that there is a limit in the number of items that can be displayed, I'm guessing that may be the reason of my display problem (though it occurs around 600 articles, and not 800 as other users mentioned).

Here are my questions:
- Do you plan to lift the limitation on the number of items that can be displayed?
- Alternatively, is there a way to display items for less than a year? (I tried entering 0.5 in the "max years" box but it gives me a white page).

I have on average 70 items per month in the categories I want to display...

Thanks a lot (I'll let you know asap once I integrate your modification)
  • baby_lone
  • OFFLINE
  • Visitante
  • Posts: 6
  • Karma: 0

Re: mod_lca does not display... 1 year, 8 months ago #17040

Unfortunately, the modification does not work... The webpage does not display at all and I have an error message :


Parse error: syntax error, unexpected T_VARIABLE in /home/mywebsite/public_html/modules/mod_lca/helper.php on line 67

Another question, is it normal that I cannot have several occurrences of the module on a same page? (Only the first one will collapse and expand normally, the other ones do not work properly...). I was thinking of using that as a workaround...
  • baby_lone
  • OFFLINE
  • Visitante
  • Posts: 6
  • Karma: 0

Re: mod_lca does not display... 1 year, 8 months ago #17041

(I tried to add a ";" at the end of the code line but it does not solve the problem. The error message disappears but I still have only blank pages).
  • baby_lone
  • OFFLINE
  • Visitante
  • Posts: 6
  • Karma: 0

Re: mod_lca does not display... 1 year, 8 months ago #17054

I forgot the ;

I have just added a param to set a limit of articles to show, until I find a solution.
www.jonijnm.es/web/descargas/category/18-mod-lca.html
  • JoniJnm
  • OFFLINE
  • Administrador
  • Posts: 4297
  • Karma: 148
Last Edit: 1 year, 8 months ago by JoniJnm.

[SOLVED] Re: mod_lca does not display... 1 year, 8 months ago #17070

Joni, YOU RULE. The new module works like a charm.

The max limit seems to be 500 (if I choose 600 articles to display, the module crashes), which is far enough for me.

Thanks a lot for your quick and useful answer!!
  • baby_lone
  • OFFLINE
  • Visitante
  • Posts: 6
  • Karma: 0
  • Page:
  • 1
Time to create page: 0.50 seconds