| Installation tutorial (bugs solved) for phpMyBitTorrent2.0.4-repack (phpBB 3.0.5) [message #3728] |
Wed, 10 March 2010 13:18  |
|
Install as explained in setting-up.txt attached
now the bugs:
1. at Stage #3, installation of phpBB3 forum does not start untill you edit install.php from install folder:
search for:
$user = new user();
replace with:
$user =new userbb();
2. most of you should have cookie problems generated from the incompatibility between phpBB 3.0.5 and php 5.3.x version. the forum will use sid (session ID) instead of cookies - in your browser's adress bar, when you point to forum location (eg:http://yourdomain.com/phpBB3/) after login, you'll see sid number in address (eg: http://yourdomain.com/phpBB3/index.php?sid=a8671a77946a0ee29 ea73abec4b441). due to this error, you will not be able to login to integrated forum.
the fix:
includes/functions.php
#
#---- [FIND] ----
#
if (!isset($_REQUEST[$var_name]) || (is_array($_REQUEST[$var_name]) && !is_array($default)) || (is_array($default) && !is_array($_REQUEST[$var_name])))
#
#---- [REPLACE WITH] ----
#
$super_global = ($cookie) ? '_COOKIE' : '_REQUEST';
if (!isset($GLOBALS[$super_global][$var_name]) || is_array($GLOBALS[$super_global][$var_name]) != is_array($default))
#
#---- [FIND] ----
#
$var = $_REQUEST[$var_name];
#
#---- [REPLACE WITH] ----
#
$var = $GLOBALS[$super_global][$var_name];
#
#---- [SAVE] ----
#
#
#---- [OPEN] ----
#
styles\xxxxxx\template\posting_smilies.html
#
#---- [FIND] ----
#
<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true, true); return false;">
#
#---- [REPLACE WITH] ----
#
<a href="#" onclick="initInsertions();insert_text('{smiley.A_SMILEY_CODE}', true, true); return false;">
#
#---- [SAVE] ----
#
#
#---- [OPEN] ----
#
includes/functions_privmsgs.php
#
#---- [FIND] ----
#
unset($rowset[$id]);
#
#---- [REPLACE WITH] ----
#
unset($rowset[$i]);
#
#---- [SAVE] ----
#
that should do the trick.
any other fixes i'll find should be published here, in this topic.
[Updated on: Tue, 16 March 2010 02:29] by Moderator zAzU
|
|
|
|
|
|
| Re: Installation tutorial (bugs solved) for phpMyBitTorrent2.0.4-repack (phpBB 3.0.5) [message #3793 is a reply to message #3728] |
Thu, 01 April 2010 12:37  |
|
I have made it to step 3 and then it's stop.
I have these files in phpBB3 install folder, install_install.php and install_main.php and install_convert
so in what file am i going to change to $user =new userbb();
I have tried to find it but no luck...
Or is it in index.php in install folder? There i can find the row?
And yes i'm pretty new to this.
EDIT: I got i to work, thanx anyway.
[Updated on: Thu, 01 April 2010 12:58]
|
|
|