modufolio / Koken-App

38 stars 6 forks source link

[PHP8.0] Error when uploading photos #8

Closed modufolio closed 2 years ago

modufolio commented 2 years ago

Error when uploading image (or via URL). But the image uploads anyway, have to reload the page in the backend to see it there though. Or delete image cache.

ISeeTWizard commented 2 years ago

The same is with PHP 8.1 If you need that I test something simply let me know

modufolio commented 2 years ago

STRICT_TRANS_TABLES was responsible for setting MySQL strict mode and these errors

execute the following if koken is the only database in your mysql server

set global sql_mode='';

p4tpr0 commented 2 years ago

Hello, On my Koken server, the problem persists with current code. Unfortunately I can't set sql_mode to "" on this shared server. Any idea?