Strict Standards: Non-static method Protector::getInstance() should not be called statically in /home/suehirogari/suehirogari.com/xoops_trust_path/modules/protector/include/precheck_functions.php on line 12

Strict Standards: Non-static method XCube_Root::getSingleton() should not be called statically in /home/suehirogari/suehirogari.com/public_html/include/common.php on line 18

Deprecated: Non-static method XCube_Root::getSingleton() should not be called statically, assuming $this from incompatible context in /home/suehirogari/suehirogari.com/public_html/modules/user/preload/Primary/Primary.class.php on line 13
xoops2.2.0でエクストラフィールドの画像アップロードがうまくいかない場合の対処法 | 社内SEのウェブ制作

2011.08.02xoopsズープス

xoops2.2.0でエクストラフィールドの画像アップロードがうまくいかない場合の対処法

<{$xoops_url}>/<{$mod_config.extra_images_dir}>/testimage_3_<{$content.ef.testimage|escape}>

が書き出すソースが
testimage_3_6ec884c04e26f08b.htm

と拡張子がhtmになってしまいます。
※画像の指定番号 3 のサイズが指定されていなかったのが原因でした。

<追記>
picoモジュールを利用したエクストラフィールドを利用して、25枚程度の画像のアップロードをしようと思ったのですが、19個以上アップロードできない現象が発生いたしました。
しかも、19個いっぺんにアップロードしようとしても、いくつかアップロードできないファイルが箇所が発生し、何回かファイルをアップロードする必要がありました。
サーバー側の問題かと思い、php.iniを(max_execution_time、max_input_time、memory_limit、post_max_size、upload_max_filesize)変更しましたが、特に症状は同じでした。


PICOのエクストラフィールドはアップロードできるファイル数(フィールド数?)に制限があるのでしょうか。
原因と対処法がつかめなかった為、画像のエクストラフィールドは19個に収まるように設計しなおしましorz

その点以外はxoops2.2.0のエクストラフィールドは特に問題なく利用できております。
(ひょっとしたら、過去のバージョンでも同じ症状発生するのでしょうか?時間のある時に調べてみます。)


このカテゴリの人気記事



  • コメント (0)
  • トラックバック (0)
  • 閲覧 (18552)

トラックバック

トラックバックpingアドレス http://www.suehirogari.com/modules/blog/tb.php/263

コメントの投稿

コメント投稿に関するルール : コメントは全て承認が必要

キーワードでサイト内を検索
人気のエントリ