Solved

Consolidating databases - opencart/phpbb3/mediaWiki (MySQL)

Posted on 2012-03-09
5
665 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
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.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

749 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