From:             casmeiron at gmail dot com
Operating system: *
PHP version:      5.0.0
PHP Bug Type:     Scripting Engine problem
Bug description:  Problem when i sharing my class conection with two or more class

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 bug report at http://bugs.php.net/?id=29598&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29598&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29598&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29598&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29598&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29598&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29598&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29598&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29598&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29598&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29598&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29598&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29598&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29598&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29598&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29598&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29598&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29598&r=float

Reply via email to