Issue Bug Closed

#14747FE error when logged to BE (PATH_site='//' problem)

old_anojszewski 05/20/05, 14:33 updated 03/13/07, 15:19

Description

When admin is logged to BE, FE in same domain shows error: “The original character set “iso-8859-1” was not found in t3lib/csconvtbl/”. Also logo is not displayed, because its url is =“gfx/typo3logo.gif”. (not “t3lib/gfx/typo3logo.gif”)

Problem disappears, when FE and BE are working on different domains, like www.something.com and something.com

Looks like FE has problem with directories.

Solution: Replace line 60 in /index.php file
from:
define(‘PATH_site’, dirname(PATH_thisScript).’/’);
to:
define(‘PATH_site’, str_replace(‘//’,’/’, dirname(PATH_thisScript).’/’));

This prevents PATH_site from being equal to ‘//’.

It looks like same problem is with showpic.php and some other files.

System:
- FreeBSD matrix20.home.net.pl 4.10-RC3 FreeBSD 4.10-RC3 #14119: Wed Feb 2 i386
- IdeaWebServer/v0.21
(issue imported from #M1095)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.