duanguane1670 2015-05-01 15:26
浏览 10

死屏代码的白屏错误报告ON

There are several of these post on stack overflow but none of them have helped me yet. I am running a CodeIgniter install and I am getting a white screen of death on every function I try and run and it errors out with a white screen of death. So just so everyone knows errors are on. I have php.ini set to E_ALL, and DISPLAY_ERRORS = TRUE and I also have

error_reporting(E_ALL);
ini_set('display_errors',TRUE);

Pasted in the index.php and the controller itself as I have read in several SO posts. Here is the issue, I have a controller called video and a function called test that var dumps and echos a bunch of stuff. So my url is Mydomain.com/index.php/video/test and I just get a white screen. I assume the routes are working because if I change it to Mydomain.com/index.php/somethingelse/somethingelse it breaks and gives me a 404. Does anyone know how I can get around this white screen of death? No errors are being shown anywhere, none of my echos are being output and none of my var dumps and its driving me insane!

Edit to show video controller

<?php
class Video extends MY_Controller{
    public function test(){
        echo "do something";
        var_dump("anything");    
    }
}
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
    • ¥20 怎么用dlib库的算法识别小麦病虫害
    • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
    • ¥15 java写代码遇到问题,求帮助
    • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
    • ¥15 有了解d3和topogram.js库的吗?有偿请教
    • ¥100 任意维数的K均值聚类
    • ¥15 stamps做sbas-insar,时序沉降图怎么画
    • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
    • ¥15 关于#Java#的问题,如何解决?