+ Reply to Thread
Results 1 to 4 of 4

Thread: fmbadhandler_115.php Upgrade

  1. #1
    Join Date
    Jun 2006
    Posts
    214

    Default fmbadhandler_115.php Upgrade

    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?

  2. #2
    Join Date
    Dec 2003
    Posts
    3,901

    Default Re: fmbadhandler_115.php Upgrade

    Hi,

    I don't think there are any problems in upgrading.

    So, what you should do is go back to the working version. Then change one thing and one thing only: either upgrade formmail.php or fmbadhandler.php.

    If upgrading fmbadhandler.php, you need to be very careful that you copy the configuration across precisely.

    If that still doesn't work, you'll need a Support Subscription to get me to look into in detail. If it turns out to be a bug in our code (possible, but not likely), we'll refund your subscription.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Jun 2006
    Posts
    214

    Default Re: fmbadhandler_115.php Upgrade

    Quote Originally Posted by russellr
    Hi,

    So, what you should do is go back to the working version. Then change one thing and one thing only: either upgrade formmail.php or fmbadhandler.php.

    If upgrading fmbadhandler.php, you need to be very careful that you copy the configuration across precisely.
    Thank you Russell, I did just that. I have a working version of formmail.php 7.09 and a working version of fmbadhandler.php 1.12 everything works fine. When I try to change fmbadhandler.php to 1.15 I have the problem.

    I have checked the two versions with WinDif to make sure I missed nothing. Other then the obvious comment and version number differences the $TEMPLATEURL and $TEMPLATEDIR are different with no content in the new version. I put exactly the same content in the new version and get the error. I go back to the old version and the problem is gone.

    The template settings in formmail is the DIR the one in fmbadhandler is URL and these work fine on the working versions. If I put the same settings in then 1.12 fmbadhandler in either the DIR or URL it fails. I even did a cut and paste to make sure I was not making a typo. I suspect a bug since it does work on the older version.

    I will find the Support Subscription and send it in. Thanks again.

  4. #4
    Join Date
    Jun 2006
    Posts
    214

    Default Re: fmbadhandler_115.php Upgrade

    UPDATE:

    While setting up for the support subscription with Russell I decided to give it all one more try again. I upgraded to formmail 7.10 and that as usuall in the formmail upgrades using the wizard went fine. Everything worked great with the formbadhandler 1.12. I went back to testing with 1.15 using the same settings I used previously. It worked fine.

    I switched back to formmail 7.09 and everything worked fine again. I went back to 7.10 no problems. I switched over from http to https and again everything worked fine.

    Obviously some where along the way I had messed up. This time I can not even find out where my error was. Maybe the best solution, at times, is to take a few hours off and let the mind clear.

    Thanks again Russell for your help and for FormMail.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Question about v 8.02 upgrade
    By tomdkat in forum Features Questions
    Replies: 2
    Last Post: 05-Aug-2007, 07:44 AM
  2. How to stop upgrade notification email
    By rescobar in forum Community Support
    Replies: 1
    Last Post: 12-May-2006, 03:02 PM
  3. How to Upgrade GeoIP
    By JohnB in forum FormMail Subscription Support
    Replies: 1
    Last Post: 27-Mar-2005, 12:46 PM
  4. Upgrade
    By GiuseppePonticelli in forum FormMail Subscription Support
    Replies: 16
    Last Post: 28-Feb-2005, 09:58 AM
  5. Upgrade failed
    By ptr in forum FormMail Subscription Support
    Replies: 1
    Last Post: 21-Jan-2005, 11:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts