I came with die(__LINE__ . '-' . __FILE__); thru dispatcher code, and
found place where apache segfauls:

https://trac.cakephp.org/browser/trunk/cake/1.1.x.x/cake/libs/controller/controller.php#L308

Very strange.. I have many OPP code and it works just great.

Here is code of my test model:

<?
class Test extends AppModel {

        var $name = 'Test';
        var $useTable = false;


}

?>

And test controller:

<?
class TestsController extends AppController
{
        //var $uses = array();

        function index()
        {
                echo 'ddd';
        }

        function beforeRender()
        {
        }


}

?>

Any ideas?


On Nov 6, 12:46 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Nov 6, 10:49 am, MaxDao <[EMAIL PROTECTED]> wrote:
>
> > AD, this happens even in empty controller with just empty index()
> > method inside it.
> > Where should I try to put log code?
>
> How about on any line of code that is executed. Hint: stuff in the
> cake folder (would you believe it!) gets executed.
>
> Who knows, maybe this method is a worthy starting 
> point:https://trac.cakephp.org/browser/trunk/cake/1.1.x.x/cake/dispatcher.p...
>
> hth,
>
> AD


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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