Icy Phoenix

     
 


Tags And Keywordsacp, cookie, domain, script path

Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post
Post ACP - Configuring Domain / Script Path / Cookie Settings 
 
There are lot's of times that users post icy problems, that solution are refered to wrong cookie settings

So in this topic, u'll learn how to configure it

Written By: Marshalrusty


Overview

  • In this article I will explain how to:
              o Use Geocator's Auto Cookies MOD to automatically fix cookie settings
              o Manually configure the settings by directly editing the config table in the database
        
  • These are some "symptoms" of incorrect cookie settings:
              o You are redirected to a blank page or 404 page after logging in, but if you click back, you are logged in
              o You are redirected to a blank screen or 404 page when trying to access the administration panel
              o You have to enter your username/password more than once to successfully login
              o You are redirected to other locations when logging in or entering the administration panel

Automatic Fix

          1. Download the Auto Cookies MOD
          2. Use WinRAR or WinZip to extract the 'install' folder and upload it to your forum's root folder (the one with config.php)
          3. Run cookie.php by navigating to it in your browser (http://www.example.com/{phpbb_root}/install/cookie.php)
          4. Save the settings suggested by the script (see the explanation below for more information on the proper configuration)
          5. Delete the install folder
          6. Clear your browser's cookies and cache. Restart your browser
          7. Test
  • If the suggested settings do not work, be sure to read the explanation below. The MOD can on occasion make a mistake.


Explanation/Manual Fix

  • In most cases, the suggested settings provided by the Auto Cookie MOD (above) are correct, however if you wish to learn how the settings are derived or to double check the settings provided by the MOD, here is an explanation. Below are three scenarios with correct cookie settings. Use them as a model to set your own.

       1. Board location: http://www.example.com/board/
          Your settings should be:


          Domain Name: http://www.example.com (Note that the domain doesn't include 'http://', which is a protocol)
          Script Path: /board/ (Simply the path to the folder with a trailing slash)
          Cookie Domain: .example.com (Note the dot in front; the cookie domain always needs to have 2 dots)
          Cookie Path: /board (This is the script path without the trailing slash)
          Cookie Name: example_cookie (This can be anything (no spaces or periods). Make it original)
          Session Length (seconds): 3600 This can be different, but an hour (3600 seconds) is a good number)

       2. Board location: http://forums.example.net/
          Your settings should be:


          Domain Name: forums.example.net (Note that the domain doesn't include 'http://', which is a protocol)
          Script Path: / (Since there are no additional directories, just a slash)
          Cookie Domain: forums.example.net (Two dots are already present, hence no preceding dot is necessary)
          Cookie Path: / (This is the script path without the trailing slash)
          Cookie Name: example_cookie (This can be anything (no spaces or periods). Make it original)
          Session Length (seconds): 3600 (This can be different, but an hour is a good number)

       3. Board location: http://www.example.co.uk/icy/
          Your settings should be:


          Domain Name: http://www.example.co.uk (Note that the domain doesn't include 'http://', which is a protocol)
          Script Path: /icy/ (Simply the path to the folder with a trailing slash)
          Cookie Domain: example.co.uk (Two dots are already present, hence no preceding dot is necessary)
          Cookie Path: /icy(This is the script path without the trailing slash)
          Cookie Name: example_cookie (This can be anything (no spaces or periods). Make it original)
          Session Length (seconds): 3600 (This can be different, but an hour is a good number)

 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML

HideSimilar Topics





 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron