While trying to upgrade from version fmbadhandler.php 1.12 to 1.15 I ran into a problem with the $TEMPLATEDIR / $TEMPLATEURL.
In working version 7.09 formmail.php I have the following setting.
In a working version of fmbadhandler.php 1.12 I have the following setting.
$TEMPLATEDIR = "./fmtemplates";
This works great no problems.
$TEMPLATEURL = "http://mywebsite.com/members/forms/fmtemplates";
In fmbadhandler.php version 1.15 if I put either of these same settings in the $TEMPLATEDIR or $TEMPLATEURL I get a message on the browser, after entering submit, that the TEMPLATEDIR and TEMPLATEURL have not been set.
The test error is to submit with no fields entered.
The error emails says
The directory for templates is the same the templates are the same and everything works fine until I try to upgrade to the v 1.15. This does not make any sense to me. How can the same settings work in one version and not in the other?
The following error occurred in FormMail :
Error=The form required some values that you did not seem to provide.
CAPTCHA image identification
Your email address
time: '12:05 PM'