0

私はこれをたくさん検索しましたが、これまでのところどの解決策も機能していません。そのため、問題が何であるかを確認するために本当にトラブルシューティングする必要があると思います。

私たちのウェブサイトwww.theprinterdepo.comを閲覧すると、Chrome、つまりFirefoxで正常に動作します。ただし、Internet Explorerでwww.theprinterdepo.com/adminの管理者にアクセスすると、500内部サーバーエラーが表示されます。その後、Internet Explorerを使用してwww.theprinterdepo.comにアクセスしようとすると、同じエラーが表示されます。 。同時に、私はGoogle ChromeまたはFirefoxでサイトをサーフィンすることができ、問題なく動作します。

Internet Explorerが機能するときに、ロードするのに何年もかかります。クロムの上にある間、まだ完璧にロードします。

index.phpでchmod755を設定しました。

これをindex.phpに追加しました

if ($_SERVER['REMOTE_ADDR'] == '83.134.93.212') { Mage::setIsDeveloperMode(true); ini_set('display_errors', 1); }

私はこれを得た

Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 60: parser error : Opening and ending tag mismatch: config line 28 and confg  in /home/theprint/public_html/lib/Varien/Simplexml/Config.php on line 510

#0 [internal function]: mageCoreErrorHandler(2, 'simplexml_load_...', '/home/theprint/...', 510, Array)
#1 /home/theprint/public_html/lib/Varien/Simplexml/Config.php(510): simplexml_load_string('loadString('loadFile('/home/theprint/...')
#4 /home/theprint/public_html/app/code/core/Mage/Admin/Model/Config.php(59): Mage_Core_Model_Config->loadModulesConfiguration('adminhtml.xml', Object(Varien_Simplexml_Config))

行510はこれに対応します:

  public function loadString($string)
    {
        if (is_string($string)) {
            $xml = simplexml_load_string($string, $this->_elementClass);

            if ($xml instanceof Varien_Simplexml_Element) {
                $this->_xml = $xml;
                return true;
            }
        } else {
            Mage::logException(new Exception('"$string" parameter for simplexml_load_string is not a string'));
        }
        return false;
    }
4

2 に答える 2

1

エラーはOpening and ending tag mismatch:デバッグする最も簡単な方法の 1 つであるため、このエラーの原因となっている xml が見つかるまで、すべてのカスタム module/layout.xml の変更を無効にしてから、1 つずつ再度有効にします。

于 2013-02-09T20:44:51.670 に答える
0

その構成ファイルを編集することで、パスを確認し、xml が失敗していることを確認できました。開始タグは で、終了タグは

私はそれを修正し、それから動作し始めました

于 2013-02-09T19:40:55.137 に答える