• maxigalleryが上手く動作しない#

  • ukulele Reply #1, 5 years, 3 months ago

    Reply
    インストールして、写真をアップしようとすると下のエラーが出ます。
    借りているXREAのサーバーですとPHPのsafeモードをOFFにできないためのエラーでしょうか?

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid is 10753 is not allowed to access /virtual/ukulele/public_html/modx/assets/galleries/2 owned by uid 1000
    Error type/ Nr.: Warning - 2
    File: /virtual/ukulele/public_html/modx/manager/includes/document.parser.class.inc.php(74 : eval()'d code
    Line: 385


  • MEGU Reply #2, 5 years, 2 months ago

    Reply
    こんにちは。
    XREAは使ってないので、、違うかも知れませんが。。

    # phpはセーフモードで実行される
    # ファイルのアップロードなどうまくいかない場合に以下を試すと良いらしい

    …ということのようです ↓
    PHPをCGIとして動かす方法について
    外していたらごめんなさい。