This is a comment on Cannot refer to uploaded files, posted by WikiAdmin at 04.05.2022 15:23

View source for Re: Cannot refer to uploaded files

The culprit: ##[0.0003 sec., -1 rows]## as expected
%%
INSERT INTO wacko_file SET page_id = 18, user_id = 3,file_name = 'image_28.png', file_lang = 'en', file_description = '', file_size = 146011,picture_w = 1600,picture_h = 1030,file_ext = 'png',mime_type = 'image/png',uploaded_dt = '2022-05-04 14:52:29',modified_dt = UTC_TIMESTAMP()
        [0.0003 sec., -1 rows]
%%

Put the query as is for example in phpMyAdmin and it will tell you what is missing or wrong. And please upgrade to 6.0.30.

This is the output of my test with WackoWiki 6.0.30:
%%
INSERT INTO test_file SET page_id = 2, user_id = 3,file_name = 'ap_system_settings_debug_en.png', file_lang = 'en', file_description = 'debug options', file_size = 40897,picture_w = 1807,picture_h = 727,file_ext = 'png',mime_type = 'image/png',uploaded_dt = '2022-05-04 15:07:10',modified_dt = UTC_TIMESTAMP()
[0.0018 sec., 1 rows]
%%