Fehlermeldung nach update qf3

  • Hallo,
    nach dem Update bekomme ich öfter per Mail eine Fehlermeldung zugesendet.

    Kann mir jemand helfen?

    256 - (1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '! = 1
    AND' at line 18

    SELECT DISTINCT
    p.*,
    pd.*
    FROM
    products p
    INNER JOIN
    products_description pd ON(p.products_id = pd.products_id AND pd.language_id = '2')
    INNER JOIN
    products_to_categories p2c ON(p.products_id = p2c.products_id)
    INNER JOIN
    categories c ON(c.categories_id = p2c.categories_id AND c.categories_status = 1)

    WHERE
    p.products_status = '1'
    AND
    (p.products_slave_in_list = '1' OR p.products_master = '1' OR ((p.products_slave_in_list = '0' OR p.products_slave_in_list = '') AND (p.products_master_article = '' OR p.products_master_article = '0')))

    AND p.products_fsk18! = 1
    AND p.products_date_added > '2014.04.24'
    GROUP BY p.products_id ORDER BY p.products_date_added DESC

    Request URL: http://www.petras-dessousstuebchen.de/products_new.php

    [CSEO SQL Error]


    vielen Dank

  • Hi Ritschi, der Fehler liegt hier in dieser Zeile :

    AND p.products_fsk18! = 1

    Da ist das Leerzeichen an der falschen Stelle, es müsste lauten
    AND p.products_fsk18 != 1

    hab die betroffene Version derzeit nicht vorliegen, aber ich würd direkt in der /products_new.php nach diesem hier suchen:

    $fsk_lock = ' AND p.products_fsk18 !=1';

    und eben überprüfen was dort an der Stelle bei dir steht

    Beste Grüße!

    Mario