Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

150 "Foreign key constraint is incorrectly formed"

Đang mở
#91 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
28/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
mysql, php
Lĩnh vực
databases

Hướng nghiên cứu

This is a user support report: installing or reinstalling the plugin fails with MySQL errno 150 when creating werkl_blog_category, so start from the migration that creates that table and compare its foreign-key column definition with the referenced blog table (type, length, charset must match). Reproduce against Shopware 6.7.9.0 with the affected OpenBlogware version to confirm whether the schema drifted between 5.0.1 and 5.2.1. Done means the migration creates the table without errno 150 and the plugin installs cleanly; note the report gives no version of the failing migration, so ask the reporter first.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Ich hatte das Plugin Version 5.0.1 installiert. Nachdem ich aber Probleme mit dem Erstellen von Blogbeiträgen hatte, hatte ich die Version auf 5.2.1 aktualisiert. Doch dann stellt ich fest. das meine Plugins nicht mehr zu sehen waren. Dann habe ich es deinstalliert und wollte danna uf die darunterliegende Version wieder installieren, aber ich erhalte die Fehlermeldung "Internal Server Error An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1005 Can't create table K10804_shopname.werkl_blog_category (errno: 150 "Foreign key constraint is incorrectly formed"). Egal was ich nun mache, die Meldung bleibt bestehen. Ich setze Shopware 6.7.9.0 ein. Wie kann ich das Problem beheben bzw beseitigen.

Ngôn ngữ chính
PHP
Star
43
Fork
21
Merge trung bình
12 ngày 20 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Werkstattl/OpenBlogware

Tất cả issue của Werkstattl/OpenBlogware

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.