Searched the forums but can't find an answer.
Standard install of latest J1.5
Calling the $u =& JURI::getInstance(); or the $u =& JFactory::getURI(); and then $u->toString()
gives http://www.mysite.com?index.php&blahblah
i.e. the forward slash is missing after the base url in all circumstances.
The base url in config I have tried with and without a trailing slash, turned off SEF, disabled .htaccess etc etc.
All the normal things.
The object is
Code: Select all
JURI Object
(
[_uri] => http://www.mysite.com/contact-me
[_scheme] => http
[_host] => www.mysite.com
[_port] =>
[_user] =>
[_pass] =>
[_path] => contact-me
etc....
On any other J! site I try I get this
Code: Select all
JURI Object
(
[_uri] => http://www.cofform.be/contact
[_scheme] => http
[_host] => www.cofform.be
[_port] =>
[_user] =>
[_pass] =>
[_path] => /contact
Any help appreciated..
Cheers