Page 1 of 1

[Solved]$config['root_url'] problem

Posted: Fri Jan 23, 2009 8:19 am
by seafurymike
I installed CMCMS 1.5.2 and I had an issue where:

Default Install:
1. From  my local lan access the web site without an issue. All pages rendered correctly
2. Could not access rendered pages correctly from the internet

I changed my 'root_url:2001' string to be my dyndns domain name and the following occurs:

1. Can access all pages without a problem and they are all rendered as expected
2. Can not access my web site at all from my local LAN

As a third try to resolve the issue, i added the local lan IP address dyndns url in the config.php file, one after the other, with  the local lan address 1st and dyndns as the second

1. $config['root_url'] = 'http://X.X.X.X/';
2. $config['root_url'] = 'http://www.URL.com:2001/';

The output of this is that the web works from the internet, and i can only get the text and no rendering form the internal lan

Can someone help and explain what I need to do to resolve this issue.
I have looked throught he forums and can't work out what the issue is

Re: $config['root_url'] problem

Posted: Fri Jan 23, 2009 6:00 pm
by alby
seafurymike wrote: As a third try to resolve the issue, i added the local lan IP address dyndns url in the config.php file, one after the other, with  the local lan address 1st and dyndns as the second

1. $config['root_url'] = 'http://X.X.X.X/';
2. $config['root_url'] = 'http://www.URL.com:2001/';
last overwrite prevs .... you have 2. only

seafurymike wrote: Can someone help and explain what I need to do to resolve this issue.
I have looked throught he forums and can't work out what the issue is
This is a DNS/HTTP configuration issues and not CMS issue

Alby

Re: $config['root_url'] problem

Posted: Sun Jan 25, 2009 12:54 pm
by seafurymike
Hi Alby,

Thanks for the reply.

Q. Why is CMSMS trying to load part of the page using my local IP and then go to my dyndns account for the content and rendering. It doesn't make sense.

Surely there must be a way to stop this behavior

Re:[Fixed] $config['root_url'] problem

Posted: Sun Jan 25, 2009 2:09 pm
by seafurymike
Thanks for your help guys.

Problem fixed