What exactly are you trying to do? The Calendar.php script is designed for running from the command line. The value of the host and port come from environment variables:
$_SERVER['HTTP_HOST'] = value of the Host: header $_SERVER['SERVER_PORT'] which you shouldn't need to set, but if you do, you aren't supposed to include the port in the host. Ray On Sun, May 17, 2009 at 5:23 A M, mhausenblas <michael.hausenb...@deri.org> wrote: > > Just tried out GData/PHP/Zend API, the 'Calendar.php' example on MacOS > using MAMP and had an issue with it. I got an error like > > The "next" parameter was bad or missing." > > Ok, so I'm digging into it and found a bug in 'Calendar.php': > > the getCurrentUrl() function returns http://localhost:8888:8888/yadayada > rather than http://localhost:8888/yadayada due to $host having the > port information already in it and it is hence duplicated. > > If someone from the PHP team reads this, please fix it. > > Cheers, > Michael > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Data Protocol" group. To post to this group, send email to google-help-dataapi@googlegroups.com To unsubscribe from this group, send email to google-help-dataapi+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---