I have heard that ci ranks top in the global php framework, and I plan to learn it first and second. However, when I learned it, I found that I only need to write a little wrong code and refresh the project, the browser will be infinitely circled, and it is very depressing. it is not difficult to report an error because it is a matter of reason. In the end, this situation... I have heard that ci ranks top in the global php framework, and I plan to learn it first and second. However, when I learned it, I found that I only need to write a little wrong code and refresh the project, the browser will be infinitely circled, and it is very depressing. it is not difficult to report an error as a matter of reason. In the end, if this happens more often, the browser will not be able to continue using it.
Today, I got a copy of other people's code. I wrote it using ci, and the result was an infinite circle. after turning it for half an hour, I still don't report an error. Is there a problem with my ci installation? Does ci have special installation skills?
Solved the problem. I used php5.5 and now upgraded it to 5.6.php.iniOfdate.timezone = PRC That's All. I don't know if it's just a php configuration problem. now I can see an error. after resolving the error, I can successfully run another project.
Reply content:
I have heard that ci ranks top in the global php framework, and I plan to learn it first and second. However, when I learned it, I found that I only need to write a little wrong code and refresh the project, the browser will be infinitely circled, and it is very depressing. it is not difficult to report an error as a matter of reason. In the end, if this happens more often, the browser will not be able to continue using it.
Today, I got a copy of other people's code. I wrote it using ci, and the result was an infinite circle. after turning it for half an hour, I still don't report an error. Is there a problem with my ci installation? Does ci have special installation skills?
Solved the problem. I used php5.5 and now upgraded it to 5.6.php.iniOfdate.timezone = PRC That's All. I don't know if it's just a php configuration problem. now I can see an error. after resolving the error, I can successfully run another project.
It has nothing to do with the framework. it should be your program logic problem. an error is reported when the page is forcibly enabled to see what the situation is, either an endless loop or the resources cannot be loaded.
Force error code:
error_reporting(E_ALL);ini_set('display_errors','On');
I guess you must have just used it, but I have never used CI. actually, you can look at Laravel or something and try tp5.
Error notification enabled
It may not be due to the CI issue. if you take other people's projects, it is possible that other people's projects have loaded their own domain resources. if you build a local environment and run it, it will become cross-domain, in general, the possibility of front-end errors is relatively high.
This problem occurs. for developers, you should know how to test the problem:
Change the error level (not to mention, there is a CI framework, index. php fileENVIRONMENTTo modify this change)
Google browser debuggingF12Open the debugging window,networkTracking response
For example, the method 1 of a controller is loaded by default, Method 1 has a redirect to Method 2, and then redirect returns method 1, which is an endless loop.