Conflict with activeCollab - CMSMS Content Doesn't Display

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
c_head

Conflict with activeCollab - CMSMS Content Doesn't Display

Post by c_head »

I recently started using activeCollab 0.7.1 to manage projects with clients.

If the client is logged in to activeCollab, launching a link to a CMSMS site does not display the {content} block. Everything else loads and shows just fine. With CMSMS debug messages enabled, I can see that the "load properties" function isn't being called ("function $content_id" evidently) when logged in to activeCollab.

I'm assuming there's some variable conflict going on, but can't figure out which or where the CMSMS content retrieval function is being called to troubleshoot and fix this. The only solution I can think of at the moment is to come up with a hodgepodge PHP script to force a logout from activeCollab, wait a bit, then redirect to the website, and use that script as the URL to the target website instead of using HREF to it directly.

There's got to be a proper solution to this. How can I figure out the root cause of this issue? Both activeCollab and the CMSMS site are hosted on the same server but in entirely different directories.

???
Last edited by c_head on Thu Jan 11, 2007 7:22 pm, edited 1 time in total.
c_head

[solved] Conflict with Cookies - CMSMS Content Doesn't Display

Post by c_head »

Issue resolved, but I think it's a workaround for a bug.

CMSMS uses "/" as the default path for session cookies. Evidently, other apps do the same.

If another application has already set a session/cookie for path "/" on the same host, CMSMS sees the cookie and evidently assumes the cookie belongs to it since the path matches what it's looking for. The effect of this assumption is that the CMSMS site loads, but the content block isn't displayed.

In this case, I found where the other app (activeCollab) was assigning its session path and changed it, which solved the issue. However, it seems that this is a CMSMS bug, or at least an item that should be added to the CMSMS config.php file. I host several applications and sites on the same host server, but within separate directories. It seems to me that the session path should reflect the actual path on the host, whether that's determined automatically or manually configured.
Locked

Return to “CMSMS Core”