Who can help me solve this problem?
Yii
Yii 2017-10-28 10:52:01
0
3
1330

Apache HTTP Server.jpg

Yii
Yii

埋头苦干,多行动,不犹豫。

reply all(3)
屠名科

Your foreach loops an empty array, and then takes the key name. Of course, an error will be reported. Don’t give you an empty array

按键盘手指磨破皮

I have also encountered similar problems, but as a novice, it is difficult to find the cause. The easiest way is to reinstall Apache.

  • reply is in the program $_data=array(); foreach($data as $k=>$v){ $_data=>$k; } I wrote the code in foreach() wrong.
    Yii author 2017-10-29 12:33:14
Day

Look at the log error log file in Apache. There are many reasons for crashes. Most of them are caused by your own code problems. In that case, you should optimize your code as much as possible. This will also happen if the website is attacked by hackers. For such problems, it is recommended to check Apache's error logs yourself and learn to analyze them yourself. If you really can't solve it, you can only restart Apache.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template