Fatal error System Information

Need help upgrading your Joomla! website or converting to Joomla! 3.x? Please consider the availability of third-party templates and extensions when deciding which Joomla version to use.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
rsterry
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Mon Feb 14, 2011 12:59 am

Fatal error System Information

Postby rsterry » Sun Feb 14, 2016 6:10 am

Have now got my test joomla 3.4.8 [from 2.5] site working pretty well. However, I'm getting one error message - I have errors turned to maximum - when I try to access System Information.

Fatal error: Out of memory (allocated 8912896) (tried to allocate 196608 bytes) in /home/windsorc/public_html/joomla3/administrator/modules/mod_menu/tmpl/default_enabled.php on line 356

Any ideas please? Many thanks
Robert

User avatar
toivo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8159
Joined: Thu Feb 15, 2007 5:48 am
Location: Nottingham, UK
Contact:

Re: Fatal error System Information

Postby toivo » Sun Feb 14, 2016 8:26 am

One of the PHP core settings in your server, memory_limit, is 8M which is too low to run Joomla.

If you do not have an option in the cPanel provided by your host, you need to talk to your hosting company and get them to increase it to at least 32M and preferably to 128M or 256M because some extensions use more memory than others.
Toivo Talikka, Global Moderator
my first programs were assembled and run in 16KB :)
http://archive.computerhistory.org/resources/text/GE/GE.GE-115SystemSoftware.1967.102646096.pdf#zoom=100

rsterry
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Mon Feb 14, 2011 12:59 am

Re: Fatal error System Information

Postby rsterry » Sun Feb 14, 2016 8:55 am

That's odd. I already asked them to increase my memory limit and they did. My cPanel shows my PHP memory_limit as 128M. Could it be something else?

rsterry
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Mon Feb 14, 2011 12:59 am

Re: Fatal error System Information

Postby rsterry » Mon Feb 15, 2016 12:46 am

My hosting company has now tried several ways to correct the memory_limit problem at their end. But seems like the problem may not be a setting that has anything to do with the hosting company. Is there some other configuration in Joomla itself that could be changed to fix the problem? Or could it be a template problem? Any help appreciated.

rsterry
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Mon Feb 14, 2011 12:59 am

Re: Fatal error System Information

Postby rsterry » Mon Feb 15, 2016 1:51 am

I'm now getting different out of memory error messages whenever I try to access System Information. For example,
Fatal error: Out of memory (allocated 8912896) (tried to allocate 3072 bytes) in /home/windsorc/public_html/joomla3/libraries/joomla/filter/output.php on line 34;
Fatal error: Out of memory (allocated 8912896) (tried to allocate 196608 bytes) in /home/windsorc/public_html/joomla3/administrator/modules/mod_menu/tmpl/default_enabled.php on line 356

So it appears there is plenty of memory available but for some reason some php scripts can't access it.
I also tried the php script to brute force test memory allocations as suggested in http://magazine.joomla.org/issues/issue ... PHP-memory. It also showed plenty of memory available.
[snip]
You have allocated 88M (92517584) memory in this php script
You have allocated 89M (93566160) memory in this php script
You have allocated 90M (94614736) memory in this php script
You have allocated 91M (95663312) memory in this php script
You have allocated 92M (96711888) memory in this php script
You have allocated 93M (97760464) memory in this php script
You have allocated 94M (98809040) memory in this php script
You have allocated 95M (99857616) memory in this php script
You have allocated 96M (100906192) memory in this php script
You have allocated 97M (101954768) memory in this php script
You have allocated 98M (103003344) memory in this php script
You have allocated 99M (104051920) memory in this php script

User avatar
toivo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8159
Joined: Thu Feb 15, 2007 5:48 am
Location: Nottingham, UK
Contact:

Re: Fatal error System Information

Postby toivo » Mon Feb 15, 2016 7:13 am

My cPanel shows my PHP memory_limit as 128M. Could it be something else?
The cPanel can show something else but what matters is how much memory PHP allocates to Joomla and your error messages show that it is just over 8M.

The directive memory_limit can be set in quite a number of way, in addition to the main php.ini file of the server:
- the .htaccess file
- the Apache configuration file httpd.conf
- the Joomla directory in a php.ini or .user.ini file

In addition, the limit can be set in a PHP script by using the ini_set function, but the usual suspects are the .htaccess file or a php.ini file in the main Joomla folder.
Toivo Talikka, Global Moderator
my first programs were assembled and run in 16KB :)
http://archive.computerhistory.org/resources/text/GE/GE.GE-115SystemSoftware.1967.102646096.pdf#zoom=100

rsterry
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Mon Feb 14, 2011 12:59 am

Re: Fatal error System Information

Postby rsterry » Tue Feb 16, 2016 6:04 am

