Problem with subdomain linking to cmsAdmin

3 posts by 2 authors in: Forums > CMS Builder
Last Post: January 4, 2012   (RSS)

By JeffC - January 3, 2012 - edited: January 3, 2012

I would like to create a subdomain of my website and use the same database/license as the main site. Firstly, is this allowed within the license or do I need to purchase another license?

If it is allowed could you help me with setting things up. Currently I am experiencing difficulty with the path to the cms.

I would like to set up the subdomain weddings.domainname.co.uk

The main section of the site links to the cms folder with this:

require_once "cmsAdmin/lib/viewer_functions.php";

I thought it would be possible to make this work with a subdomain by using an absolute url:

require_once "http://www.domainname.co.uk/cmsAdmin/lib/viewer_functions.php";

but I get the error:

Warning: require_once() [function.require-once]: URL file-access is disabled in the server configuration in /home/jeffncou/public_html/domainname.co.uk/weddings/index.php on line 3

Warning: require_once(http://www.domainname.co.uk/cmsAdmin/lib/viewer_functions.php) [function.require-once]: failed to open stream: no suitable wrapper could be found in /home/jeffncou/public_html/www.domainname.co.uk/weddings/index.php on line 3

Thanks
Jeff
Jeff

Re: [Jason] Problem with subdomain linking to cmsAdmin

By JeffC - January 4, 2012

Thanks Jason

I would prefer to use a subdomain so have purchased an extra license.

Thanks for your help, Jeff
Jeff