I found why. it's not the php version problem. it's sqlite problem.
let's see the problem. for instance, we can see this code in index.php
$result = $db->query('SELECT c.id AS cid, c.cat_name, f.id AS fid, f.forum_name,
f.forum_desc, f.moderators, f.num_topics, f.num_posts, f.last_post, f.last_post_id,
f.last_poster, f.closed, f.locked FROM '.$db->prefix.'categories AS c INNER
JOIN '.$db->prefix.'forums AS f ON c.id=f.cat_id'.$extra_sql.'
ORDER BY c.disp_position, c.id, f.disp_position')
or error('Unable to fetch category/forum list',
__FILE__, __LINE__, $db->error());
and if database is sqlite, it wll return array which keys are cid, c.cat_name....
if mysql, we can get array wich keys are cid, cat_name...
and we are accustomed to use mysql so the next code is this :
while ($cur_forum = $db->fetch_assoc($result))
{
if ($cur_forum['cid'] != $cur_category) // A new category since last iteration?
{
?>
<tr>
<td class="puncon3" colspan="6"><?php echo pun_htmlspecialchars($cur_forum['cat_name']) ?></td>
</tr>
<?php
Do you see the problem now? sqlite returns array which keys are 'cid', 'c.cat_name'... so there is no data whose key is 'cat_name'. so blank catalog name ....
actually it's not sqlite problem but php_sqlite problem that cannot handle that, I think. or we have to change like "c.cat_name as cat_name"... ![smile](https://punbb.informer.com/forums/img/smilies/smile.png)