|
#1
|
|||
|
|||
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'; 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'; Can somebody give me any advice of the correct cookies setup for multisite? Best regards. |
#2
|
|||
|
|||
cookie prefix needs to be something unique.
cookie domain needs to be the .sub.name.tld cookie domain needs to be the .name.tld be sure to empty cookies and cache(memcache) afterwards. be sure you are written in the staff list. it actually says that.
__________________
Need HELP!? I can install:
|
#3
|
|||
|
|||
Multiple instances on the same server will have issues due to memcache.
You would need to have multiple instances of memcache running on different ports and change the port number in include/class/class_cache.php |
The Following User Says Thank You to whocares For This Useful Post: | ||
mmgarcia30 (17th January 2015)
|
#4
|
|||
|
|||
Quote:
That has solved the issue. |
Tags |
config , cookies |
|
|