Web サイトで作業していると、突然読み込まれなくなりました。調査したところ、これが機能しなくなっていることがわかりました。
<?php include 'core/init.php'; ?>
しかし、私がこれに変更したとき:
<?php include '/core/init.php'; ?>
これらのインクルードは index.php の上部にあるため、ページは何もロードしません。リンクはどれも機能しなくなりましたが、問題なく機能しましたが、内部 500 エラーが発生しました。
さらに調査すると、サファリコンソールからこれらのエラーが発生しました:
[Error] Failed to load resource: the server responded with a status of 500 (Internal Server Error) (localhost, line 0)
[Error] TypeError: 'undefined' is not a function (evaluating 'this.hide()')
close (content_start_0.js, line 1)
私は過去 1 か月間、以下を使用して自分のサイトに取り組んできました。
<?php include 'core/init.php'; ?>
数分前まで問題はありませんでした。
何か案は?