Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Bug in local Windows installation

Bug in local Windows installation 19 years, 3 months ago #2289

  • ingbl
  • OFFLINE
  • Posts: 6
Hi,
after many hours of debugging I've discovered a strange problem in my local joomSEF installation (on Windows system). There were many links to redirect to 404 page. In my remote server (linux) there were not problems...
It was depends by not correct $base variable that in windows system was a backlash and not slash.
I've modified code in sef.php at line 85:

 
if ($base == '//') $base = '/';
 


in this way:

 
if ($base == '//' || $base == '\/') $base = '/';
 


and the problem goes away.

Is right?
I hope this helps someone.
Cheers
The topic has been locked.

Re:Bug in local Windows installation 19 years, 3 months ago #2290

  • ingbl
  • OFFLINE
  • Posts: 6
ingbl wrote:

 
if ($base == '//' || $base == '/') $base = '/';
 



Unfortunely the forum parser delete the backslash character before "/" in $base == '/'
pay attention and insert it.

Bye
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný