Timeout in system/core/Input.php |
I am running CI3, upgraded from CI2 a while ago. I was checking my error logs recently and noticed the following:
Code: ERROR - 2016-06-28 21:55:10 --> Severity: Error --> Maximum execution time of 30 seconds exceeded /home/project/public_html/system/core/Input.php 524 My whole error log is filled with these messages. It looks like the line it is timing out on is within the ip_address() function. My site is running behind cloudflare and put an array of cloudflare's proxy ips in the config proxy_ip list. Code: // Source List of IPS: I have done a log of searching and haven't turned anything up. Any advice on how to fix this? Thanks!
Raise the execution time in php.ini
max_execution_time=40 etc; What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Edit: This turns out to be a bug in CI core. https://github.com/bcit-ci/CodeIgniter/issues/4679
It could be a number of things, did you try profiling the app?
Could be an endless loop or a missing tag some place. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Sorry, I should have just posted a new reply instead of editing my post above. I didn't see your reply yet when I edited it.
Anyway, I submitted an issue on github. https://github.com/bcit-ci/CodeIgniter/issues/4679 |
Welcome Guest, Not a member yet? Register Sign In |