HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[RESOLVED] 2 ocP installations on the same domain - login issue!

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#106059 (In Topic #20690)
Avatar

Well-settled

Greetings!

I just now added a second instance of ocP to my domain - each is in its own directory, children of the public_html document root. No problems with the installation. However, logging into one instance triggers a log out from the other. I've ascertained it's an IP address detection matter. Arvixe support advised me its an ocP config settings matter, and to seek advice back here.

Please can anyone tell me what the required settings should be for permitting concurrent logged in status for both installations? Where are the settings located, and do those settings need to be set in both ocP installations?

Thanks for reading!
Back to the top
 
Posted
Rating:
#106060
Avatar

Fan in action

Just wondrering if this may be a clue as to what's going on.

Advanced techniques for multi-site networks said

If you are using the ocPortal forum system (OCF) as your forum, then it is possible to run OCF from each site, without members even knowing (from a feature and visual point of view) that a multi-site-network is in action. All you need to do to achieve this is to set the forum-base-URL (aka the board-prefix) to that of the central ocPortal site, but enable the option shown in the screen-shot (available under site configuration). Note that if you do this, and you decide to move a site you are connecting to the M.S.N. with, then URLs may be broken for things such as photos, avatars and attachments- as these get uploaded locally and are stored on the forum using full URLs. In other words, they are not stored on the central site if they got uploaded from a member site, thus the other sites get a dependency on the member site's URL scheme.


From http://ocportal.com/docs9/tut_msn.htm


Last edit: by Miket

Regards, Mike.
Back to the top
 
Posted
Rating:
#106066
Avatar

Set cookie paths correctly in info.php


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#106073
Avatar

Well-settled

Many thanks to you both for your kind replies, Mike and Chris!

Chris Graham said

Set cookie paths correctly in info.php
Yes, that was it! My two installations are in directories /ocportal (my original installation) and /research (the new one)

In info.php for "research" I simply changed the cookie path from "/" to "/research" - voilą!

I'm assuming altering the "ocportal" cookie path in the same manner would have no additional impact, so I've left it alone.

Thanks again, and kind regards,
Richard
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: