We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16481
    • 31 Posts
    こんばんは 
    Maxigallery投稿でエラー が出てしまいました。

    状況・サーバー等は、
    http://modxcms.com/forums/index.php/topic,18603.0.html
    のnekoaiboさん と同じなのですが
    「サーバ側のファイル所有権の修正」をしても状況は変わらずでした。

    ■エラーの内容
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
     
    PHP error debug
      Error:  mkdir() [function.mkdir]: Unable to access assets/galleries/50/  
      Error type/ Nr.:  Warning - 2  
      File:  /virtual/kurumi/public_html/assets/snippets/maxigallery/maxigallery.php  
      Line:  313  
      Line 313 source:  if(!mkdir($mg->path_to_gal, 0777)) {   
     
    Parser timing
      MySQL:  0.0004 s (4 Requests)
      PHP:  0.0276 s  
      Total:  0.0281 s  

    ■サーバー
    CORESERVER.JP
    Apache  1.3.37 
    PHP  5.2.5
    MySQL  5.1.22-rc

    assets/galleries のパーミッションは、707 所有者は、apacheじゃなくてkurumiになってますが
    以前のサーバーだと このフォルダーの中に投稿された画像が入っていたのですが 今は空っぽの状態です。

    PhpMyAdminでデーターベースを見ると site_snippets の中で MaxiGallery の description と snippet と moduleguid  が
    文字化けしてしまっています。

    http://modxcms.com/forums/index.php/topic,18603.0.html
    でZeRoさんが指摘してくださっている
    「その上のフォルダのパーミッションの変更」は、どのフォルダーかわからなくてしていません。

    インストール等は、
    http://www.liolion.info/LULU-LOG/T/200709/29_2157.html
    を参考にさせていただきました。

    こんな感じなのですが どうぞ よろしくお願いいたします。
      • 16481
      • 31 Posts
      自己解決しました。

      galleries内に ドキュメントIDでフォルダーを作ってパーミッションを707にしたら無事投稿できました。

      CORESERVER.JP には MySQL が 5.1.20 と 5.1.22 があるので その関係だったのでしょうか・・・

      トピ汚しごめんなさい。
        • 19033
        • 892 Posts
        kurumiさん。こんにちは。

        情報ありがとうございます。CORESERVERでは、ftpであらかじめ、
        フォルダを作っておくことによって(707)、問題なく画像がアップロードできるのですね。 smiley

        そういった情報は非常に貴重ですので、これからも何かありましたら、
        よろしくお願いします。^^。