[TYPO3-project-formidable] FORMidable 0.6.0: XML converting error - prefix not mapped on namespace

Jan jb at ecce-terram.de
Thu Jan 18 14:50:11 CET 2007


Hello Jerome,

thanks a lot for the fast reply and testing the example.
What i can read about FROMidable 0.6.0 in the manual is quite  
impressive.
I want to use it for generating database based dynamic forms for  
example dynamic contact forms, or somthing else with upload options,  
textfeld, and so on...

1. i think permissions can't be the error because other extension  
could also read the files in the "ext" folder.
    i've created the file with fopen() therewith the php can access  
this file.
2. formidable.xml means the form1.xml that i've defined on my self?
    i'm currently using typo3 4.0 final, and PHP Version 5.1.4.

  hmm, if i've tried some things... and now my error message has  
changed...

debug says:
---------------
"DATAHANDLER DB : EDITION OF ENTRY FAILED"

<datahandler:DB>
	<tablename>fe_users</tablename>
	<keyname>uid</keyname>
</datahandler:DB>

what could be wrong ?
what is the meaning of uid?


it's important for me to solve the problem... because the i want to  
use your extension in my own extension

TIA :)

Best Regards
                  Jan


Am 18.01.2007 um 14:06 schrieb Jerome Schneider:

> Hello Jan,
>
> I tested your xml and everything went ok.
>
> So there is a problem in accessing content of this file.
>
> 1 - Maybe your 'php user" doesn't have the read permission for this  
> file.
> 2 - If permissions are ok, it's probably a problem in the  
> formidable xml
> parser. What version of TYPO3 & PHP are you using ?
>
> Concerning Firefox, this namespace error is due to the fact that dtd's
> are not declared in the xml ( and so namespaces are not declared ).  
> But
> for now, we weren't able to produce a valid dtd for our formidable xml
> format. The formidable parser don't bother if dtd's are not  
> declared. So
> this is not the origin of this problem.
>
>
>
> Let me know if this solves or not this error.
>
>
> Regards,
> Jerome Schneider
>
>
>
>
> Jan a écrit :
>> Hello formidable users,
>>
>> i've installed the extension formidable, and use the manual
>> manual_formidable_byex.pdf to learn how to configure formidable for
>> using in my own extension.
>>
>> I use the example xml:
>>
>> <formidable version="0.6.0">
>>    <meta>
>>     <name>Dynamische Testform</name>
>>     <form formid="Testform"/>
>>     <debug>true</debug>
>>     <displaylabels>true</displaylabels>
>>    </meta>
>>    <control>
>>     <datahandler:DB>
>>     <tablename>fe_users</tablename>
>>     <keyname>uid</keyname>
>>     </datahandler:DB>
>>     <renderer:STANDARD/>
>>    </control>
>>    <elements>
>>     <renderlet:TEXT name="username" label="User name"/>
>>     <renderlet:PASSWORD name="password" label="Password"/>
>>     <renderlet:SUBMIT label="Submit"/>
>>    </elements>
>> </formidable>
>>
>> the FE formidable debug says "FORMIDABLE CORE - The given XML file
>> ('/home/www/htdocs/jb/typo3conf/ext/et_formidable_test/form1.xml')  
>> isn't
>> well-formed XML Parser says : XML error: Empty document at line 1 
>> (Total
>> exec. time: "
>>
>> the document isn't empty, i've pasted the lines above...
>>
>> if i try to open the .xml directly with firefox there is an error
>> message like "XML converting errror - prefix is not mapped on  
>> namespace"
>> and show me the following line  "<datahandler:DB>"   on line 9  
>> colum 2.
>>
>> i don't understand why this message this message appear..
>>
>> Know anybody why this error message appear ?
>>
>> TIA
>>
>> Best Regard
>>                    Jan Bludau
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project- 
> formidable
>



More information about the TYPO3-project-formidable mailing list