---
title: "Problem mit include_path php"
url: "https://www.typo3.net/d/3217-problem-mit-include-path-php"
source: "typo3.net"
tags: ["Hosting","Installation & Update","Frage"]
created: "2003-06-02"
last_reply: "2004-10-27"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# Problem mit include_path php

Hosting › Installation & Update · 2 Antworten · gestartet 2003-06-02

## Eröffnungsbeitrag

**nsce** · 2003-06-02 · [Beitrag #1](https://www.typo3.net/d/3217-problem-mit-include-path-php/1)

Hallo - wollte mal Typo 3 unter Netware probieren ..

Womögich ist es nur eine Kleinigkeit für euch:
Beim Start von www.domain/typo3 kommt der Fehler Warning: Failed opening 'vol1:/inet_root/htdocs/quickstart/**typo3conf/vol1:/inet_root**/htdocs/quickstart/typo3/sysext/cms/tbl_tt_content.php' for inclusion (include_path='.;sys:/php/includes') in vol1:/inet_root/htdocs/quickstart/typo3/t3lib/**class.t3lib_div.php on line 1830**

Warum wird hier versucht den absoluten pfad in den pfad zu setzten bzw anzufügen ??

lg
Thomas

## Antworten

### [#2](https://www.typo3.net/d/3217-problem-mit-include-path-php/2) · hpfgh · 2004-03-11

habe typo3 unter netware 6.5 am laufen mußte aber code ändern

anbei die alte und neue Codezeile:

t3libclasst3lib_div.php Zeile 183x funtion loadTCA($table)

/**
* Loads the $TCA (Table Configuration Array) for the $table
*
* Requirements:
* 1) must be configured table (the ctrl-section configured),
* 2) columns must not be an array (which it is always if whole table loaded), and
* 3) there is a value for dynamicConfigFile (filename in typo3conf)
*/
function loadTCA($table) {
global $TCA,$LANG_GENERAL_LABELS;
if (isset($TCA[$table]) && !is_array($TCA[$table]["columns"]) && $TCA[$table]["ctrl"]["dynamicConfigFile"]) {
if (!strcmp(substr($TCA[$table]["ctrl"]["dynamicConfigFile"],0,6),"T3LIB:")) {
include(PATH_t3lib."stddb/".substr($TCA[$table]["ctrl"]["dynamicConfigFile"],6));
} elseif (t3lib_div::isAbsPath($TCA[$table]["ctrl"]["dynamicConfigFile"]) && @is_file($TCA[$table]["ctrl"]["dynamicConfigFile"])) { // Absolute path...
include($TCA[$table]["ctrl"]["dynamicConfigFile"]);
} else include($TCA[$table]["ctrl"]["dynamicConfigFile"]);
//!!GH } else include(PATH_typo3conf.$TCA[$table]["ctrl"]["dynamicConfigFile"]);
}
}

### [#3](https://www.typo3.net/d/3217-problem-mit-include-path-php/3) · pquadrat · 2004-10-27

Hallo,

bin auch dabei, Typo3 auf Netware 6.5(SP2) zum laufen zu bringen, habe  in class.t3lib_div.php folgendes geändert:

alt:
include(PATH_typo3conf.$TCA[$table]["ctrl"]["dynamicConfigFile"]);
neu:
include($TCA[$table]["ctrl"]["dynamicConfigFile"]);

damit geht es zu 80%

Bekomme aber immer noch stellenweise Fehler, z.B.  unter Web: Info:

Filereference, "SYS:/apache2/htdocs/SYS:/apache2/htdocs/typo3/sysext/cms/web_info/locallang.php", not found!

Schein das gleiche Problem zu sein, weiß  jemand Rat?

Hier mein Installationsweg:

PHP einschalten: zur  httpd.conf vom Apache hinzufügen:
include sys:apache2confmod_php.conf

in SYS:pHPPHP.INI auskommentieren / anpassen:
; open_basedir = ".;sys:/tmp"
include_path = ".;sys:/php/includes;SYS:/Apache2/htdocs/quickstart;SYS:/Apache2/htdocs/quickstart/typo3"

Typo3 unter SYS:APACHE2htdocs kopieren (oder woanders hin, ist aber zum testen wohl so einfacher)

MySQL passwort anlegen:
mysqladmin -u root password

<http://serveradresse/index.php> aufrufen

Grüße
Peter

---

Quelle: „Problem mit include_path php“, typo3.net, https://www.typo3.net/d/3217-problem-mit-include-path-php
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
