Thread: Cookies Config.
View Single Post
  #1  
Old 12th January 2015, 02:47
mmgarcia30 mmgarcia30 is offline
Member
 
Join Date: Jan 2015
Spain
Posts: 10
Default Cookies Config.
Hi mates

I has succesfully deployed a U-232-V4 tracker in a vhost in our server (test.domain.com). After uploading some themes and after I has began a translation, I have found that some graphics dont show fine.

So I decided to install a new instance with U-232-v3 in another vhost in the same server (demo.domain.com), just to try a few things in V3.

Obviously each version has his own mysql DB, user and pasword

After installing the V3 site, I am only able to log in the V3 site. After Googling a bit in this forum and in U-232 Forum both suggest modify the includeconfig.php.

Ive tried to modify the includeconfig.php file in the section Cookies for both sites as follow.

For the test site this is the config:

Code:
//== Cookie setup
$INSTALLER09['cookie_prefix'] = 'test'; // This allows you to have multiple trackers, eg for demos, testing etc.
$INSTALLER09['cookie_path'] = ''; // ATTENTION: You should never need this unless the above applies eg: /tbdev
$INSTALLER09['cookie_domain'] = '.domain.com'; // set to eg: .somedomain.com or is subdomain set to: .sub.somedomain.com
$INSTALLER09['domain'] = '.domain.com';
And for the demo site:

Code:
//== Cookie setup
$INSTALLER09['cookie_prefix'] = 'demo'; // This allows you to have multiple trackers, eg for demos, testing etc.
$INSTALLER09['cookie_path'] = ''; // ATTENTION: You should never need this unless the above applies eg: /tbdev
$INSTALLER09['cookie_domain'] = '.domain.com'; // set to eg: .somedomain.com or is subdomain set to: .sub.somedomain.com
$INSTALLER09['domain'] = '.domain.com';
Taken a clooser look to my google chrome cookies, seems that some cookies from both sites are overlaping.

Can somebody give me any advice of the correct cookies setup for multisite?

Best regards.
Reply With Quote