[fixed?] root_url adding trailing slashes

A place to discuss issues related to CMSMS 1.11 beta versions. This forum will be heavily moderated.
Forum Members
Forum Members
Posts: 89
Joined: Thu Aug 21, 2008 11:47 am

[fixed?] root_url adding trailing slashes

Post by oliverseddon »

After installing the 1.11 Beta1 I noticed no root_url had been added to my config.php file as a default. This then caused my site's base URL to have a trailing / meaning all URL references were wrong causing issues with links and CSS references etc.

Adding the root_url to my config fixed the issue, should this not be added to the config.php as a default? And if not why does my default root_url automatically get appended with / ?

Image attached with system PHP info.
Screen Shot 2012-06-21 at 12.34.34.png
Power Poster
Power Poster
Posts: 307
Joined: Mon Sep 08, 2008 9:43 am

Re: root_url adding trailing slashes

Post by klenkes »

I installed Beta-1 on Win-7, Apache2, PHP 5.3.5, and got a backslash(\) trailing the root_url. In all CMSMS generated links a slash was added after the backslash (\/) and no links worked.

Like oliverseddon I added root_url to the config.php to fix it.
User avatar
Dev Team Member
Dev Team Member
Posts: 7759
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands

Re: root_url adding trailing slashes

Post by Rolf »

problem confirmed
- + - + - + - + - + -
Latest CMSMS tutorial: FormBuilder WatchGuard
- + - + - + - + - + -
Did my post help you solving a problem at your (customers) website and it saved you many hours of work?
Great!! Buy me a cup of coffee in return as a small token of appreciation!
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: [reproduced] root_url adding trailing slashes

Post by calguy1000 »

Fixed in svn.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Forum Members
Forum Members
Posts: 57
Joined: Fri Dec 30, 2005 10:08 am
Location: London

Re: [fixed?] root_url adding trailing slashes

Post by chrisl »

Not fixed in beta 4

Return to “[locked] CMSMS 1.11 Beta”