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

From: Date: Tue, 17 Aug 2004 13:46:59 +0000
Subject: #29598 [Opn->Fbk]: 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-64789@lists.php.net to get a copy of this message
ID: 29598 Updated by: tony2001@php.net Reported By: casmeiron at gmail dot com -Status: Open +Status: Feedback Bug Type: Scripting Engine problem Operating System: WINDOWS PHP Version: 5.0.0 New Comment: Try to run the same script using console version of PHP (php.exe -f script.php) and to see what happens. And check your Event Log, it should provide more information about IIS errors. If nothing helps - change SAPI to ISAPI instead of CGI. Previous Comments: ------------------------------------------------------------------------ [2004-08-11 16:25:03] casmeiron at gmail dot com Guys.. see the error: CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Only this, what is? Help-me :( ------------------------------------------------------------------------ [2004-08-10 18:14:06] casmeiron at gmail dot com THE SO is WINDOWS XP, using ISS 5, my extension .php call the file php-cgi.exe. ------------------------------------------------------------------------ [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 (#64789) next »