Re: TinyMCEとview_inlineについて
2012年5月14日 at 20:40
本家、フォーラムの翻訳ですが
http://www.concrete5.org/community/forums/customizing_c5/tiny-mce-images-problem/#246486
より
/config/site.php の 「<?php」の前に余分なスペースがある。→ そのスペースを削除すると解決します
もしくは
http://www.concrete5.org/community/forums/usage/images-not-showing-in-tinymce-suddenly/
より
/concrete/controllers/download_file.php
と
/controllers/download_file.php
にコピー。
5.5.2.1.ja では、47行目当たりです。
$contents = $fc->getContents($file->getPath());
ob_clean(); //ここの1行を追加
header("Content-type: $mimeType");
print $contents;
で大丈夫かも。
この2つの方法を試してみてください。
Your post has been saved and will be published after approval by the forum moderator.