Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2802

[3.3.x] Support Forum • Re: Restore .sql backup and html directory.

$
0
0
If it's 3.3.X don;t worry about STK. A MariaDB export is MySQL compatible.

Long directions for transferring board to new domain:

Transferring Your Board to a New Host or Domain

The short version:

Populate the database using phpMyadin or SSH, the how is dependent on your host. Consult their documentation

Upload the files. Open config.php in phpBB root and change the DB credentials.

Should be working. If you are getting errors try this SQL first, otherwise post the errors/issue here.

Code:

UPDATE `phpbb_config` SET `config_value` = '0' WHERE `phpbb_config`.`config_name` = 'force_server_vars'; 

Once everything is working directions can be found here for updating to latest: https://www.phpbb.com/support/docs/en/3 ... date_full/


If you don't have founder account you can use this to change it:

In phpMyAdmin, run the following, which will create an admin user named Admin1 with a password of admin. From that point you should be able to get into the ACP.

Code:

INSERT INTO phpbb_users (user_type, group_id, username, username_clean, user_regdate, user_password, user_email, user_lang, user_style, user_rank, user_colour, user_posts, user_permissions, user_ip, user_birthday, user_lastpage, user_last_confirm_key, user_post_sortby_type, user_post_sortby_dir, user_topic_sortby_type, user_topic_sortby_dir, user_avatar, user_sig, user_sig_bbcode_uid, user_jabber, user_actkey, user_newpasswd) VALUES (3, 5, 'Admin1', 'admin1', 0, '21232f297a57a5a743894a0e4a801fc3', 'admin@example.com', 'en', 1, 1, 'AA0000', 1, '', '', '', '', '', 't', 'a', 't', 'd', '', '', '', '', '', '');
Change your table prefix if it is not phpbb_

See Executing SQL Queries in phpMyAdmin if you are unfamiliar with running database queries.

As soon as you have done this, use the temporary admin account to change the details on the original admin account, then delete the temporary account.
This is because:
  1. anyone could use that account to log in to your board if you didn't change the password.
  2. this temporary user has not been fully set up (e.g. it is not a member of the "Registered users" group, so it won't have normal access to your forums).
To remove the account you will first need to remove ???founder??? status from it: ACP > USERS AND GROUPS tab > Manage Users > Admin1 > Overview > Founder = No


Run this SQL to find and remove founders set by previous owner, this should only return results for your account. Remove the others by looking the user up in phBB's ACP, on main page for the user lookup is selection to set/unset as founder.

Code:

SELECT * FROM `phpbb_users` WHERE `user_type` = 3 
Founders are super admins and have complete access to ACP regardless of any other permissions.

Statistics: Posted by thecoalman — Sat Feb 08, 2025 8:33 pm



Viewing all articles
Browse latest Browse all 2802

Trending Articles