CGBetterForms 1.9.1: No valid email addresses to send to for
Posted: Wed Feb 20, 2019 1:26 pm
Sorry, after last actualisation of CGBetterForms to version 1.9.1, the handler "Send output via email depending on a dropdown/multi-option field" stopped to work
In the field "value_map" when i put a value like:
value1 | email1@email.com
value2 | email2@email.com
value3 | email3@email.com
He started converting the line breaks to:
value1 | email1@email.com value2 | email2@email.com value3 | email3@email.com
And this gives error in sending the form: "No valid email addresses to send to for DropDownEmailDispostion on"
This is a Bug, or i lost something?
Other bug is on the file "action.admin_edit_form.php" at de line 246, how we see this "de" forgetted there
"$form_guid = $this->store_form( $form );de"
Thanks for help. )
Below, my system configurations:
----------------------------------------------
Cms Version: 2.2.9.1
Installed Modules:
AdminSearch: 1.0.4
CGBetterForms: 1.9.1
CGCalendar: 2.1.4.2
CGExtensions: 1.61.5
CGSimpleSmarty: 2.2.1
CGSmartImage: 1.22.5
CMSContentManager: 1.1.7
Circulares: 1.13.5
CmsJobManager: 0.1.3
DesignManager: 1.1.5
ECB2: 1.5.2
FTBanners: 1.1
FTEquipe: 1.1
FTHorarios: 1.1
FTNoticias: 1.14.4
FTTarefas: 2.1.4.2
FTVideo: 1.1
FileManager: 1.6.8
FilePicker: 1.0.3
Gallery: 2.3.2
JQueryTools: 1.4.0.4
LinkMgr: 2.2.1
MaterialEscolar: 1.1
MenuManager: 1.50.3
MicroTiny: 2.2.4
ModuleManager: 2.1.5
Navigator: 1.0.9
News: 2.51.4
Search: 1.51.6
Config Information:
php_memory_limit:
max_upload_size: 64000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale: pt_PT.UTF8
set_names: true
timezone: America/Sao_Paulo
permissive_smarty: false
Php Information:
phpversion: 5.6.39
md5_function: Ligado (Verdadeiro)
json_function: Ligado (Verdadeiro)
gd_version: 2
tempnam_function: Ligado (Verdadeiro)
magic_quotes_runtime: Desligado (Falso)
E_ALL: 8183
E_STRICT: 2048
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 256M
max_execution_time: 60
register_globals: Desligado (Falso)
output_buffering: 1
disable_functions:
open_basedir:
test_remote_url: Sucesso
file_uploads: Ligado (Verdadeiro)
post_max_size: 10M
upload_max_filesize: 64M
session_save_path: /tmp (1777)
session_use_cookies: Ligado (Verdadeiro)
xml_function: Ligado (Verdadeiro)
xmlreader_class: Ligado (Verdadeiro)
check_ini_set: Ligado (Verdadeiro)
curl: Ligado
Performance Information:
allow_browser_cache: Ligado (Verdadeiro)
browser_cache_expiry: 60
php_opcache: Desligado (Falso)
smarty_cache: Desligado (Falso)
smarty_compilecheck: Desligado (Falso)
auto_clear_cache_age: Ligado (Verdadeiro)
Server Information:
Server Software: Apache/2.4.37 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4
Server Api: cgi-fcgi
Server Os: Linux 2.6.32-696.18.7.el6.x86_64 Ligado x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.58
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Permission Information:
tmp: public_html/tmp (0755)
tmp_cache: public_html/tmp/cache (0755)
templates_c: public_html/tmp/templates_c (0755)
modules: public_html/modules (0755)
uploads: public_html/uploads (0755)
Mascára de Criação de Arquivo (desmascarar): public_html/tmp/cache (0755)
config_file: 0444
----------------------------------------------
In the field "value_map" when i put a value like:
value1 | email1@email.com
value2 | email2@email.com
value3 | email3@email.com
He started converting the line breaks to:
value1 | email1@email.com value2 | email2@email.com value3 | email3@email.com
And this gives error in sending the form: "No valid email addresses to send to for DropDownEmailDispostion on"
This is a Bug, or i lost something?
Other bug is on the file "action.admin_edit_form.php" at de line 246, how we see this "de" forgetted there
"$form_guid = $this->store_form( $form );de"
Thanks for help. )
Below, my system configurations:
----------------------------------------------
Cms Version: 2.2.9.1
Installed Modules:
AdminSearch: 1.0.4
CGBetterForms: 1.9.1
CGCalendar: 2.1.4.2
CGExtensions: 1.61.5
CGSimpleSmarty: 2.2.1
CGSmartImage: 1.22.5
CMSContentManager: 1.1.7
Circulares: 1.13.5
CmsJobManager: 0.1.3
DesignManager: 1.1.5
ECB2: 1.5.2
FTBanners: 1.1
FTEquipe: 1.1
FTHorarios: 1.1
FTNoticias: 1.14.4
FTTarefas: 2.1.4.2
FTVideo: 1.1
FileManager: 1.6.8
FilePicker: 1.0.3
Gallery: 2.3.2
JQueryTools: 1.4.0.4
LinkMgr: 2.2.1
MaterialEscolar: 1.1
MenuManager: 1.50.3
MicroTiny: 2.2.4
ModuleManager: 2.1.5
Navigator: 1.0.9
News: 2.51.4
Search: 1.51.6
Config Information:
php_memory_limit:
max_upload_size: 64000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale: pt_PT.UTF8
set_names: true
timezone: America/Sao_Paulo
permissive_smarty: false
Php Information:
phpversion: 5.6.39
md5_function: Ligado (Verdadeiro)
json_function: Ligado (Verdadeiro)
gd_version: 2
tempnam_function: Ligado (Verdadeiro)
magic_quotes_runtime: Desligado (Falso)
E_ALL: 8183
E_STRICT: 2048
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 256M
max_execution_time: 60
register_globals: Desligado (Falso)
output_buffering: 1
disable_functions:
open_basedir:
test_remote_url: Sucesso
file_uploads: Ligado (Verdadeiro)
post_max_size: 10M
upload_max_filesize: 64M
session_save_path: /tmp (1777)
session_use_cookies: Ligado (Verdadeiro)
xml_function: Ligado (Verdadeiro)
xmlreader_class: Ligado (Verdadeiro)
check_ini_set: Ligado (Verdadeiro)
curl: Ligado
Performance Information:
allow_browser_cache: Ligado (Verdadeiro)
browser_cache_expiry: 60
php_opcache: Desligado (Falso)
smarty_cache: Desligado (Falso)
smarty_compilecheck: Desligado (Falso)
auto_clear_cache_age: Ligado (Verdadeiro)
Server Information:
Server Software: Apache/2.4.37 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4
Server Api: cgi-fcgi
Server Os: Linux 2.6.32-696.18.7.el6.x86_64 Ligado x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.58
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Permission Information:
tmp: public_html/tmp (0755)
tmp_cache: public_html/tmp/cache (0755)
templates_c: public_html/tmp/templates_c (0755)
modules: public_html/modules (0755)
uploads: public_html/uploads (0755)
Mascára de Criação de Arquivo (desmascarar): public_html/tmp/cache (0755)
config_file: 0444
----------------------------------------------