KCFinder:Ver3.12でのエラー  【解決済み】

質問全般・改善要望
返信する
オレンジみかん
メンバー
メンバー
記事: 18
登録日時: 2020年4月16日(木) 10:15

KCFinder:Ver3.12でのエラー

投稿記事 by オレンジみかん »

使い勝手がいいので、KCFinder:Ver2.54を使っていたのですが、
modx1.0.22Jでエラーが出て使えなっかたので色々と検索しフォーラムで以下の記事を見つけて

http://forum.modx.jp/viewtopic.php?f=34 ... nder#p8118

「1.0.3J以降に同梱されているTinyMCEなら上記のインストレーションだけで動くと思います」とあったので
KCFinder:Ver3.12をインストールし直したのですが、画像選択画面で以下のようなエラーが出て???状態です。


Warning: session_name(): Cannot change session name when session is active in /home/***/public_html/***/manager/includes/initialize.functions.inc on line 9

Warning: session_set_cookie_params(): Cannot change session cookie parameters when session is active in /home/***/public_html/***/manager/includes/initialize.functions.inc on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/***/public_html/***/manager/includes/initialize.functions.inc:9) in /home/***/public_html/***/manager/includes/initialize.functions.inc on line 20

Warning: Cannot modify header information - headers already sent by (output started at /home/***/public_html/***/manager/includes/initialize.functions.inc:9) in /home/***/public_html/***/assets/plugins/kcfinder/kcfinder/core/class/browser.php on line 112

Warning: Cannot modify header information - headers already sent by (output started at /home/***/public_html/***/manager/includes/initialize.functions.inc:9) in /home/***/public_html/***/assets/plugins/kcfinder/kcfinder/core/class/browser.php on line 113

modx:Ver1.0.22J
KCFinder:Ver3.12
TinyMCE Rich Text Editor:Ver3.5.11
サーバー:カゴヤ
mysqlnd 5.0.12
PHP:Ver7.3.18
オレンジみかん
メンバー
メンバー
記事: 18
登録日時: 2020年4月16日(木) 10:15

KCFinder:Ver3.12でのエラー

投稿記事 by オレンジみかん »

modxを1.0.23Jにバージョンアップしてみましたが、

Warning: session_name(): Cannot change session name when session is active in /home/***/public_html/***/manager/includes/initialize.functions.inc on line 7

Warning: session_set_cookie_params(): Cannot change session cookie parameters when session is active in /home/***/public_html/***/manager/includes/initialize.functions.inc on line 8

となります。

どなたかアドバイスをお願いいたします。
noka
メンバー
メンバー
記事: 94
登録日時: 2013年6月19日(水) 10:02

KCFinder:Ver3.12でのエラー  【解決済み】

投稿記事 by noka »

こんにちは。

PHP7.2以上ででるエラーですね。

私も同じエラーに見舞われたのですが、
以下の対応でとりあえず動いたと思います。
----
assets/plugins/kcfinder/kcfinder/conf/config.php
の130行目あたり、
startCMSSession();
を削除。
----
https://github.com/noka/kcfinder-for-mo ... 14edf1da6e
検証不十分ですので参考まで。
オレンジみかん
メンバー
メンバー
記事: 18
登録日時: 2020年4月16日(木) 10:15

KCFinder:Ver3.12でのエラー

投稿記事 by オレンジみかん »

noka 様

ありがとうございます。
早速試してみます。
:D :D :D
オレンジみかん
メンバー
メンバー
記事: 18
登録日時: 2020年4月16日(木) 10:15

KCFinder:Ver3.12でのエラー

投稿記事 by オレンジみかん »

上手く作動しました。
nokaさん、ありがとうございました :D :D :D
返信する