OK, I have tracked down a minimal test case and it seems to be nothing to
do with CakePHP. So sorry for the noise.
Just FYI, the following minimal php script produces the Fatal error,
even outside CakePHP, so it seems to be something in the php
installation.
?php
ini_set('include_path',
On Fri, Mar 12, 2010 at 09:24:06PM -0800, Dr. Loboto wrote:
Did you place echos in each deatructor both on enter and exit?
Yes. The one in socket.php didn't seem to be being called, but the
others all seemed to run and exited before the Fatal error appears.
Are the destructors the very last
can you install xdebug? http://xdebug.org/
j
On 13 March 2010 11:13, Mark Hindley m...@hindley.org.uk wrote:
On Fri, Mar 12, 2010 at 09:24:06PM -0800, Dr. Loboto wrote:
Did you place echos in each deatructor both on enter and exit?
Yes. The one in socket.php didn't seem to be being called,
On Sat, Mar 13, 2010 at 11:53:58AM +, Jon Bennett wrote:
can you install xdebug? http://xdebug.org/
The production server is on cpanel so I don't think I can directly. I
have just asked the hosting provider to consider it.
Cheers,
Mark
Check out the new CakePHP Questions site
can you install xdebug? http://xdebug.org/
The production server is on cpanel so I don't think I can directly. I
have just asked the hosting provider to consider it.
Ahh, another case of cpanel/plesk et all getting in the way - good luck.
j
--
jon bennett - www.jben.net - blog.jben.net
can you install xdebug? http://xdebug.org/
The production server is on cpanel so I don't think I can directly. I
have just asked the hosting provider to consider it.
Is it feasible to purchase another box without cpanel but the same
spec that you can put xdebug on, perhaps routing some
On Sat, Mar 13, 2010 at 12:30:39PM +, Jon Bennett wrote:
can you install xdebug? http://xdebug.org/
The production server is on cpanel so I don't think I can directly. I
have just asked the hosting provider to consider it.
Is it feasible to purchase another box without cpanel but
Possibly -- but that is part of the problem. I identical cakephp and app
running of 2 dev systems and it runs flawlessly with no equivalent
error. It only seems to be happening on this particular system,
unfortunately that is the production server!
Could it be traffic specific? Do your dev
On Sat, Mar 13, 2010 at 12:56:56PM +, Jon Bennett wrote:
Possibly -- but that is part of the problem. I identical cakephp and app
running of 2 dev systems and it runs flawlessly with no equivalent
error. It only seems to be happening on this particular system,
unfortunately that is
Could it be traffic specific? Do your dev boxes have cpanel on them or
are they identical?
Possibly. The dev boxes are just various versions of Debian. I think trying to
reproduce the exact versions of everything on the cpanel box will be
tricky. And if it is a configuration issue, it still
You can try narrowing it down by lopping off sections of your app one
a time. Start with broad strokes, rename your database.php file to
something else taking away the database connection all together. Your
app will fail but it might give you a place to start if you don't run
into the out of
On Thu, Mar 11, 2010 at 09:01:26AM -0800, Dr. Loboto wrote:
If your production runs with debug = 2 it may be big SQL log and new
allocation to show it. But I'm not sure.
Thanks. The production was running with debug = 0. When it is set to 2,
the Fatal Error appears after the SQL log is output,
If error occurs on shutdown it definitely caused by some destructor.
I've looked into all defined by cake core destructors and found some
possible dangerous in some cases. All of them write caches and use
array_filter($objects_to_save) that may give memory allocation error
if $objects_to_save is a
On Fri, Mar 12, 2010 at 08:24:33AM -0800, Dr. Loboto wrote:
If error occurs on shutdown it definitely caused by some destructor.
I've looked into all defined by cake core destructors and found some
possible dangerous in some cases. All of them write caches and use
Did you place echos in each deatructor both on enter and exit?
On Mar 13, 2:59 am, Mark Hindley m...@hindley.org.uk wrote:
On Fri, Mar 12, 2010 at 08:24:33AM -0800, Dr. Loboto wrote:
If error occurs on shutdown it definitely caused by some destructor.
I've looked into all defined by cake
On 6 Mar, 21:58, mark m...@hindley.org.uk wrote:
Hi,
I have a cakephp app that has started to throw a Fatal Memory
allocation error. Strangely it only happens on the production server
(Cpanel, php 5.2.12) but not on either dev machines (php 5.2.11). This
is with CakePHP version 1.2.4.8284.
If your production runs with debug = 2 it may be big SQL log and new
allocation to show it. But I'm not sure.
On Mar 11, 2:55 pm, mark m...@hindley.org.uk wrote:
On 6 Mar, 21:58, mark m...@hindley.org.uk wrote:
Hi,
I have a cakephp app that has started to throw a Fatal Memory
Hi,
I have a cakephp app that has started to throw a Fatal Memory
allocation error. Strangely it only happens on the production server
(Cpanel, php 5.2.12) but not on either dev machines (php 5.2.11). This
is with CakePHP version 1.2.4.8284.
It has only started recently, nothing in the script
18 matches
Mail list logo