Cakephp 1.2 到 1.3 迁移,致命错误
我们正在从 1.2
迁移到 1.3
,我是 cakephp
的新手,
我们在这部分遇到错误,
Undefined index: user [APP/controllers/tasks_controller.php, line 922]
$user_tasks = $this->Tasks->load_task_data($this->**params['url']['user'],1);**
Actualy below select box not passing userid to controller.
echo "'< select name=\"quick_user\" id=\"quick_user\" onchange=\"**javascript:changeQuickTasksView()**;\">\n";
";
我不知道这是怎么回事 ... onchange=\"javascript:changeQuickTasksView();
We are migrating from 1.2
to 1.3
, I'm New to cakephp
we are getting error in this part
Undefined index: user [APP/controllers/tasks_controller.php, line 922]
$user_tasks = $this->Tasks->load_task_data($this->**params['url']['user'],1);**
Actualy below select box not passing userid to controller.
echo "'< select name=\"quick_user\" id=\"quick_user\" onchange=\"**javascript:changeQuickTasksView()**;\">\n";
";
I dont know how this is ... onchange=\"javascript:changeQuickTasksView();
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将其替换
为:
Replace this:
with this: