Sackgesicht VIP
Total posts: 1,636
25 Нояб 2021 04:59

while using the file upload and leaving the record without saving, it removes all former uploaded documents of the listing. Error message is "Array to string conversion in .../administrator/components/com_cobalt/tables/files.php on line 38

Последние изменения: 02 Нояб 2022


Sackgesicht VIP
Total posts: 1,636
16 Дек 2021 08:24

Is there a fix for this problem?

The consequence of this error is that uploaded files are not displayed and can not be accessed through Cobalt anymore ...


Sackgesicht VIP
Total posts: 1,636
05 Янв 2022 03:59

Any comment on this error?


Sackgesicht VIP
Total posts: 1,636
03 Фев 2022 05:08

Another month passed by ... any comment regarding this problem?


KEZEO
Total posts: 12
15 Фев 2022 06:54

Mmmm I think this project is dead now


Sackgesicht VIP
Total posts: 1,636
22 Фев 2022 08:19

... reported 3 months ago


Sergey
Total posts: 13,748
11 Март 2022 05:12

In the development branch I have this in line 38

$in = "'".implode("', '", $ids)."'";

There is not array to string conversion. What is in your file in line 38?


Sackgesicht VIP
Total posts: 1,636
15 Март 2022 08:51

Same line ...

When a user accidentially deleted a file, but didn't press "save" and "close". He pressed "Cancel" and then the record was not properly updated and did not show the other uploaded files anymore. The files are still there, just the column "fields" of #__js_res_record needs to be rebuild.

But an ordinary user will think that he lost all uploaded documents of this particular upload-field.

btw, welcome back .. ;-)

Работает на Cobalt