Closed brycied00d closed 12 years ago
Jolan, What version of PHP are you running? (php -v) It works for me, but I'm running 5.1.0. From what I read in the PHP docs, there was never a version with just 2 arguments, but maybe they're wrong.
Google Code Info: Author: brycied...@gmail.com Created On: 2010-07-10T02:03:00.000Z
I'm running 5.2.13.
Google Code Info: Author: jo...@gormsby.com Created On: 2010-07-10T02:08:34.000Z
This issue was closed by revision r12.
Google Code Info: Author: brycied...@gmail.com Created On: 2010-07-10T02:29:12.000Z
Turns out that Exception linking was added in PHP version 5.3.0... and I thought I was running 5.1.0. Jolan, this should take care of things.
Google Code Info: Author: brycied...@gmail.com Created On: 2010-07-10T02:29:53.000Z
$ php tests.php Fatal error: Wrong parameters for Exception([string $exception [, long $code ]]) in /home/jolanvps/new/class/TransmissionRPC.class.php on line 574
If I change:
parent::__construct( $message, $code, $previous );
to:
parent::__construct( $message, $code);
then it works ok.
Google Code Info: Issue #: 3 Author: jo...@gormsby.com Created On: 2010-07-09T02:34:16.000Z Closed On: 2010-07-10T02:29:12.000Z