Multiple CMS
2 posts by 2 authors in: Forums > CMS Builder
Last Post: March 18, 2009 (RSS)
By Kenny - March 18, 2009
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
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
Re: [sagentic] Multiple CMS
By Dave - March 18, 2009
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!
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
interactivetools.com