Page 1 of 1
Problem with added slashes in CMSMS 1.11
Posted: Sat Aug 11, 2012 1:37 pm
by 14m3r
I have exactly the same problem as here -
http://forum.cmsmadesimple.org/viewtopi ... 79&t=61623
Only can fix it.
Only adding variable
$config['root_url'] = 'http://site.com'; to the config file helped me.
Fix it please in next builds.
Re: Problem with added slashes in CMSMS 1.11
Posted: Thu Aug 16, 2012 7:33 am
by 14m3r
1.11.1 "Baltra" has been released, but this bug isn't fixed. I wonder, developers intentionally spit on it or simply forgot to fix it?

Re: Problem with added slashes in CMSMS 1.11
Posted: Thu Aug 16, 2012 8:26 am
by chrisl
I am sure the developers are extremely busy if so I know how they feel.
I have pointed this error out to them several times but they just take my posts off the forum.
It is strange because this must be losing them valuable customers or users.
Re: Problem with added slashes in CMSMS 1.11
Posted: Thu Aug 16, 2012 9:30 am
by 14m3r
After the upgrade, the variable $config['root_url'] = '
http://site.com'; no longer helps.
Damn, I had to return to the previous release.
It is strange because this must be losing them valuable customers or users.
Absolutelly true!
Re: Problem with added slashes in CMSMS 1.11
Posted: Thu Aug 16, 2012 2:14 pm
by Mieszko
you're not alone with problem about
$config['root_url'] = '
http://site.com';
see:
http://dev.cmsmadesimple.org/bug/view/8256
our fault, that we use the wrong systems

Re: Problem with added slashes in CMSMS 1.11
Posted: Thu Aug 16, 2012 4:50 pm
by Rolf
14m3r wrote:I wonder, developers intentionally spit on it or...
Pardon?
I don't think Stikki said that...
Re: Problem with added slashes in CMSMS 1.11
Posted: Thu Aug 16, 2012 5:48 pm
by 14m3r
Rolf, help me, please, if you can.
Software on the server: OS WinXP, Apache 2.2.22, PHP 5.2.17, MySQL 5.5.8
All URLs on my system looks like this:
Code: Select all
http://localhost//point-1.html
or
http://localhost//point-1/point-2.html
What's can be wrong..?
Re: Problem with added slashes in CMSMS 1.11
Posted: Thu Aug 16, 2012 6:19 pm
by chrisl
Oh dear, can we get back to the subject.
I can only say to the hard-pressed developers that the installation procedure WILL fail on Windows if the "cms doc root" field is left blank on installation and the system default is used.
It is very easily tested just rem or comment out the $config['root_url'] in the config file on a Windows system.
The solution is just as easy - see above.
Re: Problem with added slashes in CMSMS 1.11
Posted: Thu Aug 16, 2012 7:55 pm
by 14m3r
chrisl wrote:Oh dear, can we get back to the subject.
I can only say to the hard-pressed developers that the installation procedure WILL fail on Windows if the "cms doc root" field is left blank on installation and the system default is used.
It is very easily tested just rem or comment out the $config['root_url'] in the config file on a Windows system.
The solution is just as easy - see above.
As I've written a little bit earlier, adding this variable (on 1.11.1 "Baltra") nothing change.

Re: Problem with added slashes in CMSMS 1.11
Posted: Thu Aug 16, 2012 10:48 pm
by Jos
14m3r wrote:All URLs on my system looks like this:
Code: Select all
http://localhost//point-1.html
or
http://localhost//point-1/point-2.html
Seems as if you use the mod_rewrite method for pretty urls?
Always thought that was not possible on windows, not for modules to function at least... guess I missed something?
Re: Problem with added slashes in CMSMS 1.11
Posted: Fri Aug 17, 2012 7:07 pm
by 14m3r
Jos wrote:Seems as if you use the mod_rewrite method for pretty urls?
Yes. There is some other way?
Always thought that was not possible on windows, not for modules to function at least... guess I missed something?
In versions 1.10.x it works fine, without any problems. Based on this, I'm inclined to guess that the problem isn't in the system (OS). Perhaps consideration should be given some PHP setting? If this is the case, on what settings I should pay particular attention to?
p.s. Today I've updated PHP from 5.2.17 to 5.3.16, but the problem still remains. =/
Re: Problem with added slashes in CMSMS 1.11
Posted: Fri Aug 17, 2012 8:39 pm
by Dr.CSS
Windows servers do not support true pretty URLs made with mod_rewrite, you can use internal pretty URLs to get a somewhat pretty URL...
Re: Problem with added slashes in CMSMS 1.11
Posted: Fri Aug 17, 2012 9:17 pm
by 14m3r
Dr.CSS wrote:Windows servers do not support true pretty URLs made with mod_rewrite, you can use internal pretty URLs to get a somewhat pretty URL...
Mmm.. I don't think so. Because, before the release of version 1.1.x. everything worked fine on the same PC. At least, i didn't see this problem at the 1.10.x version.
Re: Problem with added slashes in CMSMS 1.11
Posted: Wed Aug 22, 2012 8:48 pm
by gingercat
Rolf wrote:14m3r wrote:I wonder, developers intentionally spit on it or...
Pardon?
Mieszko wrote:you're not alone with problem about
$config['root_url'] = '
http://site.com';
see:
http://dev.cmsmadesimple.org/bug/view/8256
I've discovered that if you don't have the root_url variable in the config file in windows then the default root url is http://mysite.com\/ which stops anything like style sheets working its an easy fix just add:
$config['root_url'] = '
http://mysite.com/';
to your config.php file