I am new to phpBB, having just installed it for my church's web site. I, too, am getting this error:action_bastard wrote:I like this mod. For some reason its stopped working for me. I get a blank page with
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1441: mb_ereg_search_init() [function.mb-ereg-search-init]: mbregex compile err: premature end of char-class
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1442: mb_ereg_search() [function.mb-ereg-search]: No regex given
at the top after trying to complete the add user.
I don't speak this language, can someone translate for me?
I'm using 3.0.1
Thanks.
Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1443: mb_ereg_search_init() [function.mb-ereg-search-init]: mbregex compile err: premature end of char-class
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 1444: mb_ereg_search() [function.mb-ereg-search]: No regex given
Code: Select all
<dd><input type="password" name="password_confirm" id="password_confirm" maxlength="255" value="{DEFAULT_PASS}" class="inputbox" title="{L_CONFIRM_PASSWORD}" /></dd>
</dl>
<dl>
As far as I can tell, it's a problem with this MOD because it appears when I use the Add User MOD. It's the only MOD I've installed as yet. Except for some configuration and setup, this is vanilla 3.0.3. Hence I'm inquiring here first.Highway of Life wrote:Is that an error with this MOD? -- reason I ask is that if it might not be, your best bet would be to open a new topic in the Support Forum, that way you'll get a much faster reply/response, whereas we would be trying to find out where the problem is within this MOD and could be chasing our tails for a while. -- I’ve never seen that particular error before, which makes me think it’s either from another MOD, or it’s from some server misconfiguration.
Code: Select all
Open: /includes/acp/acp_add_user.php
FIND:
$data = array(
BEFORE, ADD
$default_pass = $config['default_password'];
Code: Select all
#
#------[ SQL ]------------------------------------------------
#
# NOTE: If phpbb_ is not your database's prefix_ adjust accordingly.
#
INSERT INTO phpbb_config (config_name, config_value) VALUES ('default_password', 'Default Password, Please Change');
Code: Select all
Open: /includes/acp/acp_add_user.php
FIND:
$default_pass = $config['default_password'];
REPLACE WITH:
$default_pass = $user->lang['DEFAULT_PASS'];
the new_password and password_confirm array structure is different. I'm going to try making password_confirm look like new_password in order to determine if the errors (same as JeffF, Dec 16) will go away.rklesla wrote:Code: Select all
'new_password' => array( array('string', false, $config['min_pass_chars'], $config['max_pass_chars']), array('password')), 'password_confirm' => array('string', false, $config['min_pass_chars'], $config['max_pass_chars']),