Hi everyone :)

Just thought I'd write this here in case other people have this problem
in the future. There is a bug in some versions of PHP that causes PHP
to crash when mysql_fetch_field is called.

I don't know exactly which versions of PHP this covers, but I have had
it in PHP 5.0.3, and it is definitly fixed in PHP 5.2.0. Not everyone
with PHP 5.0.3 have this problem - it's probably a (rare) combination
of things - but it's definitly a bug, and was reported here :
http://bugs.php.net/bug.php?id=31288

Symptoms : CakePHP will just stop execution at the first database
operation. To work out if you're having this particular problem, you
can have a look in cake/libs/model/dbo/dbo_mysql.php and look for
'mysql_fetch_field'. Put an "echo 'xxx';" after that line to see if you
make it through - if you don't then you're victim of bug #31288

Solution : I have tried various workarounds, and none of them worked.
The only thing that fixed it was upgrading to PHP 5.2.0

The ISP were helpfull and upgraded their server for me within less than
a day which was good :)


Anselm


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to