Important!
Please submit all bugs to IPBWI-Bugtracker. If you want to support this project or even want to get IPBWI installed on your server, please visit Sponsor Informations Page.
![]() ![]() |
Feb 20 2010, 23:01
Post
#1
|
|
|
Rookie Group: Active Member Posts: 5 Joined: 20-February 10 Member No.: 4 878 |
Hello all,
I'm having a problem with the member login function. In fact, I manage to login either with the examples member login script or with the one I developed. However, I'm automatically disconnected when I get to another page. Do you think it might be a configuration problem? Anything related with cookies? Does anyone experience the same kind of trouble? Thx, Kevin |
|
|
|
Feb 21 2010, 1:40
Post
#2
|
|
|
Forensklave ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 8 794 Joined: 12-May 03 From: Hamburg / Germany Member No.: 1 |
seems to be a configuration problem. please paste in the following here:
cookie's domain you've set in your board ipbwi's installation domain board's installation domain |
|
|
|
Feb 21 2010, 2:24
Post
#3
|
|
|
Rookie Group: Active Member Posts: 5 Joined: 20-February 10 Member No.: 4 878 |
Here is my conf file :
CODE <?php /** * @desc Please edit this configuration file to get your ipbwi installation work. * @copyright 2007-2010 IPBWI development team * @package config * @author Matthias Reuter ($LastChangedBy: matthias $) * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License * @version $LastChangedDate: 2009-08-26 19:19:41 +0200 (Mi, 26 Aug 2009) $ * @since 2.0 * @link http://ipbwi.com * @ignore */ /** * The full qualified filesystem path to the folder of your IPB installation. * You must add a trailing slash. * * Example path: '/home/public_html/community/forums/' */ if(!defined('ipbwi_BOARD_PATH')){ define('ipbwi_BOARD_PATH', $_SERVER['DOCUMENT_ROOT']."/forum/"); } /** * The full qualified filesystem path to the folder of your IPBWI installation. * You must add a trailing slash. * * Example path: '/home/public_html/website/ipbwi/' */ if(!defined('ipbwi_ROOT_PATH')){ define('ipbwi_ROOT_PATH', $_SERVER['DOCUMENT_ROOT']."/ipbwi/"); } /** * The base-URL of your website. This is needed to get the live-examples viewed properly. * You must add a trailing slash. * * Example url: 'http://ipbwi.com/examples/' */ if(!defined('ipbwi_WEB_URL')){ define('ipbwi_WEB_URL','http://127.0.0.1:8888/examples/'); } /** * Make login possible on a different domain as the domain where the board is installed. * * If not set, the board's cookie domain will be used. * Do not touch this setting, if you don't know how to use it. * * Please insert a dot before the domain. * Example: .domain.com * Example for subdomain: .site.domain.com */ if(!defined('ipbwi_COOKIE_DOMAIN')){ define('ipbwi_COOKIE_DOMAIN','127.0.0.1'); } /** * IP.board 2 does not support natively UTF-8 character encoding. * Turn this option to true, if you want to get all output-strings * in UTF-8 encoding, otherwise turn to false to get them in ISO encoding. */ if(!defined('ipbwi_UTF8')){ define('ipbwi_UTF8',true); } /** * If you want to define another prefix for ipbwi-tables in your board's database, * you are able to define it here. */ if(!defined('ipbwi_DB_prefix')){ define('ipbwi_DB_prefix','ipbwi_'); } /** * The Default IPBWI Language Pack. * * Language packs should be named XX.inc.php where 'XX' is the * language and be situated in the lib/lang/ folder. * By default, this uses the "en" (English) language pack. */ if(!defined('ipbwi_LANG')){ define('ipbwi_LANG','en'); } /** * Set a forced encoding. * * If you set a encoding here this encoding will be forced instead * of the encoding that is given in the language pack you use. * By default false * e.g. give value like 'ISO-8859-1' * Notice: This will also overwrite ipbwi_UTF8! */ if(!defined('ipbwi_OVERWRITE_ENCODING')){ define('ipbwi_OVERWRITE_ENCODING', false); } /** * Set a forced localisation. * * If you set a localisation here this localisation will be forced * instead of the localisation given in the language pack you use. * By default false * e.g. give value like 'de_DE' * More informations: http://php.net/setlocale */ if(!defined('ipbwi_OVERWRITE_LOCAL')){ define('ipbwi_OVERWRITE_LOCAL', false); } /** * The IPBWI captcha mode. * * Choose between 'gd' for forcing a GD based captcha, 'recaptcha' for using reCaptcha. * Otherwise you can choose 'auto', this will take * the method that is configured in * your IP.Board. */ if(!defined('ipbwi_CAPTCHA_MODE')){ define('ipbwi_CAPTCHA_MODE','auto'); } /** * The recaptcha private key from the board */ if(!defined('ipbwi_RECAPTCHA_PRIVATE_KEY')){ define('ipbwi_RECAPTCHA_PRIVATE_KEY', '6LcpWAMAAAAAAETX5jHd9NlPtIHJA4G-ra3X2RQB'); } /** * The recaptcha public key from the board */ if(!defined('ipbwi_RECAPTCHA_PUBLIC_KEY')){ define('ipbwi_RECAPTCHA_PUBLIC_KEY', '6LcpWAMAAAAAAA4klDtDNuDH6LsGgBX5mBoJ3naK'); } /** * Set on 'true' if you use the IPBWI in your IPB installation, otherwise 'false' */ if(!defined('ipbwi_IN_IPB')){ define('ipbwi_IN_IPB', true); } ?> As I'm working in local, I tried different COOKIE_DOMAIN. No one found out my problem! Any idea? |
|
|
|
Feb 21 2010, 2:28
Post
#4
|
|
|
Rookie Group: Active Member Posts: 5 Joined: 20-February 10 Member No.: 4 878 |
Problem fixed. I changed my board cookie domain to: 127.0.0.1.
Thx for all! |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 30th July 2010 - 15:59 |
| Skin By: atsaunier Winxperts.net |