arangodb / arangodb-php

PHP ODM for ArangoDB
https://www.arangodb.com
Apache License 2.0
183 stars 43 forks source link

unclear how to use the transaction method #201

Closed alexblattner closed 7 years ago

alexblattner commented 7 years ago

Fatal error: Uncaught triagens\ArangoDb\ServerException: 10 missing/invalid action definition for transaction - Uncaught SyntaxError: Unexpected token ; - SyntaxError: Unexpected token ; at post_api_transaction (c:\Program Files\ArangoDB 3\share\arangodb3\js\actions\api-transaction.js:49:16) at Function.actions.defineHttp.callback (c:\Program Files\ArangoDB 3\share\arangodb3\js\actions\api-transaction.js:66:11) thrown in C:\xampp\htdocs\"project name"\arangodb\lib\triagens\ArangoDb\Connection.php on line 522

what may be the problem? could examples be provided?

jsteemann commented 7 years ago

Can you provide the calling PHP code? That will help debugging and answering this question. Thanks!

alexblattner commented 7 years ago

I apologize.... I forgot to put "triagens\ArangoDb\".... everything works fine

jsteemann commented 7 years ago

No worries and thanks for the confirmation. I'll close the issue then.