admin管理员组文章数量:1201026
I have installed a basic model from yii2, I have already done pretty everything I had to do to configure my yii2 proyect, even I have send it to another person and It works. When I open localhost proyect works perfectly and I can make changes that will appear in the website. However,I am using Visual Studio Code to run and debug my proyect but I am completely unable to make it run because when I run and debug a class that uses some yii classes I always get the same Error and I tried everything with composer but It stills does not work. I will be showing what the error look like:
That is my User.php basic
I have already installed PHP Intelephense to run my code and at this point I think something with Visual Studio might be happening
This error also happens in any class using Yii ones:
SiteController.php**
I tried unistalling and installing composer, I downloaded an basic template from Yii official website and keeps happening. I clear cache, installed php and adding to the path, added mysql to the path too.
版权声明:本文标题:Fatal error: Uncaught Error: Class "path" not found in "path" on line 15 yii2 - Stack Overfl 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1738622882a2103291.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论