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

From: Date: Tue, 24 Aug 2004 23:00:11 +0000
Subject: #29598 [Fbk->NoF]: 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-65202@lists.php.net to get a copy of this message
ID: 29598 Updated by: php-bugs@lists.php.net Reported By: casmeiron at gmail dot com -Status: Feedback +Status: No Feedback Bug Type: Scripting Engine problem Operating System: WINDOWS PHP Version: 5.0.0 New Comment: No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2004-08-17 15:46:58] tony2001@php.net 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. ------------------------------------------------------------------------ [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 (#65202) next »