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 about 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 #1

Updated by Sebastian Kurfuerst about 19 years ago

Can somebody else reproduce this, maybe with FreeBSD and the IdeaWebServer?

Actions #2

Updated by old_anojszewski almost 19 years ago

I have erased all files on the server, dumped the database and did a fresh install - now the problem is gone.

I have been testing different versions of typo and different configurations on that server, so propably this was my mistake.

I will try to reproduce the problem, and post results here.

regards
Adam

Actions #3

Updated by old_anojszewski almost 19 years ago

I have did some more tests:

1. I have played with typo 3.8.0, added some pages and extensions. Everything worked fine.
2. Suddenly, after installing few needed extensions error occured again.
3. I have deinstalled and deleted all extensions, cleared all cache in database and on disk, but error still appears.
4. Typo 3.7.1 (fresh install) on the same server using the same database is working OK (but 3.8 also did for few two days).
5. After switching to other BE user without front end editing capabilities problem dissapeared!!!
6. Granting this user right to FEE (enable.edit in admPanel) raised issue again - same error appeared.

So:
- problem is with 3.8.0 (not 3.7.0, at least for now)
- problem is caused by front end editing

My provider (home.pl) has test accounts (2 weeks testing), so I can set up for you such an account, if someone wants to look closer on this problem.

I will install on typo 3.7.1 same extensions I had on 3.8.0 and try to reproduce the problem...

best regards
Adam

Actions #4

Updated by Amiran over 17 years ago

Same problem here: http://dev-bugs.elios.de/view.php?id=4276

I've also had the same problem on home.pl, but with admin panel disabled.

Actions #5

Updated by Michael Stucki over 17 years ago

OK, so there will be no change until someone comes up with a fix for Idea Web Server (never heard of that)

Actions

Also available in: Atom PDF