Closed abayomiabayomi closed 2 years ago
Since you have not update the core, and we don't change anything in the previous versions, it's really difficult to say what happened here. I recommend posting this at the Yii forum, hopefully someone there can help you (and for example with some tips like using data providers and dedicated rest controller).
Thank you for your question. In order for this issue tracker to be effective, it should only contain bug reports and feature requests.
We advise you to use our community driven resources:
If you are confident that there is a bug in the framework, feel free to provide information on how to reproduce it. This issue will be closed for now.
This is an automated comment, triggered by adding the label question
.
Thank you @bizley
I have been running my Yii 2.0.40 app without issues. It has worked well. Recently, without any upgrade or update on, It just started giving a consistent "Not Found (#404). Page not found" error. This issue occurs both on my local server and web server
What steps will reproduce the problem?
calling the api here http://localhost/gig_books/backend/web/index.php/api/
What is the expected result?
It displays the requested content in json format
What do you get instead?
Not Found (#404) Page not found. The above error occurred while the Web server was processing your request. Please contact us if you think this is a server error. Thank you.
Additional info
gig_books/common/config/main-local.php
];
gig_books/backend/controllers/ApiController.php
}
Error Logs