New posts appear on both sites - after a site replication

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
warmweer
Registered User
Posts: 2744
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: New posts appear on both sites - after a site replication

Post by warmweer » Wed Sep 18, 2019 4:31 pm

nguyen2075 wrote:
Wed Sep 18, 2019 4:19 pm
So it seems our customized code have been lost. Does the convertor even try to convert/update/merge customized files that we had in 2.x to 3.x?
No, because the convertor uses phpBB3 files and converts the 2.0 database no a 3.x database. I'm not even sure an autoupdate (which does modify existing files) would be able to transfer phpbb2 code).
If you did by any chance use autoupdate, it means you didn't follow update instructions and in that case who knows what the result is, and should start over again.
My board's not broken, it just went peculiar

nguyen2075
Registered User
Posts: 13
Joined: Thu Sep 05, 2019 11:37 pm

Re: New posts appear on both sites - after a site replication

Post by nguyen2075 » Wed Sep 18, 2019 4:49 pm

Ok. Thanks.

So the phpbb2 to phbbb3 convertor only converts the database and not do anything about customized code.

So I think I need to now merge the customized authentication code to the PHPBB3 installation.

User avatar
janus_zonstraal
Registered User
Posts: 3624
Joined: Sat Aug 30, 2014 1:30 pm

Re: New posts appear on both sites - after a site replication

Post by janus_zonstraal » Wed Sep 18, 2019 4:58 pm

The code automatically logon the user to the board w/o prompting for the password.
I think this is normal behaviour also for a 3.2.7 board.
Are your cookies setting OK?
Sorry! My English is bat ;) !!!

User avatar
warmweer
Registered User
Posts: 2744
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: New posts appear on both sites - after a site replication

Post by warmweer » Wed Sep 18, 2019 5:02 pm

nguyen2075 wrote:
Wed Sep 18, 2019 4:49 pm
So I think I need to now merge the customized authentication code to the PHPBB3 installation.
I doubt it. It's very unlikely that (php)code which worked on phpBB2 will work on phpBB3.2
I'm fairly certain that the code will have to be rewritten. Perhaps an existing extension could be used as a framework to create the autologin you want but I doubt that's even necessary since your users are authenticated on their PCs, so they can just as well tick the "remember me" on first login.
My board's not broken, it just went peculiar

nguyen2075
Registered User
Posts: 13
Joined: Thu Sep 05, 2019 11:37 pm

Re: New posts appear on both sites - after a site replication

Post by nguyen2075 » Wed Sep 18, 2019 5:25 pm

Oh, if "Remember me" works, I may be able to do away with having to merge/recode our authentication.

Thanks

nguyen2075
Registered User
Posts: 13
Joined: Thu Sep 05, 2019 11:37 pm

Re: New posts appear on both sites - after a site replication

Post by nguyen2075 » Tue Oct 08, 2019 8:52 pm

Hi,

This is an update ...

The "Remember me" check box helps. But I still had to do the logon after I terminated my browser. But after installing the extension remember_me_checked_default, it works great!!! I don't have to do the logon after terminating the browser.

Thank you all for the support.

nguyen2075
Registered User
Posts: 13
Joined: Thu Sep 05, 2019 11:37 pm

Re: New posts appear on both sites - after a site replication

Post by nguyen2075 » Tue Oct 08, 2019 9:32 pm

Actually, for Chrome, I don't have to logon after terminating it. But for IE, it still prompts for me to logon. There must be some switches in IE that affect this behavior.

nguyen2075
Registered User
Posts: 13
Joined: Thu Sep 05, 2019 11:37 pm

Re: New posts appear on both sites - after a site replication

Post by nguyen2075 » Wed Oct 09, 2019 2:34 pm

After I turn off "Delete browsing history on exit" in IE, that resolved the problem.

Post Reply

Return to “[3.2.x] Support Forum”