apigility-symfony2-use-case
apigility-symfony2-use-case copied to clipboard
the project is not working anymore,error shows up every time when I open the apigility admin page
every time when I open apigility's admin, an error shows up:
An error occurred
An error occurred during execution; please try again later.
Try this command :
php public/index.php development enable
Take a look at the virtual host error log, and post it here please.
In my case have no error registered at SF2 Test app app/logs dir neither apache apigility vhost log files.
@scourgen I've found an error at Main Controller file: IndexController
Please see line 16, it redirects route "/" to a route called zf-apigility-welcome, which doesn't really exist.
https://github.com/ezimuel/apigility-symfony2-use-case/blob/0634a12e205dd131d64d7883f59641a4f3d29e3f/apigilityapi/module/Application/src/Application/Controller/IndexController.php
SOLUTION You may just erase "-welcome" from the route passed as parameter for the redirect, and set it as just "zf-apigility"
Awesome, this worked!