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 > > > > > > > > >

