+ Reply to Thread
Results 1 to 6 of 6

Thread: Escort-Templates: Fatal Bug in Yes/No-Fields (bool)

  1. #1

    Escort-Templates: Fatal Bug in Yes/No-Fields (bool)

    Hi Flynaxers,

    I'd found a fatal bug in the templates of the Escort-Version (4.1):

    I you create a Yes/No-Field than it won't be stored in the database!!!!

    Class rlFields.class.php (subdir admin) around line 245:
    PHP Code:
    Only registered members can view the code
    You define here the database field as an ENUM. How ever that's o.k.

    In the templates (for example the reg_account.tpl around line 222) this code:
    Code:
    Only registered members can view the code.
    You can see that in the template-code are the words "on" and "off" defined.
    Replace "on" ==> "1" and "off" ==> "0"

    It should be looks like:
    Code:
    Only registered members can view the code.
    This must be changed in ALL template files related with bool fields.

    The same bug is also in the new "Escort Sun Cocktail"-templates!!

    Please update the templates ASAP. Changing the core-code (classes etc.) will end in more work like database update etc.

    Regards
    J. Mainka
    Last edited by Juergen Mainka; May 26, 2013 at 01:41 AM. Reason: Corrected HTML-Code inserted.

  2. #2
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421
    Hi Juergen,

    I've looked at my script. I have the Flynax General Classified 4.1.
    I can find the same in my template. But is this really a bug?
    If so, then i think that it affects all flynax scripts and their templates.
    I think the basic structure will be the same for all flynax scripts.

    Best regards
    Steffen
    Last edited by Steffen Buschkemper; May 26, 2013 at 12:40 PM.

  3. #3
    Senior Member
    Join Date
    Nov 2012
    Posts
    126
    Thanks Juergen Mainka,

    I updated it.

  4. #4
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421
    Hi Oslo,

    this is a lot of work...

    This must be changed in ALL template files related with bool fields.
    Best regards
    Steffen

  5. #5
    Yes Steffen, it's a bug.

    The field can be created normally, all fine.

    But if a seller uses the fields, the values won't stored in the database. That is the Problem.

    For an Escort-Script a Yes/No-Field is beside the images and checkboxes the most important one...

    Regards

  6. #6
    Master
    Join Date
    Apr 2012
    Location
    Germany
    Posts
    421
    You're right.
    Especially with the pictures in escort-script...
    That would be fatal...

    Nice weekend
    Steffen

+ Reply to Thread