Need a bit of help with my install

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: Need a bit of help with my install

Re: Need a bit of help with my install

by 71Corvette » Sat Oct 21, 2017 12:37 am

Success!!! It looks like it was the cookie setting that was wrong. I updated it in phpBB and everything is working perfectly.

Thanks so much for your help, and I hope you're feeling better!

Re: Need a bit of help with my install

by axew3 » Fri Oct 20, 2017 9:15 am

hello, little sick yesterday, i just can re-start my life today ...

Code: Select all

$w3reset_cookie_domain = '.phpBB';
no this is not the setting, cookie domain need to refer to the domain you are on, not to the folder where you've install phpBB!
If on localhost it need to be:

Code: Select all

$w3reset_cookie_domain = 'localhost';
if it isn't already, the same setting you need to put into your cookie domain setting in phpBB ACP-> Server configuration -> Cookie setting -> Cookie domain:
set cookie domain value as localhost if it isn't, and cookie path as single / (slash)
Save. Logout, Clean cookies, login now.

Re: Need a bit of help with my install

by 71Corvette » Thu Oct 19, 2017 2:53 am

axew3 wrote: Wed Oct 18, 2017 9:43 am we speak about localhost test ...on online setting i have to suggest you to change: 1) It not need to be http://www.forum.corvette-restoration.com/ but http://forum.corvette-restoration.com/, remove www. in front. 2) your phpBB need to be served as https, as your WP is. Change this into your phpBB acp settings. A cookie released under https, isn't available as http, and viceversa. Check that when you link phpBB from external pages, you should link it with https, or to avoid any problem, you should set your htaccess to rewrite any http request, to be https
Thanks, I'll definitely give these settings a shot when I upload my wordpress site to my webhost. I'm hoping to get it working on my localhost before uploading it to the web thought.
axew3 wrote: Wed Oct 18, 2017 9:43 am about localhost test, check that seem to be a cookie setting problem (as ever). Check that phpBB have localhost as domain x cookies (or x example .mydomain in more advanced localhost server's config, but i assume isn't your case). Logout, Clean cookies on your browser. Re-login
I'm not sure I follow exactly what you mean here. Here's a screenshot of my cookie settings on my forum running on my localhost:
Capture.4JPG.JPG
Capture.4JPG.JPG (51.48 KiB) Viewed 2820 times
The cookie domain is: ".phpBB"
I also tried the cookie domain as: "phpBB" (without the . in the front) but the result was the same - I still can't log into WP-Admin.

I've tried deleting cookies through my web browser but that did not help. I also went into wp_w3all.php and removed the // in front of the line to reset cookies and updated the line to read: $w3reset_cookie_domain = '.phpBB';

I reloaded my website, added the // back to the wp_w3all.php file and then tried to log in. Again, nothing changed.
axew3 wrote: Wed Oct 18, 2017 9:43 am how you have install phpBB and WP into your localhost? which folders path?
The full path for my localhost installation are as follows:

WP: C:\xampp\htdocs\wordpress02
phpBB: C:\xampp\htdocs\phpBB

In the "settings" section of Wordpress I have the following information entered for WP

Path: C:/xampp/htdocs/phpBB
URL: localhost/phpBB
Capture2.JPG
Capture2.JPG (94.45 KiB) Viewed 2820 times
Attachments
Capture3.JPG
Capture3.JPG (98.5 KiB) Viewed 2820 times

Re: Need a bit of help with my install

by axew3 » Wed Oct 18, 2017 9:43 am

we speak about localhost test ...on online setting i have to suggest you to change: 1) It not need to be http://www.forum.corvette-restoration.com/ but http://forum.corvette-restoration.com/, remove www. in front. 2) your phpBB need to be served as https, as your WP is. Change this into your phpBB acp settings. A cookie released under https, isn't available as http, and viceversa. Check that when you link phpBB from external pages, you should link it with https, or to avoid any problem, you should set your htaccess to rewrite any http request, to be https, check this:
Sometime i result suddenly logged out/in ... why? (http/https)

about localhost test, check that seem to be a cookie setting problem (as ever). Check also that phpBB have localhost as domain x cookies (or x example .mylocaldomain.com in more advanced localhost server's config, but i assume isn't your case). Logout, Clean cookies on your browser. Re-login

how you have install phpBB and WP into your localhost? which folders path?

Re: Need a bit of help with my install

by 71Corvette » Wed Oct 18, 2017 12:30 am

Thanks again for the quick responses
axew3 wrote: Mon Oct 16, 2017 5:36 pm possibly these will solve:
1) are you using the wordpress/wp-login.php page? or a plugin or theme login page (that by the way should work in any case)
Yes, I'm using the wp-login.php page. It's the default wordpress login page.
axew3 wrote: Mon Oct 16, 2017 5:36 pm 2) have you try to reset the pass, so login? Are you using the phpBB pass of the user, or the WP pass? Use phpBB pass until you not reset or update, and all should work.
I've reset the username and password for wordpress and the forum to be the same. If I manually deactivate the config file for WP phpBB I can successfully log into both my forum and my wordpress site using the same username and password.

As a test I logged into WP-admin and activated the WP phpBB plugin on the plugin page. As soon as I activated the plugin I got dumped out of the administration panel and redirected to my site's home page. I'm not able to log back into my wordpress site afterwards.

Re: Need a bit of help with my install

by axew3 » Mon Oct 16, 2017 5:36 pm

possibly these will solve:
1) are you using the wordpress/wp-login.php page? or a plugin or theme login page (that by the way should work in any case)
2) have you try to reset the pass, so login? Are you using the phpBB pass of the user, or the WP pass? Use phpBB pass until you not reset or update, and all should work.

Top