请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

老师求助 出现安装完xampp和thinkPHP 5.0 后出现

Warning: require(C:\server\xampp\htdocs\zerg\public/…/vendor/autoload.php): failed to open stream: No such file or directory in C:\server\xampp\htdocs\zerg\public\index.php on line 15

正在回答 回答被采纳积分+3

4回答

yangts 2019-08-04 16:44:16

我也遇到这个问题是因为thinkphp里面没有start.php文件而是解压的时候多了个framework的文件夹,你打开这个路径下的index.php看看15行是不是要打开start.php?然后到thinkphp里面看一下有没有start.php文件

1 回复 有任何疑惑可以回复我~
  • yangts #1
    把最外层的文件夹去掉就行
    回复 有任何疑惑可以回复我~ 2019-08-04 16:45:18
7七月 2019-07-30 18:01:55

 C:\server\xampp\htdocs\zerg\public\index.php 您这个路径下面到底有没有 这个文件呢?难道不能看一眼告诉我吗

0 回复 有任何疑惑可以回复我~
提问者 慕慕1227001 2019-07-29 17:19:05

按老师视频一步一步操作的  两台电脑都出现这个问题,

0 回复 有任何疑惑可以回复我~
7七月 2019-07-29 15:37:23

这个是路径错误了吧,你核对下,C这个路径下面有这个文件吗?

0 回复 有任何疑惑可以回复我~
  • 提问者 慕慕1227001 #1
    按老师视频一步一步操作的  两台电脑都出现这个问题 老师你加下我qq 帮我解决下好吗,100147086
    回复 有任何疑惑可以回复我~ 2019-07-29 17:19:51
  • 提问者 慕慕1227001 #2
    弄了两天了  一直是这样
    回复 有任何疑惑可以回复我~ 2019-07-29 17:21:00
  • 提问者 慕慕1227001 #3
    Warning: require(/Applications/XAMPP/xamppfiles/htdocs/think/public/../vendor/autoload.php): failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/think/public/index.php on line 15
    
    Fatal error: require(): Failed opening required '/Applications/XAMPP/xamppfiles/htdocs/think/public/../vendor/autoload.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in /Applications/XAMPP/xamppfiles/htdocs/think/public/index.php on line 15
    
    
    第二台出现这个,一样的问题
    回复 有任何疑惑可以回复我~ 2019-07-29 17:48:15
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信