Project

General

Profile

Actions

Bug #14747

closed

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

Added by old_anojszewski about 19 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2005-05-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.7.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #16591: PATH_site wrongly defined in index.phpClosedMichael Stucki2006-09-23

Actions
Actions

Also available in: Atom PDF