NYCPHP Meetup

NYPHP.org

[joomla] fatal error: allowed memory size

Chris French contact at chrisfrench.me
Fri Feb 3 16:49:50 EST 2012


You can also set the Memory limit inside of a php script, but the better place to do it is in the php.ini file as Donna pointed out. 

ini_set('memory_limit', '64M');

should in most servers give you the increase in memory this can be good for testing

Chris
On Feb 3, 2012, at 11:44 AM, Donna Marie Vincent wrote:

> That's not "configuration.php".  That's the php configuration, which is php.ini.  Has nothing to do with Joomla or MySQL
> 
> "configuration.php" is a file in the Joomla installation.
> 
> From: Helvécio da Silva <helvecio.rj at gmail.com>
> To: NYPHP SIG: Joomla <joomla at lists.nyphp.org> 
> Sent: Friday, February 3, 2012 4:41 PM
> Subject: Re: [joomla] fatal error: allowed memory size
> 
> I dont know wether it's a MySQL issue or Joomla issue. 
> 
> What I can say is when that happened to me I made the change in configuration.php and things started working fine.
> 
> Check this post in the Joomla forum. Hope it helps.
> 
> http://forum.joomla.org/viewtopic.php?f=32&t=246541&p=1129624&hilit=increase+memory+limit#p1129457
> 
> 2012/2/3 Scott Wolpow <scott at wolpow.com>
> It is a MySql issue, not a Joomla issue.
> Not sure if the Joomla user has the rights.
> 
> SW
> 
> 
> On 2/3/2012 4:09 PM, David Roth wrote:
>> I handle memory limit increases for PHP in the php.ini file. Am I missing something by it being cone in the configuration.php file? Thanks!
>> 
>> David Roth
>> 
>> 
>> On Fri, Feb 3, 2012 at 4:03 PM, Helvécio da Silva <helvecio.rj at gmail.com> wrote:
>> In your configuration.php file, write on the very first line
>> 
>> ini_mem('memory_limit','12M');
>> 
>> If it doesn't work, try to increase it.
>> 
>> G'luck!
>> 
>> 2012/1/31 paul elliott <peforever at hotmail.com>
>> Hello,
>> I made a copy of my default template and assigned it to a menu item for Hikashop categories.
>> At some point, after i go into the Template Manager, i now cannot get in to edit either template.
>> I get this:
>> 
>> Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 6859888 bytes) in /home/swarrez/public_html/sw173/libraries/phputf8/mbstring/core.php on line 121
>> 
>> Please help!
>> Thanks,
>> Paul
>> 
>> 
>> 
>> _______________________________________________
>> New York PHP SIG: Joomla! Mailing List
>> http://lists.nyphp.org/mailman/listinfo/joomla
>> 
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>> 
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
> 
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
> 
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
> 
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
> 
> 
> 
> -- 
> Helvecio "Elvis" da Silva
> Rio de Janeiro - Brasil - helvecio.rj at gmail.com
> http://www.helvecio.com - http://blog.helvecio.com
> 
> 
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
> 
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
> 
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
> 
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
> 
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
> 
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20120203/a5a58fb3/attachment.html>


More information about the Joomla mailing list