BugTrack/2252
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
* ネット接続できない時にupdate_entities を呼び出すと、War...
- ページ: [[BugTrack2]]
- 投稿者: 名無しさん
- 優先順位: 低
- 状態: 却下
- カテゴリー: プラグイン
- 投稿日: 2007-06-25 (月) 08:17:26
- バージョン:
** メッセージ [#g23200ec]
テストしたのは、index.php でerror_reporting(E_ALL) として...
W3C_XHTML_DTD_LOCATION で設定したサイトに、アクセスできな...
ネットワーク障害などの理由でもWarning が出そうです。
[[cvs:plugin/update_entities.inc.php]] (v 1.15)
function plugin_update_entities_create($do = FALSE)
{
$files = array('xhtml-lat1.ent', 'xhtml-special.ent', 'x...
$entities = array_map('plugin_update_entities_strtr',
array_values(get_html_translation_table(HTML_ENTITIES)));
$items = array('php:html_translation_table');
$matches = array();
foreach ($files as $file) {
// FIXME: 'allow_url_fopen = Off' will stop this
- $source = file(W3C_XHTML_DTD_LOCATION . $file);
+ $source = @file(W3C_XHTML_DTD_LOCATION . $file);
// or die_message('cannot receive ' . W3C_XHTML_DTD_LO...
if (! is_array($source)) {
$items[] = 'w3c:' . $file . ' COLOR(red):not found.';
continue;
}
file() で収得に失敗した時は、直後のif (! is_array($source...
この修正で十分だと思うのですがどうでしょうか。
--------
//#comment
**update_entities の結果生成されるデータがおかしい [#r8bf...
http://xoops.hypweb.net/modules/forum/index.php?topi...
での指摘ですが、"(?=[a-zA-Z0-9]\{$min,$max})" によって作...
[[cvs:plugin/update_entities.inc.php]] (r1.15) 110行目
- $pattern = "(?=[a-zA-Z0-9]\{$min,$max})" . generate_tr...
+ $pattern = '(?=[a-zA-Z0-9]{' . $min . ',' . $max . '})...
終了行:
* ネット接続できない時にupdate_entities を呼び出すと、War...
- ページ: [[BugTrack2]]
- 投稿者: 名無しさん
- 優先順位: 低
- 状態: 却下
- カテゴリー: プラグイン
- 投稿日: 2007-06-25 (月) 08:17:26
- バージョン:
** メッセージ [#g23200ec]
テストしたのは、index.php でerror_reporting(E_ALL) として...
W3C_XHTML_DTD_LOCATION で設定したサイトに、アクセスできな...
ネットワーク障害などの理由でもWarning が出そうです。
[[cvs:plugin/update_entities.inc.php]] (v 1.15)
function plugin_update_entities_create($do = FALSE)
{
$files = array('xhtml-lat1.ent', 'xhtml-special.ent', 'x...
$entities = array_map('plugin_update_entities_strtr',
array_values(get_html_translation_table(HTML_ENTITIES)));
$items = array('php:html_translation_table');
$matches = array();
foreach ($files as $file) {
// FIXME: 'allow_url_fopen = Off' will stop this
- $source = file(W3C_XHTML_DTD_LOCATION . $file);
+ $source = @file(W3C_XHTML_DTD_LOCATION . $file);
// or die_message('cannot receive ' . W3C_XHTML_DTD_LO...
if (! is_array($source)) {
$items[] = 'w3c:' . $file . ' COLOR(red):not found.';
continue;
}
file() で収得に失敗した時は、直後のif (! is_array($source...
この修正で十分だと思うのですがどうでしょうか。
--------
//#comment
**update_entities の結果生成されるデータがおかしい [#r8bf...
http://xoops.hypweb.net/modules/forum/index.php?topi...
での指摘ですが、"(?=[a-zA-Z0-9]\{$min,$max})" によって作...
[[cvs:plugin/update_entities.inc.php]] (r1.15) 110行目
- $pattern = "(?=[a-zA-Z0-9]\{$min,$max})" . generate_tr...
+ $pattern = '(?=[a-zA-Z0-9]{' . $min . ',' . $max . '})...
ページ名: