Project

General

Profile

Actions

Bug #25384

closed

Fix Bug for polish hosting home.pl (dont work in BE tab web and everything in this tab)

Added by Grzegorz no-lastname-given over 13 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-03-24
Due date:
% Done:

0%

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

Description

If you have TYPO3 in home.pl hosting your tab WEB and all sub links (list,page,template..) can dont work but rest tabs will working ok.
You need add some change on /typo3/backend.php if you want repair this bug

remove this:
$relativeComponentPath = '../' . str_replace(PATH_site, '', $absoluteComponentPath);

add this:
if(PATH_site=='/') $relativeComponentPath = '../' .$absoluteComponentPath;
else $relativeComponentPath = '../' . str_replace(PATH_site, '', $absoluteComponentPath);

this helps me in TYPO3 4.5.2

small help for peaople how after install TYPO in this hosting can't show frontpage.
You need change index.php (look at uploaded file)

You can use this solution in other hosting if your problem are similar.

(issue imported from #M18024)


Files

index.php (2.96 KB) index.php Administrator Admin, 2011-03-24 10:40
18024.diff (734 Bytes) 18024.diff Administrator Admin, 2011-03-25 12:01
Actions #1

Updated by Steffen Gebert over 13 years ago

Can you describe the change more in detail? Maybe it also appears for more hosters and should be included in the official source.

It would be also nice, if you could attach a diff of your changes instead of the whole file.

Actions #2

Updated by Grzegorz no-lastname-given over 13 years ago

diff for (backend.php) is uploaded (this is my first diff file I hope is good)
Hosting is on "IdeaWebServer" and has different settings than apache.
I think prolem is in documentRoot because is always / (slash)
Example, when I have pure TYPO3 installation I can't login to backend because I need create folder tmp (in root folder - where is .htaccess) I think this error is only whan documentRoot is /

I think you can add to official source because many people in Polish use home.pl and maybe are other hosters in other country who use similar settings for their webhosts.

Actions #3

Updated by Stefan Galinski almost 13 years ago

  • Target version deleted (0)

Please open a new rewiew request with your contribution:
http://wiki.typo3.org/Contribution_Walkthrough_Tutorials

Actions #4

Updated by Alexander Opitz over 11 years ago

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (4.5 or 6.1)?

If the issue still exists, can you make a new patch and send it to gerrit?

Actions #5

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
  • Is Regression set to No

No feedback for over 90 days.

If you think, that this is the wrong decision, then please write to the mailing list typo3.teams.bugs with issue number and an explanation.

Actions

Also available in: Atom PDF