Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Bug in local Windows installation
(1 viewing) (1) Guest
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 17 years, 7 months ago #2289

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

Re:Bug in local Windows installation 17 years, 7 months ago #2290

ingbl wrote:

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



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

Bye
  • Page:
  • 1
Přihlášení uživatele Prázdný