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 (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 (94.45 KiB) Viewed 2820 times
- Attachments
-
- Capture3.JPG (98.5 KiB) Viewed 2820 times
[quote=axew3 post_id=2418 time=1508319807 user_id=48]
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
[/quote]
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.
[quote=axew3 post_id=2418 time=1508319807 user_id=48]
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
[/quote]
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:
[attachment=0]Capture.4JPG.JPG[/attachment]
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.
[quote=axew3 post_id=2418 time=1508319807 user_id=48]
how you have install phpBB and WP into your localhost? which folders path?
[/quote]
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
[attachment=1]Capture2.JPG[/attachment]