admin Site Admin
Joined: 18 Apr 2006 Posts: 805 Location: Saint-Petersburg, Russia
|
Posted: Mon Jul 23, 2007 2:49 am Post subject: FAQ: easyMod find failed, or can't find in usercp_register |
|
|
Question: With easyMod, I have tried to install Textual Confirmation and it installed some of it, but I got this at the top:
Critical Error
FIND FAILED: In file [includes/usercp_register.php] could not find:
$template->assign_vars(array(
'USERNAME' => isset($username) ? $username : '',
'CUR_PASSWORD' => isset($cur_password) ? $cur_password : '',
MOD script line #162 :: FAQ :: Report
Answer: Your version of phpBB is old, it's very recommended to upgrade it.
For the old version, the code fragment to find is:
Code: |
$template->assign_vars(array(
'USERNAME' => $username,
'CUR_PASSWORD' => $cur_password,
|
Therefore, before installing the MOD, change the file "install.txt":
Change
Code: | 'USERNAME' => isset($username) ? $username : '', |
to
Code: | 'USERNAME' => $username, |
and change Code: | 'CUR_PASSWORD' => isset($cur_password) ? $cur_password : '', |
to
Code: | 'CUR_PASSWORD' => $cur_password, |
_________________ Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development! |
|