forn Posted July 13, 2016 Report Share Posted July 13, 2016 Ребята, помогите плиз, куда копать. При upload нового изображения в галерею вылезает ошибка POST http://xxxxx/index.php?/gallery/submit/&_step=upload_images 500 (Internal Server Error) send @ root_library.js.71bcaf5….js?v=123ed9aacb:formatted:5264 ajax @ root_library.js.71bcaf5….js?v=123ed9aacb:formatted:5045 _changeContents @ VM2414:15 submitForm @ VM2414:14 dispatch @ root_library.js.71bcaf5….js?v=123ed9aacb:formatted:3169 n.event.add.r.handle @ root_library.js.71bcaf5….js?v=123ed9aacb:formatted:3048 Хотя на самом сервере ничего нет в логах ;( версия 4.1.13.2 Quote Link to comment Share on other sites More sharing options...
forn Posted July 13, 2016 Author Report Share Posted July 13, 2016 Падает на: root_library.js.71bcaf5….js?v=123ed9aacb:2 При переходе с шага 2 на 3. При этом картинки кладутся в директорию на сервере Quote Link to comment Share on other sites More sharing options...
forn Posted July 13, 2016 Author Report Share Posted July 13, 2016 В логах, нашел: INSERT INTO `ibf_gallery_images_uploads` ( `upload_session`, `upload_member_id`, `upload_location`, `upload_file_name`, `upload_date` ) VALUES ( 'b15280c2d310cddbe6105a397d0541a9', 263, 'monthly_2016_07/ScreenShot_2016-07-06_01.14.18.jpg.ba973320b5e7f2464d3faa4f82d0875f.jpg', 'ScreenShot_2016-07-06_01.14.18.jpg', 1468405994 ) IPS\Db\Exception: Field 'upload_key' doesn't have a default value (1364) Похоже этот upload_key не передается ;( Может кто скинуть ddl для таблицы: gallery_images_uploads видать там при обновление какие-то ошибки проихошли ;( и структура не правильной стала Quote Link to comment Share on other sites More sharing options...
forn Posted July 13, 2016 Author Report Share Posted July 13, 2016 просто грохнул это поле и все заработало Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.