dswfyq6201 2016-12-29 16:56
浏览 222
已采纳

如何解决Occassional 500 Internal Server Error

Forgive me, but I don't know how to troubleshoot this issue.

I built a CMS using PHP/mySQL/jQuery. I designed and tested it on my local machine for a year. I've tested it a ridiculous amount of times, and I never had this happen...

I moved the site to my live server.

The site requires a user login. It's a very big program and has many dependencies that load (jQuery plugins for instance).

Sometimes on a mobile device (iPad, my phone) I get a 500 Server Error and the index/login page does not load at all. I must clear the cache in my Chrome browser to get it to load.

The site will work fine on my mobile device and then sometimes I get the 500 error again! So I have to clear the cache again.

I was getting this issue on occasion with my laptop using Chrome, but that seems to have gone away: I don't get that error. Seems like it's mostly on the mobile devices. Another user though has to clear his cache on his desktop though randomly.

How do I go about troubleshooting this? I really appreciate some feedback. I know I can resolve this.

  • 写回答

1条回答 默认 最新

  • douchengjue9892 2017-01-07 14:26
    关注

    I figured this out with your suggestions.

    I checked the server's error log, and it seems that I had an error with a cookie that wasn't being stored properly!

    So, both of you were correct.

    Thanks for taking the time.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器