1

(10 replies, posted in PunBB 1.2 bug reports)

Thanks alot for the help. That new line solved the problem. Another reason to use PunBB. Fast and good support.

2

(10 replies, posted in PunBB 1.2 bug reports)

I also found this  strange entry in the database:

http://www.myran-san.com/images/databas.gif

Edit: Here is the code from 1.2Beta

if (basename($_SERVER['PHP_SELF']) == 'index.php')
        $tpl_temp .= '</p>'."\n\t\t\t".'<p class="conr"><a href="search.php?action=show_new">'.$lang_common['Show new posts'].'</a><br /><a href="misc.php?action=markread">'.$lang_common['Mark all as read'].'</a></p>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>'."\n\t".'</div>';
    else
        $tpl_temp .= '</p>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>'."\n\t".'</div>';
}

Edit2: It only a problem for users. Guest dont have this problem at all. (user list)

3

(10 replies, posted in PunBB 1.2 bug reports)

Rickard wrote:

What web server is this running on? Very strange that QUERY_STRING isn't defined.

The second error can be fixed by adding a row o_regs_report with a value of 0 to the config table and then deleting the config cache PHP script in cache/. I had forgotten about this. I've updated the beta to final instructions to include this.

Apache/1.3.33 Server and  MySQL 4.0.23_Debian-1

I fixed the second part...

4

(254 replies, posted in PunBB 1.2 discussion)

Elrond wrote:

Looking at the update script, it seems, one should also do this?

insert into config (conf_name, conf_value) values('o_regs_report', '0');

Right?

Yeah you will have to do that. Otherwise you will get a error in options.

5

(10 replies, posted in PunBB 1.2 bug reports)

Well i have updated from 1.2Beta and i followed the "guide" When i go to the administartion section i get the following error.

Notice: Undefined index: QUERY_STRING in /home/m/myransancom/forummyran/forum.myran-san.com/header.php on line 172

if (basename($_SERVER['PHP_SELF']) == 'index.php')
        $tpl_temp .= '</p>'."\n\t\t\t".'<p class="conr"><a href="search.php?action=show_new">'.$lang_common['Show new posts'].'</a><br /><a href="misc.php?action=markread">'.$lang_common['Mark all as read'].'</a></p>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';
    else if ($_SERVER['QUERY_STRING'] == 'action=show_new')
        $tpl_temp .= '</p>'."\n\t\t\t".'<p class="conr"><a href="misc.php?action=markread">'.$lang_common['Mark all as read'].'</a></p>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';
    else
        $tpl_temp .= '</p>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';
}

Does anyone know what to do?


Edit: Its not just in the admin part its in userlist to.... It also make the text larger in that section then the rest of the forum...

6

(254 replies, posted in PunBB 1.2 discussion)

simkin wrote:
myran-san wrote:

"Have a look in the config table in the database. Make sure it contains a row called o_default_user_group. "
it should have the value 4.
I hade the same problem.... thats why user didnt show up on the user list.

:-/ Yeah, that table was missing... thank you!
But still can't register new users, same error.
Using: Linux - php 4.3.6 -  MySQL 3.23.49


Clear you cache-folder and did you give it the defult value?