Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Multiple CMS

 

 


Kenny
User

Mar 18, 2009, 3:54 PM

Post #1 of 2 (531 views)
Shortcut
Multiple CMS Can't Post

Ok - here's one beyond my comprehension right now.

Let's say you have two CMS installations (on the same server) but different domain names and databases.

I want to put content from CMS 1 on Site 2 along with content from CMS 2.

It's easy to put content from CMS 1 on Site 2 as long as Site 2 doesn't call for it's own CMS.

How do you combine:

require_once "/home/autumn/public_html/admin/lib/viewer_functions.php";

and

require_once "/home/dynamos/public_html/admin/lib/viewer_functions.php";

on the same site?

The error message is:

Fatal error: Cannot redeclare getrecords() in /home/dynamos/public_html/admin/lib/viewer_functions.php on line 41


Kenny


Dave
Staff / Moderator


Mar 18, 2009, 6:58 PM

Post #2 of 2 (524 views)
Shortcut
Re: [sagentic] Multiple CMS [In reply to] Can't Post

Hi Kenny,

When you require viewer_functions.php it automatically connects to the CMS database. So there's no simple easy way to connect to two different databases, but I have a few ideas...

Can you email me direct with some more details about what you are trying to do and the urls to the pages and I'll see what I can come up with.

Thanks!

Dave Edis - Senior Developer
interactivetools.com