我試圖讓SilverStripe對谷歌 - 應用程序引擎工作,但它給這個錯誤:權限probllem獲得訪問臨時文件夾
PHP Fatal error: Uncaught exception 'Exception' with message 'Permission problem gaining access to a temp folder. Please create a folder named silverstripe-cache in the base folder of the installation and ensure it has the correct permissions' in /base/data/home/apps/s~my_app_id/1.371770119107113254/framework/core/TempPath.php:84
Stack trace:
#0 /base/data/home/apps/s~my_app_id/1.371770119107113254/framework/core/TempPath.php(9): getTempParentFolder('/base/data/home...')
#1 /base/data/home/apps/s~my_app_id/1.371770119107113254/framework/core/Constants.php(238): getTempFolder('/base/data/home...')
#2 /base/data/home/apps/s~my_app_id/1.371770119107113254/framework/main.php(58): require_once('/base/data/home...')
#3 /base/data/home/apps/s~my_app_id/1.371770119107113254/index.php(66): require_once('/base/data/home...')
#4 {main}
thrown in /base/data/home/apps/s~my_app_id/1.371770119107113254/framework/core/TempPath.php on line 84
那麼第84行的/framework/core/TempPath.php是什麼?你有沒有試過解決這個問題? – IanGSY
你是否在寫有權限的根目錄下創建了一個'silverstripe-cache'文件夾? – 3dgoo
你的意思是應用程序的根文件夾?我怎麼給它寫權限? – BenjiButton