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.
Code:
$TEMPLATEDIR = "./fmtemplates";
In a working version of fmbadhandler.php 1.12 I have the following setting.
Code:
$TEMPLATEURL = "http://mywebsite.com/members/forms/fmtemplates";
This works great no problems.
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
Code:
The following error occurred in FormMail :
missing_fields
Error=The form required some values that you did not seem to provide.
CAPTCHA image identification
Your email address
Your name
contact: 'Y'
mesg: ''
date: '08-Jul-2006'
time: '12:05 PM'
day: 'Saturday'
timezone: 'EDT
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?
Any ideas?
Bookmarks