原文:tp5 類型錯誤: Argument 1 passed to think\response\Html::__construct() must be an instance of think\Cookie, string given, called in F:\www\dapp\thinkphp\library\think\Response.php on line 74

類型錯誤: Argument passed to think response Html:: construct must be an instance of think Cookie, string given, called in F: www dapp thinkphp library think Response.php on line 如圖: 解決辦法: 找到並打開:thinkphp l ...

2021-09-13 10:36 0 410 推薦指數:

查看詳情

/ThinkPHP/Library/Think/Storage/Driver/File.class.php  LINE: 48

針對網上這個問題,本人有點失望滿篇贅述,卻未說道重點; 下面我說一下,你可能用的是linux或ubuntu的系統 thinkphp框架放到服務器上必會提示Runtime文件夾沒有權限 此時可以切到Runtime上一級文件夾 執行命令chmod -R 777 Runtime ...

Sun May 07 19:55:00 CST 2017 0 2247
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM