Symfony2 MethodNotAllowedHttpException on live server

后端 未结 3 1212
一整个雨季
一整个雨季 2021-01-18 02:36

I am getting below error on live server:

request.ERROR: Uncaught PHP Exception Symfony\\Component\\HttpKernel\\Exception\\MethodNotAllowedHttpExcept

3条回答
  •  爱一瞬间的悲伤
    2021-01-18 03:07

    Try

    rm -rf app/cache/*
    rm -rf app/logs/*
    
    chmod 777 app/cache/
    chmod 777 app/logs/
    

    If problem solved, read more in "Setting up Permissions" section: http://symfony.com/doc/current/book/installation.html

提交回复
热议问题