I am trying to connect to MySQL, mainly to determine if APE is build with MySQL support or not.
I have followed this example: http://www.ape-project.org/wiki/index.php/Serverside_js_module_using_MySQL In the Demo dir, I have created the folder 'Database' and in this folder a file called demo.html with this content: ------------------------------------------ <html> <head> <title>APE MySQL demo</title> <script type="text/javaScript" src="../../Clients/mootools-core.js"></ script> <script type="text/javaScript" src="../../Clients/MooTools.js"></ script> <script type="text/javaScript" src="../config.js"></script> <script type="text/javascript"> var client = new APE.Client(); //Load APE client client.load(); client.addEvent('load', function() { client.core.start({'name': '' + Date.now() + ''});//Start with a random name }); client.addEvent('ready', function() { //send getInfo command client.core.request.send('getInfo', {'user': 'testuser'}); //onRaw info callback client.onRaw('info', function(params) { console.log(params); }); }); </script> </head> <body> Hello world </body> </html> --------------------------------------------------------- This is the output to firebug: + element is null element.appendChild(context);\n mootools-core.js (1712) Any ideas? /marie_dk -- You received this message because you are subscribed to the Google Groups "APE Project" 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/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
