Bravo List

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

demonbogdan 13th July 2008 21:01

Re: RSS Error
 
sorry man.. i edit the footer :)

pls help me
appear another error when i try to give a pm mass

Code:

Fatal error: Call to undefined function sqlesc() in /home/demon/public_html/torrent/admin/files/staffmess.php on line 36

joeroberts 13th July 2008 21:11

Re: RSS Error
 
Quote:

Originally Posted by demonbogdan
sorry man.. i edit the footer :)

pls help me
appear another error when i try to give a pm mass

Code:

Fatal error: Call to undefined function sqlesc() in /home/demon/public_html/torrent/admin/files/staffmess.php on line 36

remove line 36
Code:

$dt = sqlesc(get_date_time());

Quote:

Originally Posted by demonbogdan
Code:

Fatal error: Cannot redeclare get_elapsed_time() (previously declared in /home/demon/public_html/torrent/votesview.php:16) in /home/demon/public_html/torrent/include/functions.php on line 72

remove from line 16-35
Code:

function get_elapsed_time($ts)
{
  $mins = floor((gmtime() - $ts) / 60);
  $hours = floor($mins / 60);
  $mins -= $hours * 60;
  $days = floor($hours / 24);
  $hours -= $days * 24;
  $weeks = floor($days / 7);
  $days -= $weeks * 7;
  $t = "";
  if ($weeks)
    return "$weeks week" . ($weeks > 1 ? "s" : "");
  if ($days)
    return "$days day" . ($days > 1 ? "s" : "");
  if ($hours)
    return "$hours hour" . ($hours > 1 ? "s" : "");
  if ($mins)
    return "$mins min" . ($mins > 1 ? "s" : "");
  return "< 1 min";
}


demonbogdan 13th July 2008 23:47

Re: RSS Error
 
i dont have in my phpmybittorrent in torrent vitesiteview.php
and in functions ... at line 16-35 appear
Code:

}


function mkglobal($vars) {
    if (!is_array($vars))
        $vars = explode(":", $vars);
    foreach ($vars as $v) {
        if (isset($_GET[$v]))
            $GLOBALS[$v] = unesc($_GET[$v]);
        elseif (isset($_POST[$v]))
            $GLOBALS[$v] = unesc($_POST[$v]);
        else
            return 0;
    }
    return 1;
}

function btsqlerror($sql) { //Returns SQL Error
        global $db, $db_prefix;
        $err = Array();


i try the link from your tracker and appear
Code:

Fatal error: Cannot redeclare get_elapsed_time() (previously declared in /home/joerobe/domains/moviegamesmore.net/public_html/votesview.php:16) in /home/joerobe/domains/moviegamesmore.net/public_html/include/functions.php on line 163

joeroberts 14th July 2008 02:55

Re: RSS Error
 
open votesview.php and remove lines 16-35
Code:

function get_elapsed_time($ts)
{
  $mins = floor((gmtime() - $ts) / 60);
  $hours = floor($mins / 60);
  $mins -= $hours * 60;
  $days = floor($hours / 24);
  $hours -= $days * 24;
  $weeks = floor($days / 7);
  $days -= $weeks * 7;
  $t = "";
  if ($weeks)
    return "$weeks week" . ($weeks > 1 ? "s" : "");
  if ($days)
    return "$days day" . ($days > 1 ? "s" : "");
  if ($hours)
    return "$hours hour" . ($hours > 1 ? "s" : "");
  if ($mins)
    return "$mins min" . ($mins > 1 ? "s" : "");
  return "< 1 min";
}



All times are GMT +2. The time now is 01:50.

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