Page 1 of 1

[ SOLVED] Error message on Listit2.

Posted: Thu Nov 05, 2015 9:48 pm
by burlington
Before I go any further, and before colleagues say anything, the person in question who seeks help is running a volunteer WW1/WW2 War Memorial site, for which of course he is not paid. Indeed, neither am I for that matter. I am just trying to help him.
Site runs on CMSMS 1.11.2.1. Module in question is Listit2
Part of the Listit listings have just become not available for him to edit. He is getting the message:
<quote>
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 71
bytes) in home4/****/public_html/lib/classes/module_support/modlang.inc.php
on line 70
</quote>
The site apparently worked fine when he wanted to edit other parts of the listings, ie the WW2 part, but now all he gets is this error message for the WW1 section which of course has many more records.

Yes, I know that both the CMSMS program and the Module need upgrading BUT he is where he is at the moment and could do with some advice. Once the site is working OK, then he can think of upgrading.


There is no point, in my views, of upgrading everything until what is there at the moment works OK.

Thanks for any advice you can give.

Martin

Re: Error message on Listit2.

Posted: Thu Nov 05, 2015 11:47 pm
by Jeff
Not even close to enough information:
-No System information
-No page information
-No template information

Re: Error message on Listit2.

Posted: Fri Nov 06, 2015 8:51 am
by burlington
I am very sorry. Not too sure why I forgot but I did.

System info:
Cms Version: 1.11.2.1

Installed Modules:

CMSMailer: 5.2.1
CMSPrinting: 1.0.3
FileManager: 1.4.1
MenuManager: 1.8.4
MicroTiny: 1.2.3
ModuleManager: 1.5.5
News: 2.12.9
Search: 1.7.7
ThemeManager: 1.1.7
TinyMCE: 2.9.12
Statistics: 1.1.3
Gallery: 1.6
CGExtensions: 1.31.3
SiteMapMadeSimple: 1.2.6
ListIt2: 1.3.2
FormBuilder: 0.7.3
ListIt2WW1: 1.3
ListIt2WW2: 1.3
FrontEndUsers: 1.21.2
CGUserDirectory: 1.3
JQueryTools: 1.2
CGSimpleSmarty: 1.5.2
ListIt2Others: 1.3
Captcha: 0.4.5


Config Information:

php_memory_limit:
process_whole_template:
output_compression:
max_upload_size: 16000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.3.21
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 32M
max_execution_time: 300
output_buffering: On
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 16M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.1.73
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Template:
CSSMenu left + 1 column

Site is: http://www.tunstall-war-memorial.org.uk/
Part of system affected concerns updating the lists for WW1 casualties. The other two lists are working. It is only in recent days that the WW1 lists became a problem. Apart from that the site has worked OK since 2013.

Hope this is enough.

Martin

Re: Error message on Listit2.

Posted: Fri Nov 06, 2015 10:00 am
by rotezecke
memory_limit: 32M
this sounds rather low. can you get/allocate more? the hosts i've been dealing with give me 128 or 256M.

Re: Error message on Listit2.

Posted: Fri Nov 06, 2015 10:23 am
by burlington
Yes, I agree. I have just emailed the host.

Re: Error message on Listit2.

Posted: Fri Nov 06, 2015 11:25 am
by burlington
...and received a reply very quickly that the memory has been set at 128mb.

I have now asked the site owner if this has made any difference.

Re: Error message on Listit2.

Posted: Sat Nov 07, 2015 5:01 pm
by burlington
The quick answer is that there has been no change. The message remains:

<quote>
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes) in
/home4/***/public_html/lib/classes/module_support/modlang.inc.php on line 70
</quote>

HOWEVER, please read below:

I can see nothing untoward on the server re hacking etc.

Like the site owner, I can't get in to edit this list as admin BUT I don't get the message above. Unlike the site owner I get the List headings but nothing else.

STOP PRESS
I have just logged in as the editor, rather than as admin. In this instance I don't get the List headings BUT I do get the same error message as the editor gets on his machine at home.

There are 3 no. Listit2 Listings on this site. 2 no. work fine. The third does not.

To encapsulate, the problem here is that 2 users, with different permissions (Admin & Editor), are both unable to edit this List BUT what they get on screen is different one from the other.

Do you think this is likely to be a server problem, or one for the CMSMS program?

Thanks

Martin

Re: Error message on Listit2.

Posted: Sun Nov 08, 2015 7:57 am
by rotezecke
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes) in ...
33554432 / 1024 = 32768 kb

32768 / 1024 = 32 mb

i dont think your memory increased (maybe server needs a restart). sounds like you are only 71b short.

Re: [ SOLVED] Error message on Listit2.

Posted: Sun Nov 08, 2015 9:35 am
by burlington
You were quite right. The memory had not been set, despite being told that it had been!

Many thanks for all your help.

Martin