TShopping

 找回密碼
 註冊
搜索
查看: 97|回復: 0

[教學] PHP 8.2 CKeditor 4.11 網頁編輯器與CKfinder 3.7 上傳問題

[複製鏈接]
發表於 2025-1-8 14:08:33 | 顯示全部樓層 |閱讀模式
 
Push to Facebook
設定請看此篇
CKeditor 4.4.5 網頁編輯器與CKfinder 2.4 上傳整合應用


環境:
PHP 8.2
CKfinder 3.7
CKeditor 4.11

剛安裝好的時候,出現錯誤訊息
The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file.
ckedit.png
請修改 /etc/php.ini

  1. session.auto_start = 0
複製代碼

改成
  1. session.auto_start = 1
複製代碼


如果是Cpanel 的 easyApache 4因為有很多PHP版本,所以先在該網站下放入 phpinfo();
找出相對版本,我以php8.2為例
找到
vi /opt/cpanel/ea-php82/root/etc/php.ini
修改上述敘述即可
ckfinder 3.7(找到config.PHP)

  1. $config['authentication'] = function () {
  2.         return false;
  3. };
複製代碼

改成
  1. $config['authentication'] = function () {
  2.                 return true;
  3. };
複製代碼

因為現在CKfinder 3.7是需要買授權,所以刪除檔案時會出現DEMO MODE ckedit1.png



https://ckeditor.com/old/forums/ ... r-security-reasons.

 

臉書網友討論
*滑块验证:
您需要登錄後才可以回帖 登錄 | 註冊 |

本版積分規則



Archiver|手機版|小黑屋|免責聲明|TShopping

GMT+8, 2025-1-24 21:48 , Processed in 0.055119 second(s), 26 queries .

本論壇言論純屬發表者個人意見,與 TShopping綜合論壇 立場無關 如有意見侵犯了您的權益 請寫信聯絡我們。

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回復 返回頂部 返回列表