Hmm i'm the author of the php version of shindig so i might not have a
completely unpartisan look at the situation, but i wouldn't say that
the php server is 'far behind'.
Feature wise i think we're a week or so behind the java version on the
RESTful interface, but for the rest (pun intended) it has complete
feature parity, and is being deployed on some 4 major social network
sites in the coming weeks and months, meaning well over 100 million
people will be using it daily soonish.. So I would say it's usable and
ready and if not we'll fix whatever is in the way of it being so asap :)
-- Chris
On Jun 3, 2008, at 5:25 PM, xin zhang wrote:
ok, I turn it off and it works.
I have another question. What is status about shindig php server and
shindig java server. Is that true that the implentation of shindig
php is far behind the java version?
Thanks
--- On Tue, 6/3/08, xin zhang <[EMAIL PROTECTED]> wrote:
From: xin zhang <[EMAIL PROTECTED]>
Subject: Re: shindig php
To: [email protected]
Date: Tuesday, June 3, 2008, 10:14 AM
The error message from the log file is:
PHP Fatal error: Cannot clone object of class
SimpleXMLElement due to
'zend.ze1_compatibility_mode' in
/Library/WebServer/Documents/shindig/php/src/gadgets/
GadgetSpecParser.php
on line 31
--- On Tue, 6/3/08, xin zhang <[EMAIL PROTECTED]>
wrote:
From: xin zhang <[EMAIL PROTECTED]>
Subject: Re: shindig php
To: [email protected]
Date: Tuesday, June 3, 2008, 10:02 AM
Thanks Chris.
I have fixed the rewrite problem, but when I try the
example
http://your.host/shindig/php/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
it returned empty page without error message, I
checked and
it died at calling $class->doGet() and $servlet
returned
GadgetRenderingServlet.
What is the problem?
--- On Mon, 6/2/08, Chris Chabot
<[EMAIL PROTECTED]>
wrote:
From: Chris Chabot <[EMAIL PROTECTED]>
Subject: Re: shindig php
To: [email protected]
Date: Monday, June 2, 2008, 5:02 PM
First of all make sure if it actually reaches the
index.php
file, if
not then the mod_rewrite part is your problem.
You can check this by putting a temporary
die("in index.php");
at the top of the index.php file just after the
<?php
bit.
The second thing to check is the servlet =>
url
mapping
part, the
easiest way to find out is probably to put some
echo's
in the
index.php file, something like:
// Try to match the request url to our servlet
mapping
$servlet = false;
$uri = $_SERVER["REQUEST_URI"];
foreach ($servletMap as $url => $class) {
echo "matching ".substr($uri, 0,
strlen($url))." against $url<br
/>\n";
if (substr($uri, 0, strlen($url)) ==
$url) {
$servlet = $class;
break;
}
}
and see what the output is ... chances are
there's
some
obvious
difference that causes a string mismatch ... fix
that
and
your up and
running :)
G'luck and let me know if that helped!
-- Chris
On Jun 2, 2008, at 9:36 PM, xin zhang wrote:
Hi
I followed the instruction here
http://incubator.apache.org/shindig/#preReqs
and did the full checkout. I didn't
create a
virtual host and
modified web_prefix to
'/shindig/php' and
htaccess to RewriteRule (/
shindig/php/*) index.php [L]
But when I point my browser to
http://your.host/shindig/php/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
, I got Page Not Found error.
What am I missing here?
Thanks