Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Demos
Documentation
Forums
Contact Us
Download
Purchase
Quotes

" ... I want to tell you that your thyme product is functional and valuable beyond words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."

" ... Thanks for such a complete project, its making my job much easier. ..."

" ... I have now deployed 4 different calendars and our users love them ... "

" ... Easy to install and use and a great look/design. ..."

" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
link 2 calendars to one database

 
Post new topic   Reply to topic     Forum Index -> General
View previous topic :: View next topic  
Author Message
Andyy



Joined: 24 Jul 2007
Posts: 27
Location: Huddersfield UK

PostPosted: Fri Aug 15, 2008 5:09 pm    Post subject: link 2 calendars to one database Reply with quote

I have 2 calendars with their own licence keys.
Is it possible to link these 2 calendars from different domain names to one database?

Thank you for your help

Andrew
Back to top
View user's profile Send private message Send e-mail Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5160

PostPosted: Fri Aug 15, 2008 6:14 pm    Post subject: Reply with quote

Hi Andrew,

Just so I'm absolutely clear, you want 2 different installations of Thyme to see the same events?
Back to top
View user's profile Send private message Visit poster's website
Andyy



Joined: 24 Jul 2007
Posts: 27
Location: Huddersfield UK

PostPosted: Fri Aug 15, 2008 6:36 pm    Post subject: reply Reply with quote

yes but I have 2 calendars on different domain names.
When I remote the db on the 1 to the other I get the wrong licence key issue

I can only see having to put both cal on the same server and hotlinking to the cal direct

Andrew
Back to top
View user's profile Send private message Send e-mail Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5160

PostPosted: Fri Aug 15, 2008 6:43 pm    Post subject: Reply with quote

In this case you will have to add the license key to the other's configuration file. Edit include/config.php in Thyme's folder, remove the ?> at the bottom of the file and add this:

Code:
define("_CAL_LICENSE_KEY_", "YOUR LICENSE KEY HERE");


This will override the one defined in the database.
Back to top
View user's profile Send private message Visit poster's website
Andyy



Joined: 24 Jul 2007
Posts: 27
Location: Huddersfield UK

PostPosted: Fri Aug 15, 2008 7:47 pm    Post subject: reply Reply with quote

Still have the licence issue at site2

Recap
the db is at site1
at site2 in the config file I removed ?> and added
define("_CAL_LICENSE_KEY_", "EC0CCF238571106830B61F4E3F267783");
the key is from site1 database

Is that what you instructed

Andrew
Back to top
View user's profile Send private message Send e-mail Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5160

PostPosted: Fri Aug 15, 2008 8:01 pm    Post subject: Reply with quote

Hi,

All is well except that the key should be for site2, not for site1.
Back to top
View user's profile Send private message Visit poster's website
Andyy



Joined: 24 Jul 2007
Posts: 27
Location: Huddersfield UK

PostPosted: Fri Aug 15, 2008 8:15 pm    Post subject: reply Reply with quote

changed the key to site2 key and still have licence failure
so in site2 I have the site2 licence key in includes/config.php in place of ?>

define("_CAL_LICENSE_KEY_", "A9118B06C9C45164CAFD7D23CDBC8ACB");

Andrew
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Andyy



Joined: 24 Jul 2007
Posts: 27
Location: Huddersfield UK

PostPosted: Fri Aug 15, 2008 8:36 pm    Post subject: reply Reply with quote

if it is any help
in site2 config.php is where I am pointing to site1 db
define("_CAL_DBHOST_", "81.17.252.59");
define("_CAL_LICENSE_KEY_", "A9118B06C9C45164CAFD7D23CDBC8ACB");
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Andyy



Joined: 24 Jul 2007
Posts: 27
Location: Huddersfield UK

PostPosted: Fri Aug 15, 2008 11:36 pm    Post subject: reply Reply with quote

Tried

Removing the key from the db on site1

then added site1 key to site1 config.php
define("_CAL_LICENSE_KEY_", "EC0CCF238571106830B61F4E3F267783");

and added site2 key to site2 config.php
define("_CAL_LICENSE_KEY_", "A9118B06C9C45164CAFD7D23CDBC8ACB");

now both cal on site1 and site2 return the site error
Thyme's license has expired. You may purchase Thyme at http://www.extrosoft.com

Sorry for being a pain - I have another 3 sites that will need linking this way for a Hotel chain extranet

Andrew
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Andyy



Joined: 24 Jul 2007
Posts: 27
Location: Huddersfield UK

PostPosted: Sat Aug 16, 2008 9:32 am    Post subject: reply Reply with quote

Hi Ian
It must have been a cache problem
The 2 sites are now linking to one db without the licence errors
Thank you Ian for your help

I just have one more warning with attachements url
On site1 no Attachments Warning when "Allow file attachments:"

On site2 I get the warning
Warning: Attachments directory /home/url/site1/public_html/Events/attachments does not exist or is not writable.

The folder "attachments" exists on site1 and chmod 777

Any suggestions
Andrew
Back to top
View user's profile Send private message Send e-mail Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5160

PostPosted: Sat Aug 16, 2008 6:27 pm    Post subject: Reply with quote

Hi,

Ahh.. yes. The attachments folder must be overridden by the config file as well. On site 2, add this to include/config.php after the line containing define("_CAL_BASE_PATH_","..."):

define("_CAL_ATTACHMENTS_PATH_", _CAL_BASE_PATH_."attachments");
Back to top
View user's profile Send private message Visit poster's website
Andyy



Joined: 24 Jul 2007
Posts: 27
Location: Huddersfield UK

PostPosted: Sat Aug 16, 2008 6:40 pm    Post subject: reply Reply with quote

Brilliant Ian it's working great
I will send you a link to the project when it's completed.

Thank you

Andrew
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.