Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
  #11  
Old 13th July 2008, 21:01
demonbogdan demonbogdan is offline
Member
 
Join Date: Jul 2008
Posts: 10
Default 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
Reply With Quote
  #12  
Old 13th July 2008, 21:11
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default 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";
}
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #13  
Old 13th July 2008, 23:47
demonbogdan demonbogdan is offline
Member
 
Join Date: Jul 2008
Posts: 10
Default 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
Reply With Quote
  #14  
Old 14th July 2008, 02:55
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default 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";
}
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
Reply

Tags
error , rss

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
help error, http error and invalid passkey thereal Torrent Strike 0 9th April 2009 02:07
URGENT !! Parse error: syntax error sharpe Torrent Strike 8 24th September 2008 15:10



All times are GMT +2. The time now is 14:56. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.