1 Jun 2010 7:51 AM #1
I'm trying to use ext-direct with PHP using Saki's example : http://blog.extjs.eu/know-how/master...direct-part-1/
When I try to call the remote class (with "Example.car.start()" for example) I've got the following error in firebug :
uncaught exception: [Exception... "Component returned failure code: 0x805e000a [nsIXMLHttpRequest.open]" nsresult: "0x805e000a (<unknown>)" location: "JS frame :: http://localhost/includes/ExtDirect/ext/adapter/ext/ext-base.js :: i :: line 7" data: no]
1 Jun 2010 11:46 PM #2
I have resolved the problem.
in api.php, the path to router.php must be relative not absolute :
$api->setRouterUrl('../../includes/ExtDirect/router.php'); // default
$api->setRouterUrl($_SERVER['DOCUMENT_ROOT'] .'/includes/ExtDirect/router.php'); // default
I have no idea why, but use relative path !
By dannyg in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 7 Dec 2009, 8:29 PM
By j.bruni in forum Ext 3.x: BugsReplies: 8Last Post: 22 Jun 2009, 8:56 PM
By larest in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 4 Apr 2009, 1:03 PM
By prashanthn in forum Ext 2.x: Help & DiscussionReplies: 6Last Post: 21 Sep 2008, 10:19 PM
By rouet in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 13 Mar 2008, 6:18 AM