xml ファイルを解析するいくつかの php スクリプトで問題が発生しています。これらのスクリプトは何ヶ月もエラーなく実行されていましたが、今日突然すべてがクラッシュしました。コードや環境に変更はありません。私はphpに比較的慣れていないので、助けていただければ幸いです。
私が見ているエラーは次のとおりです。
Warning: simplexml_load_file() [function.simplexml-load-file]: c:/server/public_html/dev/temp.xml:1: parser error : Opening and ending tag mismatch: HR line 1 and body in C:\Server\public_html\dev\index.php on line 31
Warning: simplexml_load_file() [function.simplexml-load-file]: LED).</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.32</h3></body> in C:\Server\public_html\dev\index.php on line 31
Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in C:\Server\public_html\dev\index.php on line 31
Warning: simplexml_load_file() [function.simplexml-load-file]: c:/server/public_html/dev/temp.xml:1: parser error : Opening and ending tag mismatch: HR line 1 and html in C:\Server\public_html\dev\index.php on line 31
Warning: simplexml_load_file() [function.simplexml-load-file]: u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.32</h3></body></html> in C:\Server\public_html\dev\index.php on line 31
Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in C:\Server\public_html\dev\index.php on line 31
Warning: simplexml_load_file() [function.simplexml-load-file]: c:/server/public_html/dev/temp.xml:1: parser error : Premature end of data in tag body line 1 in C:\Server\public_html\dev\index.php on line 31
Warning: simplexml_load_file() [function.simplexml-load-file]: u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.32</h3></body></html> in C:\Server\public_html\dev\index.php on line 31
Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in C:\Server\public_html\dev\index.php on line 31
Warning: simplexml_load_file() [function.simplexml-load-file]: c:/server/public_html/dev/temp.xml:1: parser error : Premature end of data in tag html line 1 in C:\Server\public_html\dev\index.php on line 31
Warning: simplexml_load_file() [function.simplexml-load-file]: u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.32</h3></body></html> in C:\Server\public_html\dev\index.php on line 31
Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in C:\Server\public_html\dev\index.php on line 31
Warning: Invalid argument supplied for foreach() in C:\Server\public_html\dev\index.php on line 35