Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

150 "Foreign key constraint is incorrectly formed"

オープン
#91 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
28/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
mysql, php
領域
databases

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
PHP
スター
43
フォーク
21
平均マージ
12日 20時間
マージ済み PR(30日)
1

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Werkstattl/OpenBlogware のほかの issue

Werkstattl/OpenBlogware の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。