CMS MADE SIMPLE FORGE

Form Browser

 

[#6866] Unable to administrate results when using scandinavian characters

avatar
Created By: Heikki Ylipaavalniemi (Hypocrite)
Date Submitted: Sun Sep 11 05:17:44 -0400 2011

Assigned To:
Version: 0.4
CMSMS Version: 1.9.2
Severity: Critical
Resolution: None
State: Open
Summary:
Unable to administrate results when using scandinavian characters
Detailed Description:
In my forms the field names in the form contain Scandinavian letters (ä, ö, å)
and it seems that FormBrowser does that like that since they are not UTF-8.

I get the following error:
Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity:
line 79: parser error : Input is not proper UTF-8, indicate encoding ! Bytes:
0xE4 0xE4 0x74 0x74 in
C:\xampp\htdocs\modules\FormBuilder\FormBuilder.module.php on line 364

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]:
<field_name><![CDATA[Koulutus päättyy]]></field_name> in
C:\xampp\htdocs\modules\FormBuilder\FormBuilder.module.php on line 364

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in
C:\xampp\htdocs\modules\FormBuilder\FormBuilder.module.php on line 364

Fatal error: Uncaught exception 'Exception' with message 'String could not be
parsed as XML' in C:\xampp\htdocs\modules\FormBuilder\FormBuilder.module.php:364
Stack trace: #0 C:\xampp\htdocs\modules\FormBuilder\FormBuilder.module.php(364):
SimpleXMLElement->__construct('<?xml version="...') #1
C:\xampp\htdocs\modules\FormBuilder\FormBuilder.module.php(575):
FormBuilder->ParseResponseXML('<?xml version="...') #2
C:\xampp\htdocs\modules\FormBrowser\classes\Browser.class.php(405):
FormBuilder->GetSortedResponses('4', 0, '10', false, false, Array, 'j.n.Y',
Array) #3
C:\xampp\htdocs\raahenaiku\modules\FormBrowser\action.admin_browse.php(14):
fbrBrowser->BrowserShowList('m1_', '', Object(FormBrowser), Array,
'admin_list_fiel...', true) #4
C:\xampp\htdocs\lib\classes\class.module.inc.php(2005):
include('C:\xampp\htdocs...') #5
C:\xampp\htdocs\lib\classes\class.module.inc.php(2050):
CMSModule->DoAction('admin_browse', 'm1_', Array, '') #6
C:\xampp\htdocs\raahenaiku in
C:\xampp\htdocs\modules\FormBuilder\FormBuilder.module.php on line 364


History

Comments
avatar
Date: 2011-09-13 07:08
Posted By: Tapio Löytty (Stikki)

Will reviev this problem next week.

Never faced this myself tho.

Could you send form that was causing this to my mail: stikki@cmsmadesimple.org

or

Take contact at IRC: stikki@irc.freedone.net

Thanks
      
Updates

Updated: 2011-09-11 05:20
description: In my forms the field names in the form contain Scandinavian letters (ä, ö, å) and it seems that FormBrowser does that like that since they are not UTF-8. I get the following error: Warning: SimpleXMLElement::__construct() [simplexmlelement.--const => In my forms the field names in the form contain Scandinavian letters (ä, ö, å) and it seems that FormBrowser does that like that since they are not UTF-8. I get the following error: Warning: SimpleXMLElement::__construct() [simplexmlelement.--const
resolution_id: => 5