Home  >  Article  >  Backend Development  >  关于php语言,ci框架编写网站的有关问题

关于php语言,ci框架编写网站的有关问题

WBOY
WBOYOriginal
2016-06-13 13:52:58894browse

求助 关于php语言,ci框架编写网站的问题
程序写好了以后,本地svn上运行一切正常,把代码放到服务器上以后,有些模块的页面点不开了,火狐firebug不报错,一片空白啊。。。。。急求高手解答。。。。谢谢

------解决方案--------------------
short open tag 开启了没? 打不开页面的应该是环境出问题了.打开错误 display_error=on 看看 有什么错误.
------解决方案--------------------
打开错误提示调试标签。一步步跟踪调试
------解决方案--------------------
看看模板php函数有错没,如果上面的方法都没错的话就有肯能是svn冲突在文件中生成了一些类似于>>>2011......这些的,倒是解析不出来,我以前就遇到过
------解决方案--------------------
哦,写错,应该是php文件。。。
------解决方案--------------------
在php.ini中更改的需要重启apache.

错误提示可能在代码中也有设置
看代码中是否有
ini_set('dislay_errors',0);
改为1.
没有错误提示,谁也不知道是什么原因。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn