Comments (12)
请求的URL是什么?
from codeigniter.
默认控制器 login
请求URL login/ ;login/index
------------------ 原始邮件 ------------------
发件人: "Hex";[email protected];
发送时间: 2014年8月1日(星期五) 下午5:32
收件人: "CodeIgniter-Chinese/CodeIgniter"[email protected];
抄送: "ygana男孩"[email protected];
主题: Re: [CodeIgniter] contoller repeat 2times 默认控制器重复执行 (#20)
请求的URL是什么?
—
Reply to this email directly or view it on GitHub.
from codeigniter.
那你使用的 CI 版本是?
from codeigniter.
define('CI_VERSION', '2.2.0');
------------------ 原始邮件 ------------------
发件人: "Hex"[email protected];
发送时间: 2014年8月4日(星期一) 上午10:12
收件人: "CodeIgniter-Chinese/CodeIgniter"[email protected];
抄送: "ygana男孩"[email protected];
主题: Re: [CodeIgniter] contoller repeat 2times 默认控制器重复执行 (#20)
那你是用的 CI 版本是?
—
Reply to this email directly or view it on GitHub.
from codeigniter.
我试了下,没有执行两次,如果你刷新两次浏览器,是会变成XX的,因为 error_log 是追加不是覆盖文件。
from codeigniter.
就是 我的一直这样,我不是刷新刘爱兰器的,我试了n次
------------------ 原始邮件 ------------------
发件人: "Hex"[email protected];
发送时间: 2014年8月4日(星期一) 上午10:25
收件人: "CodeIgniter-Chinese/CodeIgniter"[email protected];
抄送: "ygana男孩"[email protected];
主题: Re: [CodeIgniter] contoller repeat 2times 默认控制器重复执行 (#20)
我试了下,没有执行两次,如果你刷新两次浏览器,是会变成XX的,因为 error_log 是追加不是覆盖文件。
—
Reply to this email directly or view it on GitHub.
from codeigniter.
那应该是你的其他地方有问题,我这里实测 2.2.0 版本,没有任何异常,另外这种明显BUG也不应该出现在 CI 上。。。。毕竟也是世界级框架了。。。。
你可以把完整的代码发上来,或者说一下你的 PHP 版本什么的信息,CI 不支持 PHP 5.4
from codeigniter.
php 5.5.12
------------------ 原始邮件 ------------------
发件人: "Hex"[email protected];
发送时间: 2014年8月4日(星期一) 上午10:31
收件人: "CodeIgniter-Chinese/CodeIgniter"[email protected];
抄送: "ygana男孩"[email protected];
主题: Re: [CodeIgniter] contoller repeat 2times 默认控制器重复执行 (#20)
那应该是你的其他地方有问题,我这里实测 2.2.0 版本,没有任何异常,另外这种明显BUG也不应该出现在 CI 上。。。。毕竟也是世界级框架了。。。。
你可以把完整的代码发上来,或者说一下你的 PHP 版本什么的信息,CI 不支持 PHP 5.4
—
Reply to this email directly or view it on GitHub.
from codeigniter.
CI 不支持 PHP 5.5,请使用 PHP 5.3 或 PHP 5.2
from codeigniter.
恩,好的 ,我待会吧代码提交给你看看,我也觉得好奇怪
------------------ 原始邮件 ------------------
发件人: "Hex"[email protected];
发送时间: 2014年8月4日(星期一) 上午10:34
收件人: "CodeIgniter-Chinese/CodeIgniter"[email protected];
抄送: "ygana男孩"[email protected];
主题: Re: [CodeIgniter] contoller repeat 2times 默认控制器重复执行 (#20)
那你的PHP没有问题,你这个确实比较奇怪,建议你把代码打包发上来。
你这个原则上是你的服务器的问题。因为我这里无法重现你的问题。
—
Reply to this email directly or view it on GitHub.
from codeigniter.
刚才我看错了,正确的应该是 CI 不支持 PHP 5.5,不用尝试了。
from codeigniter.
恩 好的,谢谢 。
------------------ 原始邮件 ------------------
发件人: "Hex";[email protected];
发送时间: 2014年8月4日(星期一) 上午10:34
收件人: "CodeIgniter-Chinese/CodeIgniter"[email protected];
抄送: "ygana男孩"[email protected];
主题: Re: [CodeIgniter] contoller repeat 2times 默认控制器重复执行 (#20)
CI 不支持 PHP 5.5,请使用 PHP 5.3 或 PHP 5.2
—
Reply to this email directly or view it on GitHub.
from codeigniter.
Related Issues (20)
- Cannot redeclare class ci_exceptions HOT 16
- codeigniter如何以RDS方式连接数据库呢 HOT 4
- base_url 不定义时某些情况下 redirect 到 https HOT 1
- session类库失效时间有bug HOT 7
- 继承类的权限判断后中止执行并提示的需求 HOT 2
- CI不能被类include方式使用 HOT 4
- 关于input类的“不可见字符”被屏蔽的问题 HOT 2
- I can not understand the "helper" function
- form_dropdown HOT 1
- smtp发中文内容乱码问题 HOT 1
- 校验提交的数组数据时的问题
- helper函数“download”在IE下下载中文文件乱码
- codeigniter 连接远程oracle HOT 2
- Message: mysql_errno(): XXX is not a valid MySQL-Link resource HOT 1
- default_controller is not working when enable_query_strings is enabled HOT 1
- session 设置memcached 驱动, 无法保存session
- CI default_controller setting HOT 1
- DB class trouble with pcntl
- PHP如果使用了ZendGuadLoader后CI加载session类会导致服务器500错误 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeigniter.