Problem with added slashes in CMSMS 1.11

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
14m3r

Problem with added slashes in CMSMS 1.11

Post 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.
14m3r

Re: Problem with added slashes in CMSMS 1.11

Post 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? ???
chrisl
Forum Members
Forum Members
Posts: 57
Joined: Fri Dec 30, 2005 10:08 am
Location: London

Re: Problem with added slashes in CMSMS 1.11

Post 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.
14m3r

Re: Problem with added slashes in CMSMS 1.11

Post 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!
Mieszko
Forum Members
Forum Members
Posts: 59
Joined: Fri Mar 04, 2011 2:40 pm

Re: Problem with added slashes in CMSMS 1.11

Post 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 :-(
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Problem with added slashes in CMSMS 1.11

Post by Rolf »

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

our fault, that we use the wrong systems :-(
I don't think Stikki said that...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
14m3r

Re: Problem with added slashes in CMSMS 1.11

Post 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..?
chrisl
Forum Members
Forum Members
Posts: 57
Joined: Fri Dec 30, 2005 10:08 am
Location: London

Re: Problem with added slashes in CMSMS 1.11

Post 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.
14m3r

Re: Problem with added slashes in CMSMS 1.11

Post 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. :-\
Jos
Support Guru
Support Guru
Posts: 4017
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Problem with added slashes in CMSMS 1.11

Post 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?
14m3r

Re: Problem with added slashes in CMSMS 1.11

Post 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. =/
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Problem with added slashes in CMSMS 1.11

Post 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...
14m3r

Re: Problem with added slashes in CMSMS 1.11

Post 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.
gingercat
Forum Members
Forum Members
Posts: 53
Joined: Mon Aug 04, 2008 2:24 am

Re: Problem with added slashes in CMSMS 1.11

Post 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
Locked

Return to “CMSMS Core”