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