Page 1 of 1

[Solved] Default localhost port

Posted: Mon Mar 16, 2009 2:27 am
by d_raghu9
Hi Guys,

I am veyr much NEW to using CMSMadeSimple. I Installed CMSMadeSimple and also installed NMS. By default the forms created are getting submitted to http://localhost:1500/cms/cmsmadesimple where as it should get submited to http://localhost/cms/cmsmadesimple

i also found another issue. whenever i try to execute
http://localhost/cms/cmsmadesimple, it defaults to port 1500 and shows the URL as http://localhost:1500/cms/cmsmadesimple

but when i include (/)  http://localhost/cms/cmsmadesimple/ it works fine. I tried looking into config file but cound not find any answer.

can someone help please.

Cheers
Rag

Re: Default localhost port

Posted: Mon Mar 16, 2009 7:21 am
by alby
d_raghu9 wrote: i also found another issue. whenever i try to execute
http://localhost/cms/cmsmadesimple, it defaults to port 1500 and shows the URL as http://localhost:1500/cms/cmsmadesimple

but when i include (/)  http://localhost/cms/cmsmadesimple/ it works fine. I tried looking into config file but cound not find any answer.
You have a wrong configuration in cmsms and (apache?) web server.
For cmsms open config.php and look for $config['root_url'] that must be 'http://localhost/cms/cmsmadesimple'

For your web server look in your server manual

Alby

[Solved] Default localhost port

Posted: Tue Mar 17, 2009 1:09 am
by d_raghu9
I found the Issue, it was a configuration in my Apache server. There is a variable called "ServerName" which had a value localhost:1500. When i changed it to just localhost it all started to work fine.