サポート » 使い方全般 » 設定の一般設定が表示できない

  • Anonymous User 7714397

    (@anonymized-7714397)


    WordPress3.1の日本語版を使用しています。WordPressを普通にインストールし、投稿なども通常通りできるのですが、設定の一般設定が開けません。

    Firefoxで見たソースコードです。
    **********
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”http://www.w3.org/1999/xhtml&#8221; dir=”ltr” lang=”ja”>
    <head>
    <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
    <title>一般設定 ‹ Blog — WordPress</title>
    <script type=”text/javascript”>
    //<![CDATA[
    addLoadEvent = function(func){if(typeof jQuery!=”undefined”)jQuery(document).ready(func);else if(typeof wpOnload!=’function’){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
    var userSettings = {
    ‘url’: ‘/blog/’,
    ‘uid’: ‘1’,
    ‘time’:’1300180377′
    },
    ajaxurl = ‘http://*****/blog/wp-admin/admin-ajax.php&#8217;,
    pagenow = ‘options-general’,
    typenow = ”,
    adminpage = ‘options-general-php’,
    thousandsSeparator = ‘,’,
    decimalPoint = ‘.’,
    isRtl = 0;
    //]]>
    </script>
    <link rel=’stylesheet’ href=’http://*****/blog/wp-admin/load-styles.php?c=1&dir=ltr&load=global,wp-admin&ver=dcd4e2bc8b3d4685019b468cdef8a60d&#8217; type=’text/css’ media=’all’ />
    <link rel=’stylesheet’ id=’colors-css’ href=’http:/*****/blog/wp-admin/css/colors-fresh.css?ver=20110121′ type=’text/css’ media=’all’ />
    <!–[if lte IE 7]>
    <link rel=’stylesheet’ id=’ie-css’ href=’http://*****/blog/wp-admin/css/ie.css?ver=20101102&#8242; type=’text/css’ media=’all’ />
    <![endif]–>
    <script type=’text/javascript’ src=’http://*****/blog/wp-includes/js/l10n.js?ver=20101110′></script&gt;
    <script type=’text/javascript’ src=’http://*****/blog/wp-admin/load-scripts.php?c=1&load=jquery,utils&ver=7bb5fde83e0949a753f31e184d1c6ac7′></script&gt;
    <script type=”text/javascript”>
    //<![CDATA[
    jQuery(document).ready(function($){
    $(“input[name=’date_format’]”).click(function(){
    if ( “date_format_custom_radio” != $(this).attr(“id”) )
    $(“input[name=’date_format_custom’]”).val( $(this).val() ).siblings(‘.example’).text( $(this).siblings(‘span’).text() );
    });
    $(“input[name=’date_format_custom’]”).focus(function(){
    $(“#date_format_custom_radio”).attr(“checked”, “checked”);
    });

    $(“input[name=’time_format’]”).click(function(){
    if ( “time_format_custom_radio” != $(this).attr(“id”) )
    $(“input[name=’time_format_custom’]”).val( $(this).val() ).siblings(‘.example’).text( $(this).siblings(‘span’).text() );
    });
    $(“input[name=’time_format_custom’]”).focus(function(){
    $(“#time_format_custom_radio”).attr(“checked”, “checked”);
    });
    $(“input[name=’date_format_custom’], input[name=’time_format_custom’]”).change( function() {
    var format = $(this);
    format.siblings(‘img’).css(‘visibility’,’visible’);
    $.post(ajaxurl, {
    action: ‘date_format_custom’ == format.attr(‘name’) ? ‘date_format’ : ‘time_format’,
    date : format.val()
    }, function(d) { format.siblings(‘img’).css(‘visibility’,’hidden’); format.siblings(‘.example’).text(d); } );
    });
    });
    //]]>
    </script>

    </head>
    <body class=”wp-admin no-js options-general-php”>
    <script type=”text/javascript”>
    //<![CDATA[
    (function(){
    var c = document.body.className;
    c = c.replace(/no-js/, ‘js
    **********
    JavaScriptの途中で切れているのですが、私はテキストエディタなどでこのファイルを編集した覚えはありません。ほかの設定なども変えていません。解決策があればお願いします。

    環境
    CentOS 5.5 x86_64 日本語版
    Apache 2.2.17
    PHP 5.3.5 +mbstringほか
    MySQL 5.1.55

6件の返信を表示中 - 1 - 6件目 (全6件中)
  • 憶測でしかないのですが、管理画面のCSSが読めないや途中までで切れるなどの現象はphpのメモリが足りていないことが多いようです。
    php.iniなどのメモリーリミットなどを調べて増やしてみるなどしてみてはいかがでしょうか。

    トピック投稿者 Anonymous User 7714397

    (@anonymized-7714397)

    メモリはphp.iniで最大128MBにしていますが、表示されません。ほかの設定ページは普通に表示されるので、メモリ制限ではないと思うのですが。

    それとメインメモリは1GBモジュールを一つつけています。

    ども。

    メモリはphp.iniで最大128MBにしています

    phpinfoでメモリ上限が本当に128MBになっているか、確認されましたか?

    プラグインを全て停止して、テーマをデフォルトにしても、同じ状態に
    なりますか?

    トピック投稿者 Anonymous User 7714397

    (@anonymized-7714397)

    はい。
    <?php phpinfo(); ?>
    という内容のファイルを開くと、ちゃんと、128MBとなっていました。

    php.iniに実行時間のような項目があったので、それも3分ほどにしてみましたが、変わりませんでした。

    この現象ですが、時々
    *****
    <h2>一般設定</h2>

    <form method=”post” action=”options.php”>
    <input type=’hidden’ name=’option_pa
    *****
    のように終わったりもしました。しかし、切れる部分は毎回違いますが、パターンは同じです。

    プラグインはデフォルト(すべて停止)、テーマもデフォルトのTwenty Tenにしています。

    プラグインはデフォルト(すべて停止)、テーマもデフォルト

    ていうことになると、
    wp-config.phpファイルに
    define('WP_DEBUG',true);
    を書き加えて、PHPのエラーを表示するようにしてみて、エラーから追っていくこと
    くらいしか、思いつかないですね・・・。

    トピック投稿者 Anonymous User 7714397

    (@anonymized-7714397)

    デバッグモードにしてみたら、
    Notice: load_plugin_textdomain was called with an argument that is deprecated since version 2.7 with no alternative available. in /var/www/wp/wp-includes/functions.php on line 3389

    という警告が表示されました。これが原因なのでしょうか。ほかの設定ページでも表示されますし、deprecatedは非推奨という意味だと思うので、これが原因だとは思えないのですが。

6件の返信を表示中 - 1 - 6件目 (全6件中)
  • トピック「設定の一般設定が表示できない」には新たに返信することはできません。