Open vkamelin opened 3 years ago
It looked like I had this problem earlier today, and but it turned out to be file permission problems for me. Hopefully you figured something out, but for anyone else having a problem like this and who find their way here, check if you are getting a 404 error in the dev tools of your web browser (which is what I had). If so, make sure the user/group permissions allow the server to write to the runtime/debug
directory. I set the runtime/
directory to 777, made it such that it is owned by the http
:http
user/group, and deleted everything in it, allowing the server to recreate the directory structure it needed, and allowing the server to access said directories. I'm pretty sure I could get away with just user
:http
and 664, but as I'm not worried about security with this like I would for a production server, it works so why change it.
What steps will reproduce the problem?
config:
What's expected?
Panel works
What do you get instead?
$debug->allowedIPs returns:
Panel doesn't works
Additional info
If manualy change allowedIPs in yii\debug\Module.php, it returns ['*'] and panel works