apigility-symfony2-use-case icon indicating copy to clipboard operation
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

Open scourgen opened this issue 10 years ago • 5 comments

every time when I open apigility's admin, an error shows up:

An error occurred
An error occurred during execution; please try again later.

scourgen avatar Jul 28 '14 09:07 scourgen

Try this command : php public/index.php development enable

brahimmachkouri avatar Sep 13 '14 16:09 brahimmachkouri

Take a look at the virtual host error log, and post it here please.

temple avatar Nov 14 '14 13:11 temple

In my case have no error registered at SF2 Test app app/logs dir neither apache apigility vhost log files. snapshot1

temple avatar Nov 14 '14 13:11 temple

@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"

temple avatar Nov 14 '14 13:11 temple

Awesome, this worked!

aschwin avatar Mar 10 '16 12:03 aschwin