2.3.5 Contact Form Error Info (Bugs)

by Micha ⌂, Monday, February 22, 2016, 22:51 (1498 days ago) @ Magma


I'm using 2.3.5 and if you click submit on the contact form without putting in a subject or message you get an error

The contact form was not edited in the RC 2.3.5?! But I can reproduce your error on my own installation but I cannot fix it so far. There is a multiple use of the key-word e.g. error_no_text. This key-word can be found in [general] as well as in [contact] section of the lang-files. The values for both keys are loaded by smarty, Thus, there are two entries instead of one for the same key, which results in the "Array" output:

$smarty.config.$error[0] --> No "message" tex't has been entered
$smarty.config.$error[1] --> No message enetered

(By the way: There a two spelling error)

Restrict this line

{config_load file=$language_file section="contact"}

the loaded section, Alex? What's happens with prior loaded sections? Maybe $config_overwrite is not true?!?


applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Complete thread:

 RSS Feed of thread

powered by my little forum