What is your board's URL? Currenly working on localhost
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Updated from 3.1.x to 3.3.7
Do you have any MODs installed? No
Do you have any extensions installed? No
What styles do you currently have installed? Prosilver
What language(s) is your board currently using? Spanish
Which database type/version are you using? MySQL 8.0.27
What is your level of experience? Comfortable with PHP and phpBB
PHP version: 7.4.26
Please describe your problem. I have an external login form for my phpBB board, I recently updated from 3.1.x to 3.3.7 and it stopped working. I get "The submitted form was invalid" message.
This is at the top of my script:
Code: Select all
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './foro/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
And this is my form code:
Code: Select all
<div id="loginbox">
<div class="form-login">
<form action="foro/ucp.php?mode=login" target="_top" method="post" enctype="application/x-www-form-urlencoded">
<label class="form-user" for="username">User</label>
<input type="text" name="username" id="username" /><br />
<label class="form-password" for="password">Password</label>
<input type="password" name="password" id="password" />
<button type="submit" class="buton-login" name="login">Login</button>
</form>
<span><a href="foro/ucp.php?mode=sendpassword">Recover password</a></span>
</div>
</div>
In the past this site had a wikia with tutorials explaining in detail the process to integrate phpBB into your site, but it doesn't seem to exist anymore.