-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The console controller can only run within a console Application context. #2073
Comments
I dont understand what command you try to execute? Anyhow desired in LUYA is to use the commands folder. What should the other Controller do? What class do you extend from? |
When I execute controllers/SettingsController mymoduleadmin has controllers/SettingsController and commands/SettingsController controllers/SettingsController
commands/SettingsController
Thanks. |
So to understand that correctly: You are trying to access the |
So i can not use tablePrefix in database. Can you check it?. in file |
Hi @bee1194 i don't think this has something to do with the topic, but yes you are right. We should fix that. could you send me a PR or create an issue? Thanks |
Yes. luya-core/console/Controller.php class throws the exception. |
@mhunesi so the web request |
I am going to close this issue because:
If you think this is still important or there are more/new informations. Please reopen the issue and let us know. If this is a problem or a feature you like to discuss, join our discussion: LUYA discussions. We try to keep our issue tracker as clean as possible in order to focus on active issues. |
What steps will reproduce the problem?
I have two controllers;
What is the expected result?
The console controller can only run within a console Application context.
What do you get instead? (A Screenshot can help us a lot!)
LUYA Check ouput (run this script and post the result: luyacheck.php)
This not working on nginx.
Additional infos
The text was updated successfully, but these errors were encountered: