502 Bad Gateway with Drop Down box
My code works fine until I try to add a drop down box. Before adding said box, I can load up the page. Once I add said box, I get a 502 error. I have checked and rechecked my syntax and copy and pasted another syntax just to make sure I didn't forget something dumb and every time... 502 .What am I doing wrong?
The CLI is configured properly.
请先登录再写评论。
Hi there,
If you are using PhpStorm's built-in simple web server (URL would be like localhost:63342/PROJECT_NAME/file.php) then switch to proper web server instead (Apache/IIS/nginx/etc -- there are plenty all-in-one packages for Windows and other OS (WAMP/XAMPP/MAMP etc)).
PhpStorm's built-in web server can do this 502 responses, especially on POST requests. See https://youtrack.jetbrains.com/issue/WEB-31859