I just updated my site to v.2.9.2 (from 2.7.1 I believe) and now I can’t upload files to the File Manager. I also (of course) can’t upload using the File fieldtype, either in the control panel publish form or using Channel Forms on the front end. I’m getting this error:
Error Number: 1062
Duplicate entry '1' for key 'site_id'
INSERT INTO `exp_files` (`upload_location_id`, `site_id`, `file_name`, `mime_type`, `rel_path`, `modified_by_member_id`, `uploaded_by_member_id`, `file_size`, `file_hw_original`, `modified_date`, `title`, `upload_date`) VALUES ('1', '1', 'test-image-217.jpg', 'image/jpeg', '/home/myaccount/public_html/recipes/test-image-217.jpg', 3943, 3943, 58839.04, '250 250', 1423348824, 'test-image-217.jpg', 1423348824)
Filename: models/file_model.php
Line Number: 233
Any help?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.