doupixian1436 2011-08-05 11:44
浏览 24
已采纳

Symfony路由问题

I get this error regardless of what page I want to load:

404 | Not Found | sfError404Exception  
Empty module and/or action after parsing the URL "/contact" (/).
- error appears on any other page instead of /contact -even the homepage (/)

There aren't problems in routing, because the web site is running online (www.resursecrestine.ro) It's not about running the website on some shared hosting, is about running the website on my Linux powered computer.

Can anybody please help?

Symfony log here: http://pastie.org/2344398
factories.yml here: http://pastie.org/2344677
routing.yml here http://pastie.org/2344685

  • 写回答

2条回答 默认 最新

  • dot_0620 2013-08-01 13:24
    关注

    It seems that it's not about the routing system, this is more a Symfony / Apache settings issue. I fixed it by properly installing the project from the Apache perspective, carefully following the Symfony tutorial:

    http://symfony.com/legacy/doc/jobeet/1_4/en/01?orm=Doctrine

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 有没有能解决微信公众号,只能实时拍照,没有选择相册上传功能,我不懂任何技术,,有没有给我发个软件就能搞定的方法
  • ¥15 Pythontxt文本可视化
  • ¥15 如何基于Ryu环境下使用scapy包进行数据包构造
  • ¥15 springboot国际化
  • ¥15 搭建QEMU环境运行OP-TEE出现错误
  • ¥15 Minifilter文件保护
  • ¥15 有限元软件终止时间超过设定值
  • ¥15 onvif框架引用一直报错
  • ¥50 C#和C++混合编程,使用CLR托管,报错System.Runtime.InteropServices.SEHException
  • ¥30 .NET使用sqlite发布后报错