Members   Search      Help    Register    Login    Home
Home » Support Forums for PMBT 2.X » General Help for 2.X » problem url forum after install
icon5.gif  problem url forum after install [message #3625] Tue, 09 February 2010 14:23 Go to next message
team76 is currently offline team76  France
Messages: 6
Registered: January 2010
Leecher

hello

I installed phpbb3 and phpmybitorrent safely


phpmybitorren url: [url = http://www.team76.fr/torrent] [/ url] (install ok)

phpbb3 url: [url = http://www.team76.fr/torrent/phpBB3] [/ url]
(install ok)

But the link in the navbar in no good, url = http://www.team76.fr/torrent/phpBB.php and after all redirect link here:

http://www.team76.fr/homepages/42/d143206551/htdocs/team76.f r/torrent/phpBB.php?page=memberlist.php


thank you


Ps: sorry i m speak only french
Re: problem url forum after install [message #3631 is a reply to message #3625] Tue, 09 February 2010 23:57 Go to previous messageGo to next message
joeroberts is currently offline joeroberts  United States
Messages: 1971
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
I well post fix with in a couple hours I just got home.

http://a.imageshack.us/img831/5562/mybikes.png
Re: problem url forum after install [message #3632 is a reply to message #3625] Wed, 10 February 2010 11:41 Go to previous messageGo to next message
team76 is currently offline team76  France
Messages: 6
Registered: January 2010
Leecher

thank you, I'll wait
Re: problem url forum after install [message #3633 is a reply to message #3632] Wed, 10 February 2010 12:32 Go to previous messageGo to next message
joeroberts is currently offline joeroberts  United States
Messages: 1971
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
ok replace phpBB3/rewrite.php with this
<?php
/*
*-------------------------------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               -----------*
*------------------------------------------------------------------------------*
*/

if (!defined('IN_PHPBB'))
{
	exit;
}
//die($phpbb_root_path);
$buffer = ob_get_clean();
global $siteurl,$forumbase;
$oldurl = str_replace('/phpBB.php','',$_SERVER["PHP_SELF"]);
$buffer = preg_replace("(&(?!([a-zA-Z]{2,6}|[0-9\#]{1,6})[\;]))", "&amp;", $buffer);
$buffer = str_replace(array("&amp;&amp;", "&amp;middot", "&amp;nbsp"), array("&&", "·", " ;"), $buffer);
$buffer = str_replace(array("&amp;&amp;", "&amp;middot", "&amp;nbsp"), array("&&", "·", " ;"), $buffer);
        $rewrite_search2[] = $phpbb_root_path;
        $rewrite_replace2[] = "/phpBB3/";
        $rewrite_search2[] = '.php?';
        $rewrite_replace2[] = ".php&amp;";
        $rewrite_search2[] = $forumbase."/";
        $rewrite_replace2[] = "phpBB.php?page=";
        $rewrite_search2[] = $oldurl.'/phpBB.php?page=styles/';
        $rewrite_replace2[] = $siteurl."/".$forumbase."/styles/";
        $rewrite_search2[] = $oldurl.'/phpBB.php?page=../phpBB.php&amp;';
        $rewrite_replace2[] = $oldurl."/phpBB.php?page=ucp.php&amp;";
        $rewrite_search2[] = 'page=ucp.php&amp;page=mcp.php&amp;=&amp;';
        $rewrite_replace2[] = "page=mcp.php&amp;";
        $rewrite_search2[] = 'ucp.php&amp;page=mcp.php&&';
        $rewrite_replace2[] = "mcp.php&amp;";
        $rewrite_search2[] = 'phpBB.php&page=';
        $rewrite_replace2[] = "phpBB.php?page=";
        $rewrite_search2[] = 'phpBB.php&amp;page=';
        $rewrite_replace2[] = "phpBB.php?page=";
        $rewrite_search2[] = $oldurl.'/phpBB.php?page=style.php&amp;sid=';
        $rewrite_replace2[] = $siteurl."/".$forumbase."/style.php?sid=";
        $rewrite_search2[] = $oldurl.'/phpBB.php?page=download/file.php&amp;';
        $rewrite_replace2[] = $siteurl."/".$forumbase."/download/file.php?";
        $rewrite_search2[] = $oldurl.'/phpBB.php?page=images/';
        $rewrite_replace2[] = $oldurl."/".$forumbase."/images/";
        $rewrite_search2[] = 'user.php&amp;';
        $rewrite_replace2[] = "user.php?";
        $rewrite_search2[] = "window.open(url.replace(/&amp;/g, '&amp;'),";
        $rewrite_replace2[] = "window.open(url.replace(/&amp;/g, '&'),";
		$buffer = str_replace($rewrite_search2,$rewrite_replace2,$buffer);
//Restart Output Buffering again
ob_start("ob_gzhandler");
ob_implicit_flush(0);
echo $buffer;
?>

now open phpBB3/includes/functions and find
function exit_handler()
{
	global $phpbb_hook, $config;

and change it to
function exit_handler()
{
	global $phpbb_hook, $config, $phpbb_root_path;
that should work


http://a.imageshack.us/img831/5562/mybikes.png
Re: problem url forum after install [message #3636 is a reply to message #3633] Wed, 10 February 2010 15:47 Go to previous messageGo to next message
team76 is currently offline team76  France
Messages: 6
Registered: January 2010
Leecher

hank you for your reply

that's almost good , but Unfortunately this is not that now links redirects me to http://www.team76.fr/phpBB.php?page=index.php

Thank you for you help
Re: problem url forum after install [message #3637 is a reply to message #3636] Wed, 10 February 2010 15:52 Go to previous messageGo to next message
joeroberts is currently offline joeroberts  United States
Messages: 1971
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
change
        $rewrite_search2[] = $phpbb_root_path;
        $rewrite_replace2[] = "/phpBB3/";
to
        $rewrite_search2[] = $phpbb_root_path;
        $rewrite_replace2[] = "/torrent/phpBB3/";


http://a.imageshack.us/img831/5562/mybikes.png
icon14.gif  Re: problem url forum after install [message #3639 is a reply to message #3637] Wed, 10 February 2010 17:06 Go to previous messageGo to next message
team76 is currently offline team76  France
Messages: 6
Registered: January 2010
Leecher

Surprised thank you very much, it goes, thank you for your assistance
Re: problem url forum after install [message #3759 is a reply to message #3639] Tue, 16 March 2010 01:57 Go to previous message
joeroberts is currently offline joeroberts  United States
Messages: 1971
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
<?php
/*
*-------------------------------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               -----------*
*------------------------------------------------------------------------------*
*/

if (!defined('IN_PHPBB'))
{
	exit;
}
//die($phpbb_root_path);
$buffer = ob_get_clean();
global $siteurl,$forumbase,$phpbb_root_path;
$oldurl = str_replace('/phpBB.php','',$_SERVER["PHP_SELF"]);
$buffer = preg_replace("(&(?!([a-zA-Z]{2,6}|[0-9\#]{1,6})[\;]))", "&amp;", $buffer);
$buffer = str_replace(array("&amp;&amp;", "&amp;middot", "&amp;nbsp"), array("&&", "·", " ;"), $buffer);
$buffer = str_replace(array("&amp;&amp;", "&amp;middot", "&amp;nbsp"), array("&&", "·", " ;"), $buffer);
        $rewrite_search2[] = $phpbb_root_path;
        $rewrite_replace2[] = "/phpBB3mbt/phpBB3/";
        $rewrite_search2[] = '.php?';
        $rewrite_replace2[] = ".php&amp;";
        $rewrite_search2[] = $forumbase."/";
        $rewrite_replace2[] = "phpBB.php?page=";
        $rewrite_search2[] = $oldurl.'/phpBB.php?page=styles/';
        $rewrite_replace2[] = $siteurl."/".$forumbase."/styles/";
        $rewrite_search2[] = $oldurl.'/phpBB.php?page=../phpBB.php&amp;';
        $rewrite_replace2[] = $oldurl."/phpBB.php?page=ucp.php&amp;";
        $rewrite_search2[] = 'page=ucp.php&amp;page=mcp.php&amp;=&amp;';
        $rewrite_replace2[] = "page=mcp.php&amp;";
        $rewrite_search2[] = 'ucp.php&amp;page=mcp.php&&';
        $rewrite_replace2[] = "mcp.php&amp;";
        $rewrite_search2[] = 'phpBB.php&page=';
        $rewrite_replace2[] = "phpBB.php?page=";
        $rewrite_search2[] = 'phpBB.php&amp;page=';
        $rewrite_replace2[] = "phpBB.php?page=";
        $rewrite_search2[] = $oldurl.'/phpBB.php?page=style.php&amp;sid=';
        $rewrite_replace2[] = $siteurl."/".$forumbase."/style.php?sid=";
        $rewrite_search2[] = $oldurl.'/phpBB.php?page=download/file.php&amp;';
        $rewrite_replace2[] = $siteurl."/".$forumbase."/download/file.php?";
        $rewrite_search2[] = $oldurl.'/phpBB.php?page=images/';
        $rewrite_replace2[] = $oldurl."/".$forumbase."/images/";
        $rewrite_search2[] = 'user.php&amp;';
        $rewrite_replace2[] = "user.php?";
        $rewrite_search2[] = "window.open(url.replace(/&amp;/g, '&amp;'),";
        $rewrite_replace2[] = "window.open(url.replace(/&amp;/g, '&'),";
		$buffer = str_replace($rewrite_search2,$rewrite_replace2,$buffer);
//Restart Output Buffering again
ob_start("ob_gzhandler");
ob_implicit_flush(0);
echo $buffer;
?>


http://a.imageshack.us/img831/5562/mybikes.png
Previous Topic:Installation Stage 4 problem of v2.0b4
Next Topic:Admin blank page
Goto Forum:
  


Current Time: Wed Feb 08 12:42:25 GMT 2012

Total time taken to generate the page: 0.01083 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software