Thanks very much for your reply. However, there is no php.ini or .user.ini file in my main Jooma folder.
The .htaccess file doesn't appear to contain any reference to allocation of memory. I don't have access to the httpd.conf file on the server. So I'm still stumped.

User avatar
toivo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8159
Joined: Thu Feb 15, 2007 5:48 am
Location: Nottingham, UK
Contact:

Re: Fatal error System Information

Postby toivo » Tue Feb 16, 2016 6:20 am

Then check the index.php file of your template(s) and the main index.php, and also configuration.php for the ini_set() function.
Toivo Talikka, Global Moderator
my first programs were assembled and run in 16KB :)
http://archive.computerhistory.org/resources/text/GE/GE.GE-115SystemSoftware.1967.102646096.pdf#zoom=100

rsterry
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Mon Feb 14, 2011 12:59 am

Re: Fatal error System Information

Postby rsterry » Tue Feb 16, 2016 6:32 am

Checked the index.php file of template but no reference to memory limitations that I can see. I have also asked the template designer just to be sure. The index.php in main Joomla folder doesn't appear to refer to any memory limitations. Where is the ini_set() function please? Haven't come across it.

rsterry
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Mon Feb 14, 2011 12:59 am

Re: Fatal error System Information

Postby rsterry » Tue Feb 16, 2016 6:42 am

No ini_set() in configuration.php in main Joomla folder.

User avatar
toivo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8159
Joined: Thu Feb 15, 2007 5:48 am
Location: Nottingham, UK
Contact:

Re: Fatal error System Information

Postby toivo » Tue Feb 16, 2016 7:22 am

If there are no files like php.ini, .user.ini or .htaccess which set the lower limit, the only option is to search for the string 'ini_set' from the all folders containing the Joomla source code.

If you do not have shell access to the server, this can be done by downloading those folders to your workstation and then using a utility like diff or WinGrep.
Toivo Talikka, Global Moderator
my first programs were assembled and run in 16KB :)
http://archive.computerhistory.org/resources/text/GE/GE.GE-115SystemSoftware.1967.102646096.pdf#zoom=100

rsterry
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Mon Feb 14, 2011 12:59 am

Re: Fatal error System Information

Postby rsterry » Sat Feb 20, 2016 3:11 am

I've now backup up and restored my Joomla 3 site on to XAMPP on my local machine.
And the Systems Information link works just fine! So does that mean the problem is not in my installation of Joomla on the host server but in the server settings that I need to ask them to somehow fix? I've already done that and they don't seem to be able to find why the error is occurring. They think it must be something in the Joomla settings.

User avatar
toivo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8159
Joined: Thu Feb 15, 2007 5:48 am
Location: Nottingham, UK
Contact:

Re: Fatal error System Information

Postby toivo » Sat Feb 20, 2016 6:53 am

Well done.
does that mean the problem is not in my installation of Joomla on the host server but in the server settings that I need to ask them to somehow fix?
Looks like it. Now you should be able to convince your host.
Toivo Talikka, Global Moderator
my first programs were assembled and run in 16KB :)
http://archive.computerhistory.org/resources/text/GE/GE.GE-115SystemSoftware.1967.102646096.pdf#zoom=100

rsterry
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Mon Feb 14, 2011 12:59 am

Re: Fatal error System Information

Postby rsterry » Sat Feb 20, 2016 9:48 pm

Thanks for feedback. I'll ask them again.

User avatar
corrado444
Joomla! Guru
Joomla! Guru
Posts: 854
Joined: Thu Jul 06, 2006 8:30 am
Location: Sacramento
Contact:

Re: Fatal error System Information

Postby corrado444 » Mon Mar 20, 2017 10:02 pm

Was there ever a resolution to this issue? I am having the exact same problem when I try to reach "System Information".

Code: Select all

Fatal error: Out of memory (allocated 17301504) (tried to allocate 126165 bytes) in /home4/ab1037/public_html/16/chcdemo1/libraries/joomla/document/html.php on line 705


For the record, here is the math:

Code: Select all

17301504 - (Allocated mem)
126165        (Tried allocating)   

+17175339


There should be plenty of memory left. There is also plenty of memory in PHP.ini, I checked.
This would not be the first time a false memory error masks something else. It has happened to me before, but never with this Admin link.
Watch the 10 Minute Joomla! Tips Video Podcast
Itunes: itpc://10minutejoomlatips.blip.tv/rss/itunes
Feedburner http://feeds.feedburner.com/10MinutesJoomlaTips

rsterry
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Mon Feb 14, 2011 12:59 am

Re: Fatal error System Information

Postby rsterry » Mon Mar 20, 2017 10:56 pm

The issue was indeed with the server settings. My host fixed it.


Return to “Migrating and Upgrading to Joomla! 3.x”

Who is online

Users browsing this forum: No registered users and 6 guests