Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 63: Missing argument 2 for request_var(), called in /includes/ucp/ucp_register.php on line 437 and defined
Warning: Cannot modify header information - headers already sent by (output started at /home/www/z123160/forum/includes/functions.php:3257) in /home/www/z123160/forum/includes/functions.php on line 3883
Warning: Cannot modify header information - headers already sent by (output started at /home/www/z123160/forum/includes/functions.php:3257) in /home/www/z123160/forum/includes/functions.php on line 3885
Warning: Cannot modify header information - headers already sent by (output started at /home/www/z123160/forum/includes/functions.php:3257) in /home/www/z123160/forum/includes/functions.php on line 3886
Warning: Cannot modify header information - headers already sent by (output started at /home/www/z123160/forum/includes/functions.php:3257) in /home/www/z123160/forum/includes/functions.php on line 3887
Code: Select all
$lar = request_var('lar');
$lar_message = $config['lar_message'];
if ($config['lar_users'] == 0 && $config['lar_enable'] == 1 && $lar == 1){
$auth->login($data['username'], $data['new_password']);
I had the exact same problem, 'fixed' it by deleting the first line in the last code-part containing:romeo_piter wrote:I tried 1.0.0 version. It works, but redirect doesn't work.
Now I finally installed 1.0.2 and I have the following problem:Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 63: Missing argument 2 for request_var(), called in /includes/ucp/ucp_register.php on line 437 and defined Warning: Cannot modify header information - headers already sent by (output started at /home/www/z123160/forum/includes/functions.php:3257) in /home/www/z123160/forum/includes/functions.php on line 3883 Warning: Cannot modify header information - headers already sent by (output started at /home/www/z123160/forum/includes/functions.php:3257) in /home/www/z123160/forum/includes/functions.php on line 3885 Warning: Cannot modify header information - headers already sent by (output started at /home/www/z123160/forum/includes/functions.php:3257) in /home/www/z123160/forum/includes/functions.php on line 3886 Warning: Cannot modify header information - headers already sent by (output started at /home/www/z123160/forum/includes/functions.php:3257) in /home/www/z123160/forum/includes/functions.php on line 3887
In /includes/ucp/ucp_register.php line 437 I have:
And redirect still doesn't work.Code: Select all
$lar = request_var('lar'); $lar_message = $config['lar_message']; if ($config['lar_users'] == 0 && $config['lar_enable'] == 1 && $lar == 1){ $auth->login($data['username'], $data['new_password']);
PS forum version - 3.0.5
Code: Select all
$lar = request_var('lar');
Code: Select all
$message = $message . '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . append_sid("{$phpbb_root_path}index.$phpEx") . '">', '</a>');
trigger_error($message);
Code: Select all
$auth->login($data['username'], $data['new_password']);
comkidwizzer3 wrote:I have now submitted an update to make this work with phpBB3.0.6 to the MODDB, for those who need it, here:
OPEN: includes/ucp/ucp_register.php
FIND:BEFORE ADD:Code: Select all
$message = $message . '<br /><br />' . sprintf($user->lang['RETURN_INDEX'], '<a href="' . append_sid("{$phpbb_root_path}index.$phpEx") . '">', '</a>'); trigger_error($message);
Code: Select all
$auth->login($data['username'], $data['new_password']);