Re: Does binarycloud work with php5

"B. Kamer" <[email protected]> Thu, 5 May 2005 01:19:43 +0200
Newsgroups gmane.comp.lib.binarycloud.devel
Message-ID <[email protected]>
On May 3, 2005, at 23:29, Jean-Christophe Michel wrote:

> theshz wrote:
>
>> Hi, I'm getting some strange erros when trying to run the testsite  
>> with php5
>> on windows. My apache error log says (for accessing the index.php  
>> page):
>>
>> PHP Fatal error:  Call to a member function process() on a non- 
>> object in
>> C:\bcbase\binarycloud\init\Project.php on line 226
>>
>> which is a call:             $topNode->process();
>> but $topNode->init() was just called before that, and it didn't  
>> give any
>> errors.
>>
>> What can the problem be?
>>
>
> Really no idea:/
> I didn't begin php5 testing on my box :(
>
> Anyone running php5 on *unix here, to compare ?

I just installed php5 on osx. and am having the same thing with testsite

strange this is, $topNode keeps changing after each LOG and  
Exception. It looks wierd...

try putting print_r($topNode); between init() and process() at  
different lines.

225        print_r($topNode);
226        $topNode->process();

$topNode ends up as a string (******** NodeTree STEP 2: process.  
********) which is the log message from line 218, not an object...

hence

Fatal error: Call to a member function process() on a non-object in / 
Users/bas/Sandbox/bc/binarycloud/init/Project.php on line 226

_______________________________________________
dev mailing list
dev-PnctHDZWAvB/Cz2I37pSEPZ4XP/[email protected]
http://lists.binarycloud.com/mailman/listinfo/dev