创建谷歌驱动器文件夹 - 致命错误:未捕获错误:无法调用构造函数

时间:2017-11-21 11:25:51

标签: php wordpress google-maps-api-3

var http= require('http');
var fs= require('fs');
var server= http.createServer(function(req,rspn) {
      rspn.writeHead(200,{"Content-Type":"text/html"});
      fs.createReadStream("./public/index.html").pipe(rspn)
    }).listen(8000);
  }
});
  

致命错误:未捕获错误:无法调用构造函数   /home/htdemosn/public_html/xxx/google-api-php-client/vendor/google/apiclient-services/Google/Service/Drive.php:75   堆栈跟踪:#0 /home/htdemosn/public_html/xxx/quickstart.php(15):   Google_Service_Drive-> __ construct(Object(Google_Client))#1 {main}   投入   /home/htdemosn/public_html/xxx/google-api-php-client/vendor/google/apiclient-services/Google/Service/Drive.php   第75行

想要创建google文件夹并将文件插入其中,请提出您的想法? 提前谢谢..

0 个答案:

没有答案