when you do phpinfo() from inside that view, does it still show -1 for
memory limit?

On Oct 5, 11:28 am, Fuitad <fui...@gmail.com> wrote:
> Hello,
>
> I'm in charge of transferring a live CakePHP application from one
> server to another. I'm trying to get the new site to work but I'm
> hitting a weird error and I just can't figure it out.
>
> When I try to load the main page, I get this:
>
> Fatal error: Out of memory (allocated 13631488) (tried to allocate
> 8192 bytes) in /home/haakqsm/public_html/app/views/nodes/display.ctp
> on line 1
>
> The problem is, this error happens no matter what memory_limit is. For
> example, it's set to -1 right now.
>
> php -i | grep memory
> <tr><td class="e">memory_limit</td><td class="v">-1</td><td
> class="v">-1</td></tr>
>
> Does anybody have any clue what could be the issue here? Both servers
> (the live one and the new one) have the same php modules installed and
> the same php.ini.
>
> ----
>
> Server Info:
>
> CentOS release 5.5 (Final)
> Kernel Information:  Linux 2.6.18-194.11.4.el5xen x86_64
> GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu)
> Copyright (C) 2005 Free Software Foundation, Inc.
>
> # php -v
> PHP 5.2.14 (cgi) (built: Sep 30 2010 11:08:48)
> Copyright (c) 1997-2010 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
>     with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by
> ionCube Ltd.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to