Page 1 of 1

Calling php script.

Posted: Mon Jul 14, 2008 1:32 pm
by jbrohan
Hello
I', having some difficulty callling a php script. The calling code seems to go OK, but it fails with a bad fetch in the called php script.

<filled>
You entered <value expr="idx"/>.
Get ready, you are going on a trip!
<submit next="xmlgetp.php"
method = "get"
namelist = "idx"/>
</filled>

xmlgetp.php text...
<?xml version="1.0"?>
<vxml version="2.1">
<var name="full_name" expr="bananas"/>
<form id="test_form">
<block>
Hello <value expr="full_name"/>, nice to meet you!
</block>
</form>
</vxml>

the error is
DocumentParser::FetchDocument - Parse error in file "xmlgetp.php", line 1, column 4 - Unknown element 'br'
errno: 205 uri xmlgetp.php
...there is no "br" this comes from some hidden parser I think?
The calling seems very delicate, for example the method = "GET" causes a problem right away, it seems it has to be lower case.

I'm inclined to think that I'm approaching this from a wrong direction, but I'm planning to have many small routines to return items mostly from a MySQL database through php.

Thank you for your help.
John

IVR issue stems from parse error in file

Posted: Mon Jul 14, 2008 4:13 pm
by support
Hi,

This kind of IVR error means that there is a parse error in the file. If you check the IVR call log and click on "Click here to view saved VoiceXML script", you can see the contents of the file that's returned by your web browser.

See here for more information: http://www.plumvoice.com/docs/dev/plumd ... mon_Errors

If you're still encountering this IVR issue, you could provide us with the php script and IVR call log so that we can help you further debug the IVR issue.

Regards,
Plum Support