CodeIgniter空白页 [英] CodeIgniter Blank Page

查看:138
本文介绍了CodeIgniter空白页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

n00b这里。搜索论坛后,我还没有遇到这个问题,因为我遇到它。

n00b here. After searching the forums I have not yet come across this problem as I am experiencing it.

我有一个CI网站,直到大约三天前才能正常工作。我的问题如下:

I have a CI site that was working correctly until about three days ago. My problem is as follows:

点击按钮 - 页面正确载入。

On button click - Page Loads correctly.

例如:当我登录时,在登录过程运行后,必须将我重新路由到仪表板,除非我还有一个临时密码首先转到更改密码屏幕,然后转到仪表板。

For example: When I login, after the login process has run it must reroute me to the Dashboard, unless I still have a temporary password where I get rerouted to the "Change Password" screen first and then to the Dashboard.

随着我使用按钮并点击他们的一切工作。

AS LONG AS I USE THE BUTTONS AND CLICK THEM EVERYTHING WORKS.

在ENTER PRESS,我得到死亡空白屏幕。
然而,在TAB到BUTTON然后ENTER它工作。

On ENTER PRESS, I get the Blank Screen of Death. However, on TAB to BUTTON and then ENTER it works.

问题不一致。我有一些没有附加视图的进程,并且其中的NONE将运行 - 按ENTER键并得到空白。他们都在ENTER PRESS上失败。

The problem is not consistent however. I have some processes that do not have views attached and NONE of them will run - hit ENTER and get blank. They are all failing on ENTER PRESS.

我慢慢地离开我的手推车。日志记录已打开,缓存和日志目录为775.正在显示在我的日志中...

I am slowly going off my trolley. Logging is ON, Directories for cache and logs are 775. NOTHING is showing in my logs...

推荐答案

 // change settings for error handler to show errors
        // $this setup is used for checking errors for development to be shown.... 
        ini_set('display_errors', 1);
        error_reporting(E_ALL);

如果你使用CI版本2更高
你可以在它的索引.php文件中显示错误的配置。

by the way if your using CI version 2 higher you can see it in its index.php file an configuration for displaying error also.

define('ENVIRONMENT', 'development'); //just set up environtment to development

这篇关于CodeIgniter空白页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