Loading...
 
Skip to main content

RSS feed broken by backslash if tw in root of subdomain

Status
Closed
Subject
RSS feed broken by backslash if tw in root of subdomain
Version
1.9.x
2.x
3.x
4.x
Category
  • Error
  • Usability
Feature
RSS
Installer (profiles, upgrades and server-related issues)
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Submitted by
felix hruschka
Volunteered to solve
Philippe Cloutier
Lastmod by
Philippe Cloutier
Rating
(0)
Description

If Tikiwiki 1.9.4 or 1.9.5 is installed in the wwwroot of a "real" subdomain that resides on its own (win)server (not an alias to a subfolder under the main-domain), then rsslib.php inserts an additional backslash after the domain-name.

Links of rss-feed then look like: sub.domain.com\/tiki... and RSS feed gets obviously broken.

As a quick-fix for my site I resolved this in the file rsslib.php by deleting the string:
.dirname( $urlarray["path"] )
in the variables:
$home, $img, $read, $cssStyleSheet, and $xslStyleSheet
in order to get RSS-2.0 to work again.

Unfortunately I'm not any more a coder and don't know php good enough to fix this for everybody and contribute in the CVS (I did no more coding since turbo-pascal under DOS in the mid 90's, but at least still can read a little bit 😊

all the best,
Felix

PS: Thanks everybody here for this great software!!!

Solution

Fixed for Tiki 5 in r27306.
Thanks

Importance
2
Priority
10
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
923
Created
Friday 27 October, 2006 06:02:00 UTC
by Unknown
LastModif
Tuesday 25 May, 2010 05:37:39 UTC


Show PHP error messages