It is the first time will use symfony. The setup went ok but now I have a problem with de routing... I have a controller called "GenusController" and use "Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;".
My controller:
namespace AppBundle\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Component\BrowserKit\Response;
class GenusController
{
/**
* @Route("/genus")
*/
public function showAction(){
return new Response("Text");
}
}
When I tried to go to visite the url (http://localhost/aqua_note/web/genus) I get an 500 Internal Server Error. Is there some one can help me with this problem?
I am following this tutorial https://knpuniversity.com/screencast/symfony3/first-page#play
{}
button to format it properly – gotovar/logs/*.log
or in the servers logs (e.g. if you’re using PHP-FPM something like/var/log/php*-fpm.log
). If you find the error message and can reproduce it by reloading the page, please add it to your question. – lxg