用户
 找回密码
 入住 CI 中国社区
搜索
楼主: chengmo03013106
收起左侧

[已解决] PHP5.3对CI的支持问题

  [复制链接]
发表于 2011-1-19 16:26:18 | 显示全部楼层
本帖最后由 jeongee 于 2011-1-19 16:32 编辑

when i tried to access your controller data , i see this error:

Parse error: syntax error, unexpected T_NS_SEPARATOR in \system\application\controllers\data.php on line 70

wtf is this??

wtf is this??



please check your code carefully !!!!!!
 楼主| 发表于 2011-1-19 16:48:41 | 显示全部楼层
when i tried to access your controller data , i see this error:

Parse error: syntax error, unexpect ...
jeongee 发表于 2011-1-19 16:26


really?!
Oh! that's my mistake!
Thank you very much~ the problem is solved!
as you said, This kind of grammer is currect in PHP 5.2 or before, but PHP 5.3.
Thank you very much!
发表于 2011-1-19 17:07:45 | 显示全部楼层
回复 32# chengmo03013106


   not current ,it's correct!!!
咱不能用国语嘛!
 楼主| 发表于 2011-1-19 17:10:26 | 显示全部楼层
when i tried to access your controller data , i see this error:

Parse error: syntax error, unexpect ...
jeongee 发表于 2011-1-19 16:26



    顺便问一下,你用的什么工具或者浏览器,可以查出语法有问题?
我这边用firefox debugger,没有查出语法有问题
发表于 2011-1-19 17:12:22 | 显示全部楼层
回复 34# chengmo03013106


   是你的PHP提示错误的级别问题吧,我直接访问,在网页上报错的,不是IDE告诉我的
 楼主| 发表于 2011-1-19 17:16:40 | 显示全部楼层
回复  chengmo03013106


   是你的PHP提示错误的级别问题吧,我直接访问,在网页上报错的,不是IDE告诉我 ...
jeongee 发表于 2011-1-19 17:12



    你用的浏览器是?
发表于 2011-1-19 17:26:01 | 显示全部楼层
回复 36# chengmo03013106


   任意浏览器都可以的吧,刚才的用了IE和chrome
 楼主| 发表于 2011-1-19 17:33:22 | 显示全部楼层
回复  chengmo03013106


   任意浏览器都可以的吧,刚才的用了IE和chrome
jeongee 发表于 2011-1-19 17:26



    That's right, whatever, the problem 's been solved , Thanks a lot~

本版积分规则