We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6158
    • 224 Posts
    Quote from: custar at Jan 11, 2007, 11:29 PM

    4) スクリプトエラーのメッセージが出た
    7) スクリプトエラーが出たけど消して
    スクリプトエラーは TinyMCE から出てますね。
      • 6158
      • 224 Posts
      こんにちは。
      Quote from: custar at Jan 13, 2007, 03:28 AM

      投稿後に $modx->documentListing を更新
      NewsPublisher の 289行目以降で

      if ($clearcache == 1) {
      include_once $modx->config[’base_path’]."manager/processors/cache_sync.class.processor.php";
      $sync = new synccache();
      $sync->setCachepath("assets/cache/");
      $sync->setReport(false);
      $sync->emptyCache(); // first empty the cache

      if (isset ($modx->config) && !empty ($modx->config)) {
      unset ($modx->config);
      $modx->getSettings ();
      }

      }
      としてみてください。これで上手く表示されませんか?

      やってることは以下の通りです。

      1) if の後で siteCache.idx.php が更新される
      2) $modx->config を削除
      3) 更新された内容を $modx->config に再設定

      $modx->config をクリアする関数が見当たらなかったので「削除」して再設定
      させました。クリアする方法があるのかもしれません。ご存知の方は教えてく
      ださい。
        • 6158
        • 224 Posts
        同じ症状が報告されてますね。

        - add new blog entry problem with friendly urls on

        上記のようにクリアしなくても、&clearcache をパラメータに指定すると上手
        くいくのが正常の動作と思うのですが、siteCache.idx.php が更新された後の
        処理が未だ気になっています。