Parse error: syntax error, unexpected T_ELSE in /home/demon/public_html/torrent/include/rss/backend-php5.php on line 33
but i have torrents :|
:happy:
pls help me, sorry for my english !
joeroberts
12th July 2008 19:21
Re: RSS Error
please give me link so I may check!
demonbogdan
13th July 2008 03:12
Re: RSS Error
Quote:
Originally Posted by joeroberts
please give me link so I may check!
joeroberts
13th July 2008 04:48
Re: RSS Error
We well start with please replace the footer with copy rite info as stated in the rules.
then you can replace your backend.php with
Code:
/*
*-------------------------------phpMyBitTorrent--------------------------------*
*--- The Ultimate BitTorrent Tracker and BMS (Bittorrent Management System) ---*
*-------------- Created By Antonio Anzivino (aka DJ Echelon) --------------*
*------------- http://www.p2pmania.it -------------*
*------------ Based on the Bit Torrent Protocol made by Bram Cohen ------------*
*------------- http://www.bittorrent.com -------------*
*------------------------------------------------------------------------------*
*------------------------------------------------------------------------------*
*-- This program is free software; you can redistribute it and/or modify --*
*-- it under the terms of the GNU General Public License as published by --*
*-- the Free Software Foundation; either version 2 of the License, or --*
*-- (at your option) any later version. --*
*-- --*
*-- This program is distributed in the hope that it will be useful, --*
*-- but WITHOUT ANY WARRANTY; without even the implied warranty of --*
*-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --*
*-- GNU General Public License for more details. --*
*-- --*
*-- You should have received a copy of the GNU General Public License --*
*-- along with this program; if not, write to the Free Software --*
*-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA --*
*-- --*
*------------------------------------------------------------------------------*
*------ ?2005 phpMyBitTorrent Development Team ------*
*----------- http://phpmybittorrent.com -----------*
*------------------------------------------------------------------------------*
*/
while ($row = $db->sql_fetchrow($res)) {
$cat = "SELECT name FROM ".$db_prefix."_categories WHERE id = ".$row["category"]." ;";
$cat2 = $db->sql_query($cat);
$cat3 = $db->sql_fetchrow($cat2);
$sql_own = "SELECT username FROM ".$db_prefix."_users WHERE id = ".$row["owner"]." ;";
$sql_own1 = $db->sql_query($sql_own);
$owner = $db->sql_fetchrow($sql_own1);
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
joeroberts
13th July 2008 15:09
Re: RSS Error
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
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
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