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?
Need a bit of help with my install
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
-
- User w
- Posts: 14
- Joined: Sat Oct 14, 2017 2:31 am
Re: Need a bit of help with my install
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 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
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: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
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.
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
- Attachments
-
- Capture3.JPG (98.5 KiB) Viewed 2822 times
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Need a bit of help with my install
hello, little sick yesterday, i just can re-start my life today ...
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:
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.
Code: Select all
$w3reset_cookie_domain = '.phpBB';
If on localhost it need to be:
Code: Select all
$w3reset_cookie_domain = 'localhost';
set cookie domain value as localhost if it isn't, and cookie path as single / (slash)
Save. Logout, Clean cookies, login now.
-
- User w
- Posts: 14
- Joined: Sat Oct 14, 2017 2:31 am
Re: Need a bit of help with my install
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!
Thanks so much for your help, and I hope you're feeling better!