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.
[fixed?] root_url adding trailing slashes
-
- Forum Members
- Posts: 89
- Joined: Thu Aug 21, 2008 11:47 am
Re: root_url adding trailing slashes
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.
Like oliverseddon I added root_url to the config.php to fix it.
Re: root_url adding trailing slashes
problem confirmed
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: [reproduced] root_url adding trailing slashes
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.
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.
Re: [fixed?] root_url adding trailing slashes
Not fixed in beta 4