CGBetterForms 1.9.1: No valid email addresses to send to for

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
Regis
New Member
New Member
Posts: 4
Joined: Mon Nov 24, 2014 3:05 pm

CGBetterForms 1.9.1: No valid email addresses to send to for

Post by Regis »

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. :o)

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
----------------------------------------------
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1625
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: CGBetterForms 1.9.1: No valid email addresses to send to

Post by DIGI3 »

I wasn't able to recreate your first issue, perhaps it's browser-specific or something unique to your server?

The second issue already has an open bug report: http://dev.cmsmadesimple.org/bug/view/11965
Not getting the answer you need? CMSMS support options
Regis
New Member
New Member
Posts: 4
Joined: Mon Nov 24, 2014 3:05 pm

Re: CGBetterForms 1.9.1: No valid email addresses to send to

Post by Regis »

DIGI3 wrote:I wasn't able to recreate your first issue, perhaps it's browser-specific or something unique to your server?

The second issue already has an open bug report: http://dev.cmsmadesimple.org/bug/view/11965

Hi DIGI3, thanks for your answer.

To recreate the first issue, add a Handler "Send output via email depending on a dropdown/multi-option field" (my field type is a checkbox) and put some values|emails on the field (Map field values to Email addresses:) (one per line), after save handler, and after edit him, the break lines are was replaced by 
 characters puting all emails in same line but the correct map is (one value per line), this return the message "wrong mail address" when i try send the form. Sounds like a PHP or Smart conversion of line breaks and not a brownser incompatibility, i think.

My server and browser are the same and they don't showed this error before upgrade.

The second issue was my lack of attention. Sorry.
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1625
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: CGBetterForms 1.9.1: No valid email addresses to send to

Post by DIGI3 »

I can't make the first issue happen is what I meant. It works fine on my test sites.
Not getting the answer you need? CMSMS support options
Locked

Return to “Modules/Add-Ons”