I just thought I would raise this in case anyone had seen anything similar:
The following little script is crashing for me, both under Zend Studio and under Apache. If I take out the last line - assignment into the session - I no longer get a crash. And if I add the document $doc into the session instead of the SDO $cart it works fine. I guess I have to always add the document, not the SDO. <?php include "SCA/SCA.php"; session_start(); $xmldas = SDO_DAS_XML::create(dirname(__FILE__) . '/../Schema/ Cart.xsd'); $doc = $xmldas->createDocument('cart'); $new_cart = $doc->getRootDataObject(); $item = $new_cart->createDataObject('item'); $item->itemId = 1; $item->quantity = 1; $item->description = "My very own item"; $_SESSION['cart'] = $new_cart; ?> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "phpsoa" group. To post to this group, send email to phpsoa@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.co.uk/group/phpsoa?hl=en -~----------~----~----~----~------~----~------~--~---