Firstly, my environments: - Windows XP Pro SP3 running Apache 2.2.11 (Win32), PHP 5.2.10, and MySQL 5.0.51b-community-nt - Ubuntu 9.10 beta2 (running on VMWare Player) running Apache 2.2.12, PHP 5.2.10-1ubuntu1 with Suhosin-Patch 0.9.7, and MySQL 5.0.83-0ubuntu1.
Both environments are running CakePHP 1.2.4 and test cases downloaded via Git from code.cakephp.org on Aug. 6, 2009; SimpleTest is the current version (1.0.1). When I try to run my test, as soon as it hits the instantiation of my fixture's object, Apache's child process is trashed and automatically restarts (as per the Apache logs, no other errors are thrown that I could tell). This occurs on both Windows and VMWare instances (and I was previously running PHP 5.2.8 on Windows before upgrading to attempt and avoid this issue). I'm trying (again) to write a test case to prove or disprove my theory that there's something wrong (or undocumented) with the model class' internal CounterCache behavior when working with self-joined tables. In order to do so, I need a slightly modified version of the CategoryThread fixture, so I've created another one, unimaginatively named CategoryThreadSelf. These are the changes I have made: /cake/tests/cases/libs/model/models.php -- http://bin.cakephp.org/view/330908553 /cake/tests/fixtures/category_thread_self_fixture.php -- http://bin.cakephp.org/view/1665601754 /cases/libs/model/model_write.test.php -- http://bin.cakephp.org/view/1388310347 /cases/libs/model/model.test.php -- http://bin.cakephp.org/view/1252155869 Short summaries describing the files and the purpose of editing them are added to the "Notes" section of the bin's paste. Have I overlooked something else required to run a test case in the core web unit tests? I run the web-unit tests under localhost/ test.php, and run the "Core Test Cases" of "libs / model / ModelWrite". I only seem to get this error when I instantiate this fixture that I have created, which...to my knowledge, should be OK as it's (for the most part) a copy/paste of another fixture already included in the core. Help? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
