Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   cleanup error (http://www.bvlist.com/showthread.php?t=4270)

wMan 16th January 2010 21:59

cleanup error
 
Code:

Fatal error: Call to undefined function multiscrape() in /var/www/pub/include/cleanup.php on line 463  on footer

joeroberts 16th January 2010 23:31

replace
Code:

        if ($autoscrape) multiscrape();
with
Code:

        if (isset($autoscrape)) multiscrape();

cop1976 10th February 2010 23:37

I have this error:

Fatal error: Call to undefined method dbal_mysqli::sql_numrows() in /var/www/include/cleanup.php on line 430

and this is line 430:

PHP Code:

if ($db->sql_numrows($res) > 0) { 


joeroberts 11th February 2010 00:01

open phpBB3/includes/db/dball.php
find
PHP Code:

    function sql_num_queries($cached false)
    {
        return (
$cached) ? $this->num_queries['cached'] : $this->num_queries['normal'];
    } 

and add after
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;

                }

        } 


cop1976 11th February 2010 01:45

I don't have a file dball.php

I have db2.php , but i don't have those lines:

PHP Code:

 function sql_num_queries($cached false)
    {
        return (
$cached) ? $this->num_queries['cached'] : $this->num_queries['normal'];
    } 


joeroberts 11th February 2010 03:15

then add just before
PHP Code:

    function sql_fetchfield($field$rownum false$query_id false


cop1976 12th February 2010 13:18

Quote:

Originally Posted by joeroberts (Post 20871)
then add just before
PHP Code:

    function sql_fetchfield($field$rownum false$query_id false


Where exactly i have to write this code?
I write before that i don't have that file and in the db2.php i don't have those lines.

PHP Code:

function sql_num_queries($cached false)
    {
        return (
$cached) ? $this->num_queries['cached'] : $this->num_queries['normal'];
    } 

Well, I found, but when I added this code, I now have that errors:

Code:

[phpBB Debug] PHP Notice: in file /var/www/include/functions_phpBB3.php on line 294: include_once(./phpBB3/common.php) [function.include-once]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /var/www/include/functions_phpBB3.php on line 294: include_once() [function.include]: Failed opening './phpBB3/common.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
[phpBB Debug] PHP Notice: in file /var/www/include/functions_phpBB3.php on line 295: include_once(./phpBB3/includes/functions_user.php) [function.include-once]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /var/www/include/functions_phpBB3.php on line 295: include_once() [function.include]: Failed opening './phpBB3/includes/functions_user.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')
[phpBB Debug] PHP Notice: in file /var/www/include/functions_phpBB3.php on line 296: include_once(./phpBB3/includes/constants.php) [function.include-once]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /var/www/include/functions_phpBB3.php on line 296: include_once() [function.include]: Failed opening './phpBB3/includes/constants.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear')

Fatal error:  Call to undefined function user_delete() in /var/www/include/functions_phpBB3.php on line 303



All times are GMT +2. The time now is 07:20.

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