<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/xml.xsl" type="text/xsl"?><feed xmlns="http://www.w3.org/2005/Atom">
  <title>nulog, NULL::something : out of the headphone &gt; 2006 &gt; January &gt; 15 &gt; pukiwiki が空ページを</title>
  <link href="http://lowreal.net/logs/2006/01/15/5"/>
  <icon>http://lowreal.net/img/banner.png</icon>
  <link rel="self" type="application/atom+xml" href="http://lowreal.net/logs/2006/01/15/5.atom"/>
  <link rel="alternate" type="application/xhtml+xml" href="http://lowreal.net/logs/2006/01/15/5.xhtml"/>
  <updated>2006-01-15T21:13:54+09:00</updated>
  <author>
    <name>cho45(砂糖)</name>
  </author>
  <id>http://lowreal.net/2006/01/15/5</id>
  <entry>
    <title>pukiwiki が空ページを</title>
    <link rel="alternate" type="text/html" href="http://lowreal.net/logs/2006/01/15/5.html"/>
    <link rel="alternate" type="application/xml+xhtml" href="http://lowreal.net/logs/2006/01/15/5.xhtml"/>
    <updated>2006-01-15T21:13:54+09:00</updated>
    <published>2006-01-15T21:13:54+09:00</published>
    <id>http://lowreal.net/2006/01/15/5</id>
    <category term="php"/>
    <category term="web"/>
    <content type="xhtml" xml:base="http://lowreal.net/">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>pukiwiki が空ページを吐くようになった。<a href="http://abyss.lowreal.net/">10920e10m</a> と <a href="http://headphone.lowreal.net/">Meta*Headphone-Girls</a> が完全にまっしろ。エラーさえ吐かない。もちろん心当たりはない。<abbr title="File Transfer Protocol">FTP</abbr> で覗くとファイルは存在するので、なんかバグっているんだろうけど、原因不明。死ね <abbr title="PHP: Hypertext Preprocessor">PHP</abbr></p>
        <p><a href="http://sb.xrea.com/showpost.php?p=72862&amp;postcount=50">XREA SUPPORT BOARD - View Single Post - メンテナンス情報：サーバーソフトウェア</a> これのせいかなぁ……なんでバージョンアップ、しかもマイナーで非互換性に当たるんですか。</p>
        <ins datetime="2006-01-15T21:40:43+09:00">
          <p>なんとなく (暗黙知) ページのエンコードが怪しいとにらんで、<code>DATA_DIR</code> で grep, file.php <code>function get_filename($page)</code> で <code>var_dump</code> をしてみると、末尾に余計な 0 がつく。null ね。<code>encode</code> が怪しいので、grep して func.php を以下のように書き換え</p>
          <pre class="PHP">
// return ($key == '') ? '' : strtoupper(join('', unpack('H*0', $key))); // original
return ($key == '') ? '' : substr(strtoupper(join('', unpack('H*', $key))), 0, -1);
</pre>
          <p><code>0</code> が効いてないっぽい。うざいなぁ。</p>
        </ins>
      </div>
    </content>
  </entry>
</feed>
