I've got the same error before. Thanks for confirmation.

On 16 Apr., 21:09, jbondc <[email protected]> wrote:
> I tried this code which I think should work.. any ideas? Looks like a
> quercus issue.
>
> import com.google.appengine.api.datastore;
> import com.google.appengine.api.datastore.Entity;
> import com.google.appengine.api.datastore.DatastoreServiceFactory;
>
> $data = array('test' => 1,
>          'test2' => 2);
>
> $entity = new Entity("MV_Storage_Php");
> $entity->setProperty("value", serialize($data));
>
> echo "KEY: ". (string)$entity->getKey(); // ok - unknown
> echo "VALUE: ". (string)$entity->getProperty("value"); // ok
>
> $dataService = DatastoreServiceFactory::getDatastoreService();
>
> foreach($dataService->getActiveTransactions() as $t) {
>         echo "TRANS: ". $t->getId(); // no transactions...
>
> }
>
> $dataService->put($entity); // NULL exception?
>
> echo $entity->getKey();
>
> Read 
> this:http://code.google.com/appengine/docs/java/javadoc/com/google/appengi...
>
> On Apr 16, 1:24 pm, ocb <[email protected]> wrote:
>
>
>
> > Anybody successful using the datastore API directly from PHP with
> > quercus ?
>
> > => See here for all other good links:http://php-on-gae.appspot.com
>
> > On 15 Apr., 03:03, Moriyoshi Koizumi <[email protected]> wrote:
>
> > > Hi,
>
> > > Thanks for the heads-up. It seems I forgot to add these modules as
> > > they don't reside right under com/caucho/quercus/lib :)
>
> > > Moriyoshi
>
> > > On Tue, Apr 14, 2009 at 1:37 PM, diablonhn <[email protected]> 
> > > wrote:
>
> > > > Hi moriyoshi,
>
> > > > Awesome work!  There are a few modules that are missing from your
> > > > com.caucho.quercus.QuercusModule file:
>
> > > > com.caucho.quercus.lib.curl.CurlModule
> > > > com.caucho.quercus.lib.date.DateModule
> > > > com.caucho.quercus.lib.file.FileModule
> > > > com.caucho.quercus.lib.gettext.GettextModule
> > > > com.caucho.quercus.lib.json.JsonModule
> > > > com.caucho.quercus.lib.i18n.MbstringModule
> > > > com.caucho.quercus.lib.mcrypt.McryptModule
> > > > com.caucho.quercus.lib.reflection.ReflectionModule
> > > > com.caucho.quercus.lib.string.StringModule
> > > > com.caucho.quercus.lib.i18n.UnicodeModule
> > > > com.caucho.quercus.lib.xml.DomModule
> > > > com.caucho.quercus.lib.xml.XmlModule
> > > > com.caucho.quercus.lib.xml.XMLWriterModule
> > > > com.caucho.quercus.lib.zip.ZipModule
> > > > com.caucho.quercus.lib.zlib.ZlibModule
> > > > com.caucho.quercus.lib.jms.JMSModule
> > > > com.caucho.quercus.lib.pdf.PDFModule
> > > > com.caucho.quercus.lib.bam.BamModule
>
> > > > Most of them are essential.  Some don't apply in the GAE environment.
> > > > Also, I think you should include the
> > > > com.caucho.quercus.QuercusClass file.  That file lists Java classes
> > > > that back the equivalent PHP classes.
>
> > > > On Apr 10, 10:28 am, Moriyoshi Koizumi <[email protected]> wrote:
> > > >> Hi,
>
> > > >> Finally I pushed my local work to GitHub. See HOWTO to reproduce the 
> > > >> attempt.
>
> > > >>http://github.com/moriyoshi/quercus-gae/
>
> > > >> Enjoy!
> > > >> Moriyoshi
>
> > > >> On Fri, Apr 10, 2009 at 2:44 AM, moriyoshi <[email protected]> wrote:
> > > >> > Hi,
>
> > > >> > Probably this is not a news, but I couldn't find a similar attempt so
> > > >> > here goes... I managed to get (patched) Quercus [1] to work on GAE.
> > > >> > This means now you can run considerable number of PHP application.
>
> > > >> > I'm going to post further details to my blog (http://d.hatena.ne.jp/
> > > >> > moriyoshi/  - mostly in Japanese).
>
> > > >> > Hope you are interested.
> > > >> > Moriyoshi
>
> > > >> > [1]http://quercus.caucho.com/-ZitiertenText ausblenden -
>
> > > - Zitierten Text anzeigen -- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to