Hi there,
since yesterday I’m facing strange problem: a newly created yii2 application fails to find files that render the bottom debug panel.
Step by step:
[list=2]
[*] install yii2 application by executing
composer create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic appTest
[*] create underlying db and a user to access it (though it does not seem crucial here)
[*] open the following
localhost/appTest
in browser.
[/list]
As a result, at the bottom of the page I see a message
Error 404
localhost
Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9
which I can not see what piece of code gives rise to it. Folder
appTest/runtime/logs
is empty, the only log I have succeeded to find is apache file access.log with the following content:
"GET /appTest/web/debug/default/toolbar?tag=540f3acd828f9 HTTP/1.1" 404 1267
"http://localhost/appTest/web/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0"
I noticed as well that no error appears if I start php server as
php -S localhost:8080
from the application folder. Typing then
localhost:8080/web
everything seems to work (at least debug panel is visualized properly).
Am I missing something? Previously created applications do not have such a problem…