Solved

Consolidating databases - opencart/phpbb3/mediaWiki (MySQL)

Posted on 2012-03-09
5
661 Views
Last Modified: 2012-06-27
I am building a site that uses opencart as the main site with links to the wiki (MediaWiki) and the forum (phpbb3). I would like to consolidate everything so the user only has to log in once.

mySQL db.

How can I do this? I will be working with a clean db so no need for user migrations.




thanks
0
Comment
Question by:DantechIT
  • 3
  • 2
5 Comments
 
LVL 24

Expert Comment

by:johanntagle
ID: 37704459
What you need to do is implement a single sign-on solution such as openid, CAS or oauth.  Check which one is supported by all 3 (they are usually supported via add-on modules).  Hopefully, there's one openid/cas/oauth implementation that can read from opencart's database.  If not, you need to construct a separate signup solution.
0
 

Author Comment

by:DantechIT
ID: 37706043
So there is no way I can tell it to use the same db  and share the user tables? Like use a different prefix except for the user stuff. Or edit the program to use the same content?
0
 
LVL 24

Accepted Solution

by:
johanntagle earned 500 total points
ID: 37706181
It should be possible, but that will likely mean the user still has to log on when he moves from opencart to the other site.  Unless, you also share the session database.  Using a single sign-on solution is really the way most people would handle such a requirement.
0
 

Author Closing Comment

by:DantechIT
ID: 37761321
I'm having someone code the php to share the data and sessions.
0
 
LVL 24

Expert Comment

by:johanntagle
ID: 37761922
Well, I hope it works out for you.  Just try to make it so that you don't have to recode the solution if and when you upgrade on or more of the components.  Thanks.
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question