PHP version 8.3.25, Evolution CE 1.4.35. I can't get a basic FormLister form with no captcha to work on this server.
When I browse to the page containing the form, the form is rendered normally. But when I enter text and click the submit button, I just get the blank page back, as though I had re-loaded it in the browser. I don't see the code in the successTpl or any errors.
In the event log in the manager I see the "Lexicon loaded", "Render output", and "Output" information, but that's it. When I am using the captcha class, I am sure that the validate() method is never called, because I added logging calls to file_put_contents() into a log file and that log file is never created.
How can I see what is going wrong and get a simple contact form working?
Here's the chunk... do you see any errors?
The contact form is below.
[!FormLister?
&formid=`ContactFormNoCaptcha`
&to=`myemail@gmail.com`
&parseMailerParams=`1`
&subject=`EVO CMS website message`
&replyTo=`[+email+]`
&config=`default:core`
&isHtml=`1`
&protectSubmit=`0`
&allowedFields=`name,email,topic,message`
&messagesTpl=`@CODE:<div class="error"><ul>[+errors+]</ul></div>`
&messagesOuterTpl=`@CODE:<li>[+messages+]</li>`
&messagesRequiredOuterTpl=`@CODE:<li>[+messages+]</li>`
&messagesErrorOuterTpl=`@CODE:<li>[+messages+]</li>`
&messagesSplitter=`</li><li>`
&messagesRequiredSplitter=`</li><li>`
&messagesErrorSplitter=`</li><li>`
&errorClass=`error`
&requiredClass=`required`
&successTpl=`@CODE:<div>Thank you for your message.</div>`
&formTpl=`@CODE:[+form.messages+]
<form method="post" action="[~[*id*]~]" id="EmailForm">
<fieldset>
<input name="formid" type="hidden" value="ContactForm" />
<!-- Name -->
<div>
<label for="name">Name:</label>
<input name="name" id="name" class="text" type="text" placeholder="Your name" value="[+name.value+]" />
</div>
<!-- Email -->
<div>
<label for="email">Email:</label>
<input name="email" id="email" class="text" type="email" placeholder="Your email address" value="[+email.value+]" />
</div>
<!-- Message -->
<div>
<label for="message">Message: </label>
<textarea name="message" id="message" rows="7" cols="30" placeholder="Type your message here">[+message.value+]</textarea>
</div>
<div>
<label for="submit"> </label>
<button type="submit">Submit</button>
</div>
</fieldset>
</form>`
&reportTpl=`ContactFormReport`
!]