List Manager Forum

memory overload

User corine57 2011-11-30 10:05:22

Hi,

I just bought your extension cause I need a simple directory listing for a spareparts catalog.

Now I have created a spareparts listing with five fields.

We have about 5000 spareparts, so this results in 25000 records in the listmanager vlues table.

(imported it with CSV, that worked although it took a while)


now i cannot open the data in my list, I get a memory allocation error:

Fatal error: Allowed memory size of 33554432 bytes exhausted


How can I get this working?

The data list shouldn't try to pick up every record at once, should it?

kind regards,

Corine

Moonsoft support 2011-11-30 11:00:14

Hi,
it seems you have reached the limit on one of your server variables,you can try to solve it increasing the limit on the screen you're getting that error, don't know if it's at back or front-end, module or component view, so here you have all the paths, you can edit the file and add this line:

ini_set("memory_limit","100M");

at the top section of the code, inside the first php section



For back-end:
\joomla\administrator\components\com_listmanager\views\listing\tmpl\admindata.php

For front-end (component view):
joomla\components\com_listmanager\views\listmanagerfront\tmpl\default.php

For front-end (moduleview):
joomla\modules\mod_listmanager\tmpl\default.php

Hope this helps, best regards
Moonsoft Team

User corine57 2011-12-03 10:37:16

Hi,

tahnks for your help.

it was in the backend, when I open ListManager and press the data button from my listing.

So I added the line ytou suggested in admindata.php

but I still got an error.

it says this file:

/libraries/joomla/database/database/mysql.php on line 416

isthere anything else I can try?


kind regards,

Corine

Moonsoft support 2011-12-03 10:57:37

Hello,
that file is a joomla core library, is not part of the list manager extension, very strange to throw an error there. If you could create a temporary access for us to your backend, we could login and give it a look. Please send it to gestion@moonsoft.es and we'll try to help.

Best regards,
Moonsoft Team

Edited by MSTeam - 03.12.2011 19:18

...
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!
...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!