#29598 [Fbk->Opn]: Problem when i sharing my class conection with two or more class

From: Date: Tue, 10 Aug 2004 16:14:09 +0000
Subject: #29598 [Fbk->Opn]: Problem when i sharing my class conection with two or more class
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-64374@lists.php.net to get a copy of this message
ID: 29598 User updated by: casmeiron at gmail dot com Reported By: casmeiron at gmail dot com -Status: Feedback +Status: Open Bug Type: Scripting Engine problem -Operating System: * +Operating System: WINDOWS PHP Version: 5.0.0 New Comment: THE SO is WINDOWS XP, using ISS 5, my extension .php call the file php-cgi.exe. Previous Comments: ------------------------------------------------------------------------ [2004-08-10 15:09:01] derick@php.net Which OS are you using? and which SAPI? ------------------------------------------------------------------------ [2004-08-10 14:44:55] casmeiron at gmail dot com Description: ------------ Guys, i have a BIG problem. First time, sorry my english, i'm from BRAZIL, so my english is not good hehehe But, lets go... I have a class named 'CONNECTION', ok, shes work very good when i use a only class, example: <?php $connection = new conection('login','pass','db','host'); $my_example_first = new Clients(&$connection ); ?> My Class 'Clients' use the class 'CONNECTION' to connect a DATABASE, when i sharing, this happend: <?php $connection = new connection('login','pass','db','host'); $my_example_first = new Clients(&$connection); $my_example_second = new Store(&$connection); ?> The browser show me this message: 'ERROR IN CGI SCRIPT... THE OUTPUT IS NOT VALID....' like this... How can i see error in my script? How i debug? This error is sux.. i dont know whats is :( Guys, help me... Sorry my english again. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29598&edit=1

« previous php.bugs (#64374) next »