FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Quirk while upgrading from 2.6.0 to 2.6.14
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Quirk while upgrading from 2.6.0 to 2.6.14 [message #26254 is a reply to message #26253] Tue, 12 July 2005 09:43 Go to previous messageGo to previous message
fritti is currently offline  fritti   Netherlands
Messages: 7
Registered: July 2005
Karma:
Junior Member
OK, narrowed down the problem to the following code in adm/consist.php:

        draw_stat('Rebuilding Topic Views');
        q('DELETE FROM '.$tbl.'thread_view');
        foreach (db_all('SELECT id FROM '.$tbl.'forum') as $v) {
                draw_stat("DEBUG: tbl $tbl id $v\n");
                rebuild_forum_view($v);
        }


Basically, the db_all() method does not return IDs for some reason. I hardcoded the calls to rebuild_forum_view with my forum ids, and then my forum was fixed again.

I verified that I can execute the query as my fud db user on the command line (psql), so database permissions are not the culprit.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: phpBB2 converter does not work
Next Topic: fudapi.inc.php
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Dec 12 14:36:57 GMT 2024

Total time taken to generate the page: 0.04783 seconds