Gnome
11-02-2006, 10:24 AM
Okay...
I was following the wonderful PHP Contact example and applying it to my own project, but I get this error:
ERROR: backend timeout for http://localhost/laszlo/profile.php: null http response body
Now I read about creating an xml file (crossdomai.xml) in the root directory, but may I missed where to put it and that is my problem. Don't know.
I also tested my PHP and it is working fine.
I dumped the XML, and that looks good as well.
Here are some code snipets from the lzx:
<dataset name="dset" src="http://localhost/laszlo/profile.php" request="true" type="http"/>
<method name="sendData" args="spot_id">
var d=canvas.datasets.dset;
var p=new LzParam();
p.addValue("spot_id", SrchFld.getText(), true);
d.setQueryString(p);
d.doRequest();
</method>
If you need more info, or can point me in the right direction, it would be greatly appreciated.
Thanks!
I was following the wonderful PHP Contact example and applying it to my own project, but I get this error:
ERROR: backend timeout for http://localhost/laszlo/profile.php: null http response body
Now I read about creating an xml file (crossdomai.xml) in the root directory, but may I missed where to put it and that is my problem. Don't know.
I also tested my PHP and it is working fine.
I dumped the XML, and that looks good as well.
Here are some code snipets from the lzx:
<dataset name="dset" src="http://localhost/laszlo/profile.php" request="true" type="http"/>
<method name="sendData" args="spot_id">
var d=canvas.datasets.dset;
var p=new LzParam();
p.addValue("spot_id", SrchFld.getText(), true);
d.setQueryString(p);
d.doRequest();
</method>
If you need more info, or can point me in the right direction, it would be greatly appreciated.
Thanks!