Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   Error after a new registration (http://www.bvlist.com/showthread.php?t=6188)

snip07 19th March 2011 12:49

Error after a new registration
 
I get an error after a user registers to the torrent site.

http://i.imgur.com/bePTUl.jpg

joeroberts 19th March 2011 13:31

Open phpBB3/includes/db/dball.php
Find
PHP Code:

    /**
    * Fetch all rows
    */
    
function sql_fetchrowset($query_id false

and add before
PHP Code:

        function sql_numrows($query_id 0)
        {
                if(!
$query_id)
                {
                        
$query_id $this->query_result;
                }
                if(
$query_id)
                {
                        
$result = @mysql_num_rows($query_id);
                        return 
$result;
                }
                else
                {
                        return 
false;
                }
        } 


snip07 19th March 2011 15:09

Thanks again Joe!


All times are GMT +2. The time now is 22:38.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.