dongpan8439 2012-02-10 16:54
浏览 23
已采纳

在WAMP服务器PHP程序中看不到运行时E_ERROR错误?

Something in my PHP script is causing a fatal error, but I ca't seem to log or display it. My php.ini file has

error_reporting = E_ALL

and is logging to a file. I can see E_USER_ERROR errors I trigger in the log file and on my screen, but the E_ERROR in my program just gives me a white screen and no log output. What else do I need to do?

I'm running on WAMPServer 2.2, on a Windows 7 box

  • 写回答

2条回答 默认 最新

  • douzi2333 2012-02-10 19:30
    关注

    This was an impossible question to answer as asked, and I need to share why- the offending code that was causing this error was buried in a proprietary framework I'm working against, that had this line:

    @include_once( $file ) ;

    What's the @ symbol? I didn't know- now I do: It silences all errors. Stupid and evil and ruined my day.

    http://php.net/manual/en/language.operators.errorcontrol.php

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥50 如何增强飞上天的树莓派的热点信号强度,以使得笔记本可以在地面实现远程桌面连接
  • ¥15 MCNP里如何定义多个源?
  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn
  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 请问这个是什么意思?
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services