Debug info: Duplicate entry 'da314b348a88aa37dbf2f5e1e28cb7e5c97f5bec' for key 'XXX_file_pat_uix'
INSERT INTO lan_lal_files (contenthash,pathnamehash,contextid,component,filearea,itemid,filepath,filename,userid,filesize,mimetype,status,source,author,license,timecreated,timemodified,sortorder,referencefileid) VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
[array (
0 => '84d9c98167e8c9940624765c8a25180a02d2ed64',
1 => 'da314b348a88aa37dbf2f5e1e28cb7e5c97f5bec',
2 => 288,
3 => 'user',
4 => 'draft',
5 => 1542764,
6 => '/',
7 => 'XXX.jpg',
8 => '162',
9 => '101921',
10 => 'image/jpeg',
11 => '0',
12 => 'XXXX.jpg',
13 => 'XXXX',
14 => 'allrightsreserved',
15 => '1440715551',
16 => '1440715612',
17 => '0',
18 => NULL,
)]
Error code: storedfilenotcreated
Stack trace:
- line 1050 of /lib/filestorage/file_storage.php: stored_file_creation_exception thrown
- line 407 of /lib/filelib.php: call to file_storage->create_file_from_storedfile()
- line 193 of /lib/filelib.php: call to file_prepare_draft_area()
- line 114 of /course/edit.php: call to file_prepare_standard_editor()
84 > d9and the file exists.However, when I tried searching for
file_pat_uixI came up empty handed. I tried editing the records directly in the DB but none of that would fix the issue.
Any suggestions???
THANKS!!