PDA

View Full Version : Domain / Subdomain


Carey Design Studio
01-24-2008, 04:05 PM
Hello -

First of all, great calendar. Well worth the price. :clap:

Have a question though. I have the calendar up and running on a site. Client has a new site setup on the same server as a subdomain. Client wants to be able to manage the one calendar and have it appear on both sites (ie. same database, style, etc).

Right now I am getting the license key error on the second site. I have seen a discussion about using a simple redirect to the first site's calendar page, but client wants both calendars to display within the "skin" of each respective site.

A redirect from "site 2" will merely take me to "site 1". I need to have the calendar from "site 1" displayed ON "site 2" not redirected from "site 2" to "site 1".

Any thoughts on how to use the same database across two sites that share the same host/db?

Thanks in advance for your help!

Regards,
Tim Carey
Carey Design Studio
http://www.careydesignstudio.com
info@careydesignstudio.com

Brian
01-24-2008, 08:28 PM
You can share a SQL database between the two calendars. If the sites are not mirror images or one-another, you'll need a license for each site.

Carey Design Studio
01-24-2008, 09:28 PM
So if I were to create another page on "site 1" that had the style of "site 2" then I could use the calendar twice (as long as it is part of the same domain)?

If so, I can do that. Let me know if my thinking is correct.

Tim

Brian
01-25-2008, 11:23 AM
The calendar is licensed to a domain. The only exception is parked domains.

FAQ:

https://www.easyphpcalendar.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=34

As long as the second calendar if for the same group/organization, you would only need one license.

Carey Design Studio
01-25-2008, 03:36 PM
OK, so I purchased the second license and installed it on the server. So now I have two sites with two calendars. Now how do I get both calendars to talk to the same mySQL database?

My client wants to be able to manage both calendars via one action, so hopefully this can be done from either calendar control panel?

Thanks in advance for your help!

Tim

Brian
01-25-2008, 03:55 PM
Just enter the same mySQL database information in both Setup Managers. Then they will both connect to and manage events in the one database.

Carey Design Studio
01-25-2008, 04:00 PM
Thanks, but I just found out when I logged into the original calendar cpanel that this is a flat file setup. How do I do this, since the flat file is on the other domain?

Brian
01-25-2008, 04:01 PM
You're going to need to use mySQL to share the same database.

Carey Design Studio
01-25-2008, 04:04 PM
Thanks. Any way to transfer existing data from the file into mySQL?

Brian
01-25-2008, 06:03 PM
There's not a built-in way to do this. You may be able to import the flat-file into Excel then import that into mySQL, but you'd need to be somewhat familiar with those programs to do that.

ve9gra
01-26-2008, 07:35 PM
I can convert your file for you. You'll end up with a .sql file that you can import using phpMyAdmin or any other mySQL administration tools. Contact me using the link below (or attach your flat-file to this thread).