| 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.
zAzU
[Updated on: Tue, 16 March 2010 02:29] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|