I found this:
In 1.2, it gaves me sessioncomponent object name on sf.net:
$this->controller->{$component} =& new
$componentCn($param);
$loaded[$component] =&
$this->controller->{$component};
In 1.1, it gaves me SessionComponent object name on sf.net
$this->__controller->{$component} =& new
$componentCn($param);
$loaded[$component] =&
$this->__controller->{$component};
The class name is all lower case on sf in version 1.2 verse camel case
in 1.1 and that is the cause of my blank page.
Why is change in the way the object are created?
Thanks
On Jul 5, 3:17 pm, "chanh.ong" <[EMAIL PROTECTED]> wrote:
> I just notice something:
> sf.net uses PHP Version 4.3.10 and see
>
> On sf.net--->
> [Session] => sessioncomponent Object <------ notice the object
> name all small case
>
> On the pc: ---->
> [Session] => SessionComponent Object <----- notice the object name
> in camel case
>
> Is there an issue with php 4.3.10?
>
> Thanks
>
> On Jul 5, 11:30 am, "chanh.ong" <[EMAIL PROTECTED]> wrote:
>
> > That was because my pc version is a few days older then the sf.net
> > version so I download the latest nightly build on both so I can
> > compare them side by side and here is what I got.
>
> > On sf.net--->
> > [Session] => sessioncomponent Object
> > (
> > [__active] => 1
> > [valid] => 1
> > [error] => Array (------->> note: this error on sf but
> > what is the config that doesn't exist on sf?)
> > (
> > [2] => Config doesn't exist
> > [1] => Session is valid
> > )
>
> > [_userAgent] => 6e5d250462f53d7dc6eabfded1f0dea5
> > [path] => /caketest/
> > [lastError] => 1
> > [security] => high
>
> > On the pc: ---->
> > [Session] => SessionComponent Object
> > (
> > [__active] => 1
> > [valid] => 1
> > [error] =>
> > [_userAgent] => e368c4b11edb94357c396b2d091fb0bc
> > [path] => /1.2.x.x_04.07.2007/
> > [lastError] =>
> > [security] => high
>
> > On Jul 5, 11:01 am, "chanh.ong" <[EMAIL PROTECTED]> wrote:
>
> > > I run another test today to compare between my pc and sf and they both
> > > have the same
>
> > > [error] => Array
> > > (
> > > [2] => Config doesn't exist
> > > [1] => Session is valid
> > > )
>
> > > But on sf I got a blank page verse a Cake sample page on the pc.
>
> > > Brother! This is hard to track down!
>
> > > On Jul 4, 2:27 pm, "chanh.ong" <[EMAIL PROTECTED]> wrote:
>
> > > > I found something interesting but don't know what!
>
> > > > At sf.net
> > > > [Session] => sessioncomponent Object
> > > > (
> > > > [__active] => 1
> > > > [valid] => 1
> > > > [error] => Array
> > > > (
> > > > [2] => Config doesn't exist
> > > > [1] => Session is valid
> > > > )
>
> > > > [_userAgent] => dde3c1f5760fa123c1c0436135c6399f
> > > > [path] => /caketest/
> > > > [lastError] => 1
>
> > > > On my pc:
> > > > [Session] => SessionComponent Object
> > > > (
> > > > [__active] => 1
> > > > [valid] => 1
> > > > [error] =>
> > > > [_userAgent] => d9fd8457f94661075e763061f6305e20
> > > > [path] => /cake_1.2.0.5146alpha/
> > > > [lastError] =>
>
> > > > On Jul 4, 2:19 pm, "chanh.ong" <[EMAIL PROTECTED]> wrote:
>
> > > > > On line 526 in _invoke I put my debug right after $output =
> > > > > call_user_func_array(array(&$controller, $params['action']),
> > > > > empty($params['pass'])? null: $params['pass']);
>
> > > > > I got lot of output on my pc here at the bin:
>
> > > > >http://bin.cakephp.org/view/751268208
>
> > > > > But on sf.net same line but I just got blank:
>
> > > > > So the problem in at this line 526
>
> > > > > Here is the bin for before line
> > > > > 526:http://bin.cakephp.org/view/771816764
>
> > > > > The debug is set to 3.
>
> > > > > Please let me know what you see from a Cake expert eyes.
>
> > > > > Thanks
>
> > > > > On Jul 4, 1:39 pm, AD7six <[EMAIL PROTECTED]> wrote:
>
> > > > > > On Jul 4, 10:27 pm, "chanh.ong" <[EMAIL PROTECTED]> wrote:
>
> > > > > > > Here is the bin of the debugging session:
>
> > > > > > > === BEFORE _invoke function call I got something
>
> > > > > > invoke may aswell be called "do everything".
>
> > > > > > You need to debug yourself to find the (much) lower cause for your
> > > > > > blank page and then figure out what on your server is the cause. I
> > > > > > do
> > > > > > hope that you already set debug to > 0 btw..
>
> > > > > > 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 [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
-~----------~----~----~----~------~----~------~--~---