Page 1 of 2
Installation nicht möglich. utf8/utf8.php Datei fehlt.
Posted: 03 Oct 2010, 06:41
by D4N13L
Guten Morgen an alle,
ich hoffe ihr könnt mir weiterhelfen. Google konnte es schon mal nicht.
Ich habe Mantis schon des öfteren installiert, das hat auch immer super geklappt. Nach einem Serverumzug geht die Installation nicht mehr.
Mantis wirft folgende Fehler aus:
Warning: require_once(utf8/utf8.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/web0/html/mantis/core.php on line 111
Fatal error: require_once() [function.require]: Failed opening required 'utf8/utf8.php' (include_path='.') in /var/www/web0/html/mantis/core.php on line 111
Schaut man sich die core.php Datei an wird hier wirklich via require_once die utf8/utf8.php gesucht. Kann aber nicht gefunden werden weil werder der Ordner noch die Datei im Downloadpacket enthalten sind. Entpackt auf meinem Mac und via ssh über tar zxvf <packetname>. Erfolglos
Aber ich habe die Vermutung es liegt weniger an der fehlenden Datei als an meinem Server:
Debian 5 mit Confixx 3.3.5
PHP 5.2.6-1+lenny3 Apache2
Vielleicht eine Einstellung in der php.ini? Nur welche?
Hoffe ihr könnt mir weiterhelfen.
Vielen Dank im Vorraus
D4N13L
Re: Installation nicht möglich. utf8/utf8.php Datei fehlt.
Posted: 03 Oct 2010, 10:00
by atrol
D4N13L wrote:Kann aber nicht gefunden werden weil werder der Ordner noch die Datei im Downloadpacket enthalten sind.
Auch nicht im Ordner <MeinMantisBT>/library/utf8 ?
Dort sollte die Datei utf8.php schon vorhanden sein, sonst ist bereits etwas beim Download/Entpacken schief gelauafen
Re: Installation nicht möglich. utf8/utf8.php Datei fehlt.
Posted: 03 Oct 2010, 10:25
by D4N13L
in libary/utf8 gibts die utf8.php.
Die core.php verweißt trotzdem auf:
Code: Select all
[...]
# load UTF8-capable string functions
require_once( 'utf8/utf8.php' );
require_once( UTF8 . '/str_pad.php' );
[...]
Ich habe jetzt mal testweiße den Pfad auf /library/utf8/utf8.php geändert:
Warning: require_once() [function.require-once]: Unable to access /library/utf8/utf8.php in /var/www/web0/html/mantis/core.php on line 111
Warning: require_once(/library/utf8/utf8.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/web0/html/mantis/core.php on line 111
Fatal error: require_once() [function.require]: Failed opening required '/library/utf8/utf8.php' (include_path='.') in /var/www/web0/html/mantis/core.php on line 111
Rechte im Ordner utf8 = 755 und für utf8.php = 644
Re: Installation nicht möglich. utf8/utf8.php Datei fehlt.
Posted: 03 Oct 2010, 10:41
by atrol
D4N13L wrote:
Ich habe jetzt mal testweiße den Pfad auf /library/utf8/utf8.php geändert:
Wenn schon, dann library/utf8/utf8.php ohne "/" am Anfang
Die datei sollte aber auch so gefunden werden, da vorher set_include_path aufgerufen wird, wo auch das library Directory dabei ist.
Re: Installation nicht möglich. utf8/utf8.php Datei fehlt.
Posted: 03 Oct 2010, 11:14
by D4N13L
Änder ich es auf library/utf8/utf8.php kommt folgender Fehler:
Warning: require_once(php_api.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/web0/html/mantis/core.php on line 115
Fatal error: require_once() [function.require]: Failed opening required 'php_api.php' (include_path='.') in /var/www/web0/html/mantis/core.php on line 115
Mir kommt es vor als wenn require_once gar nicht geht. Kann das durch Einstellungen in der php.ini unterdrückt werden?
Re: Installation nicht möglich. utf8/utf8.php Datei fehlt.
Posted: 03 Oct 2010, 12:01
by atrol
Einzelne Funktionen lassen sich in der php.ini unter der Direktive "disable_functions" abschalten
Re: Installation nicht möglich. utf8/utf8.php Datei fehlt.
Posted: 03 Oct 2010, 20:03
by D4N13L
Auszug aus php.ini:
disable_functions: pcntl_exec, posix_setuid, posix_seteuid
Kann sonst noch was den Fehler verursachen?
Re: Installation nicht möglich. utf8/utf8.php Datei fehlt.
Posted: 04 Oct 2010, 07:04
by atrol
Was wird im Browser ausgegeben, wenn das folgende Script gestartet wird
Code: Select all
<?php
$path = array(
'/usr/test',
get_include_path()
);
set_include_path( implode( PATH_SEPARATOR, $path ) );
print_r( explode( PATH_SEPARATOR, get_include_path() ) );
?>
Re: Installation nicht möglich. utf8/utf8.php Datei fehlt.
Posted: 04 Oct 2010, 07:49
by D4N13L
Re: Installation nicht möglich. utf8/utf8.php Datei fehlt.
Posted: 04 Oct 2010, 09:06
by atrol
Dann müsste wohl irgendein Fehler in den Logfiles des Webservers protokolliert worden sein.
Re: Installation nicht möglich. utf8/utf8.php Datei fehlt.
Posted: 04 Oct 2010, 10:24
by D4N13L
Das hat jetzt etwas gedauert bis das error_log gefunden und aktiviert war
Gebe ich eine falsche URL ein bekomme ich einen Eintrag ins error_log
Steuer ich die mantis Installation oder die test.php mit dem PHP Script an erscheint kein Eintrag.
Zum Haare ausreisen
Re: Installation nicht möglich. utf8/utf8.php Datei fehlt.
Posted: 04 Oct 2010, 10:34
by atrol
Dann mal noch vorübergehend die folgenden Zeilen in die Datei config_inc.php einfügen
Code: Select all
$g_show_detailed_errors = ON;
$g_display_errors = array(
E_WARNING => 'halt',
E_NOTICE => 'halt',
E_USER_ERROR => 'halt',
E_USER_WARNING => 'halt',
E_USER_NOTICE => 'halt'
);
Re: Installation nicht möglich. utf8/utf8.php Datei fehlt.
Posted: 04 Oct 2010, 10:44
by D4N13L
Ändert sich nichts. Fehler bleibt
Re: Installation nicht möglich. utf8/utf8.php Datei fehlt.
Posted: 04 Oct 2010, 11:01
by D4N13L
Ich war mal so frei und hab die betroffenen Stellen in der core.php auskommentiert:
Warning: require_once(php_api.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/web0/html/mantis/core.php on line 115
Fatal error: require_once() [function.require]: Failed opening required 'php_api.php' (include_path='.') in /var/www/web0/html/mantis/core.php on line 115
Ich glaub mein Webserver will mich einfach nur ärgern^
Re: Installation nicht möglich. utf8/utf8.php Datei fehlt.
Posted: 04 Oct 2010, 11:48
by D4N13L
Ich bin da gerade auf was gestoßen:
http://forum.webhostlist.de/forum/3-x-a ... -conf.html
Hört sich nach meinem Fehler an...