duanne9313 2016-03-01 06:00
浏览 23

cakephp 2.7.5中的重定向无法正常工作

Recently I install cakephp 2.7.5 in my system and I develop admin for backend.I face some problem in it,when I add faq in admin section it will not shown in faq section but when I refresh page it will shown the redirection code is here:-

$this->redirect(array('controller'=>'Firmcategory','action' => 'index'));

The same problem is also for delete section when I delete some item for that I set code delete and redirect back to index page of admin it will redirect but change not shown when I refresh page it will shown flash message and delete

Please help what I missed in my installation.

  • 写回答

1条回答 默认 最新

  • dongpu2694 2016-03-01 16:57
    关注

    Could you prove this?

    return $this->redirect(array('controller'=>'FirmCategories','action' => 'index'));

    评论

报告相同问题?

悬赏问题

  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!
  • ¥15 永磁直线电机的电流环pi调不出来
  • ¥15 用stata实现聚类的代码
  • ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
  • ¥20 docker里部署springboot项目,访问不到扬声器
  • ¥15 netty整合springboot之后自动重连失效
  • ¥15 悬赏!微信开发者工具报错,求帮改
  • ¥20 wireshark抓不到vlan