我每次使用时都会收到 502 bad gateway 错误
$this->session->set_flashdata('message', 'Profile updated.');
我在 nginx 上使用 CodeIgniter。该代码在 localloast(WAMP)上运行良好。如果我注释掉这些行,应用程序运行正常。
任何帮助将不胜感激。
最佳答案
在 application/config/config.php 中将“use_database”设置为 TRUE
关于php - 使用 session->set_flashdata 导致 502 Bad gateway 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16208093/