Fatal error

Hello, I do not understand this error:

Fatal error: 1064 - You have an error in your SQL syntax; check the manual
that corresponds to your MariaDB server version for the right syntax to
use near 'full renaud 1975-1995.pdf', priority = '1' where ' At line 2 update lam52tu_lite185.lc9d_products_files set filename =
'The renaud integral 1975-1995.pdf', priority = '1' where product_id =
'63' and id = '30' Includes / library / lib_database.inc.php on line 308

The image thumbnail does not want to appear?

Who can explain this to me?

Thank you

tim

No idea, the query looks okay to me. Integrers are being passed as strings but should not produce a fatal error.

I agree with you. I do not know anything about coding but the error is very minimal. Everything works except I have a thumbnail image.

Here is what in my mailbox tells me: Error Report

[26-Nov-2016 08:45:59 Europe / Paris] Warning: Can not modify header information -
headers already sent by (output started at
/home/lam52tu/public_html/dossier/admin123/index.php:127) /includes/app_footer.inc.php on line 26
[26-Nov-2016 18:17:17 Europe / Paris] Gecko / 20100101 Firefox / 50.0] Warning: Blocked a potential form hacking attempt Requesting / folder / admin123 /? Category_id = 0 & app = catalog & doc = edit_product.

Yet blocked IP is my IP address !!

Thanks anyway.

tim

Your blacklist is in data/blacklist.txt. Your form data probably included a script tag and triggered the security block.
Turn off your blacklist and security in Admin -> Settings -> Security.

View code on GitHub