Hi.
I am new to Shindig and I hope that this is the appropriate mailing list to
report my problem and ask for advice.
My configuration
Linux: Unbuntu 9.04
Apache: Apache/2.2.11
PHP Version 5.2.6-3ubuntu4.2
To get acquainted with Shindig I tried running the tests located in the
tests/ directory by running test/index.php
I get the following error message:
==========================================================
PHPUnit 3.2.9 by Sebastian Bergmann.
.............................SSSSSS.......................FE 60 / 402
F................................................EE......... 120 / 402
.FFF....................................
Fatal error: Cannot use string offset as an array in
/var/www/site/php/test/social/AlbumRestTest.php on line 34
==========================================================
The reported line 34 contains the following code:
$fetched = $fetched['entry'][0];
This line in context:
$ret = $this->curlRest($url . '/' . urlencode($album['id']), '',
'application/json', 'GET');
$this->assertFalse(empty($ret));
$fetched = json_decode($ret, true);
$fetched = $fetched['entry'][0];
I'm a little apprehensive using Shindig, if it fails to run its accompanying
tests.
Any comments would be much appreciated.
Thanks.
Elan