NYCPHP Meetup

NYPHP.org

[joomla] fatal error: allowed memory size

Matt Thomas matt at betweenbrain.com
Fri Feb 3 21:11:02 EST 2012


I'm fairly certain this is a PHP issue.

See http://drupal.org/node/76156, for example.

Best,

Matt Thomas
Founder betweenbrain <http://betweenbrain.com/>™
Lead Developer Construct Template Development
Framework<http://construct-framework.com/>
Phone: 203.632.9322
Twitter: @betweenbrain
Github: https://github.com/betweenbrain



On Fri, Feb 3, 2012 at 9:01 PM, David Roth <davidalanroth at gmail.com> wrote:

> Scott, I must be missing something. How do you know this error message
> could be database related and not just PHP?
>
> "*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"*
>
> David Roth
>
>
>
> On Fri, Feb 3, 2012 at 5:03 PM, Scott Wolpow <scott at wolpow.com> wrote:
>
>>  Yes, for php mem limits, but that error can also be caused and cured by
>> changing the my.cnf file.
>> The mem limit is from the DB.
>>
>> SW
>>
>> On 2/3/2012 4:49 PM, Chris French wrote:
>>
>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20120203/4464771a/attachment.html>


More information about the Joomla mailing list