A Human wrote: if you add this
include($phpbb_root_path.'config.'.$phpEx);
to both
mod_table_inst.php
attch_update_23x_to_latest.php
Code: Select all
include($phpbb_root_path.'config.'.$phpEx);
Code: Select all
$phpbb_root_path = './../';
include($phpbb_root_path.'extension.inc');
include($phpbb_root_path.'common.'.$phpEx);
Code: Select all
#
#-----[ OPEN ]---------------------------------------------
#
includes/auth.php
#
#-----[ FIND ]---------------------------------------------
# around line 105
case AUTH_ATTACH:
break;
default:
break;
}
#
#-----[ AFTER, ADD ]---------------------------------------
# the Line have to be added AFTER the closing brace
attach_setup_basic_auth($type, $auth_fields, $a_sql);
Code: Select all
($type, $auth_fields, $a_sql);
Code: Select all
www.vrg.be/changed.rar
iluphade wrote: I've uploaded the changed main files and the ones for the subilver template and the athena template to my site:
P.S.: the files named "Kopie van" are the original ones.Code: Select all
www.vrg.be/changed.rar
(I'd prefer someone checked them out first though)
UT MTN BIKER wrote: Thanks, that worked.
However, now when I try to go to the main index page, I am getting this error:
Fatal error: Call to undefined function: attach_setup_basic_auth() in /home/www/xxxx/phpBB2/includes/auth.php on line 111
Any suggestions?
iluphade wrote: I don't have any problems. It works perfectly.
All i'm saying is that i've uploaded the files that need to be changed, so that others don't have to do all the changing manually.
(Offcourse, that is for fresh installs)
(Oh, iff you have the extreme stylez mod, the files have those changes incorporated)
Just trying to save some people the time and effort off doing it themselves.
Actually the problem comes from the presence of the include(db.php) in those both files. I don't see any point of having this line there, at it is already - and correctly - done in common.php. I wouldn't be surprised both the install and the upgrade failed onto phpBB 2.0.18 for this reason. IMHO, simply remove the include($phpbb_root_path . 'includes/db.php');, and all will work without the errors encountered.Jadestone wrote:A Human wrote:
if you add this
include($phpbb_root_path.'config.'.$phpEx);
to both
mod_table_inst.php
attch_update_23x_to_latest.php
i just did a fresh install with CH installed and and i was having problems with the table install.. couldnt connect to database.
by addingafterCode: Select all
include($phpbb_root_path.'config.'.$phpEx);
after that i ran the install/mod_table_inst.php and no problem!Code: Select all
$phpbb_root_path = './../'; include($phpbb_root_path.'extension.inc'); include($phpbb_root_path.'common.'.$phpEx);
since this was a fresh install i had no need to edite the update file.
also i didn`t need to change the permissions to 666.
everything seems to work so far.