dqn48247 2013-02-11 13:53
浏览 19
已采纳

Zend:空白屏幕

For my work i have to edit a website which has been created with the Zend framework. When i deploy them on my test server and browse to the index.php all i get is a blank screen.

I have display_startup_errors and error_reporting turned on and no errors are shown..

Maybe it has something to do with the paths in some files of the website since it has been created by another company which has given me the files after they deployed the website on an actual server.

I really hope someone can help me out.. I have searched through the internet but never found a solution even though multiple people have had my problem.

Thanks in advance.

  • 写回答

3条回答 默认 最新

  • dqxmf02844 2013-02-12 01:13
    关注

    If you have set display_errors and error_reporting in a standard Zend way in the application.ini file and still a white screen then your problem starts before you even get to load the config file.

    Add these values temporarily to the beginning of your index.php file

    error_reporting(E_ALL ^ E_NOTICE);
    ini_set('display_errors', 1);
    

    This should tell you of any errors in the index.php file like path settings.

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

报告相同问题?

悬赏问题

  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大
  • ¥15 import arcpy出现importing _arcgisscripting 找不到相关程序