Seite 1 von 1

open_basedir restriction in effect

Verfasst: Mi 12. Mai 2010, 09:43
von thommes
Hallo.

Ich hätte gerne gewusst, wie ich meine Fehler im Logg beheben kann.

Meine PHP-Version ist 5.3. Installation 4.8.12.
Ich habe auch die Dateien von http://forum.contenido.org/viewtopic.php?f=59&t=24737 (conlib) übernommen.

Hier sind die Fehlermeldungen:

Code: Alles auswählen

12-May-2010 08:34:15] PHP Warning:  is_dir() [<a href='function.is-dir'>function.is-dir</a>]: open_basedir restriction in effect. File(/customers/xxx/httpd.www/contenido/plugins/index.php/) is not within the allowed path(s): (/customers/xxx:/var/www/diagnostics:/usr/share/php) in /customers/xxx/httpd.www/contenido/includes/functions.includePluginConf.php on line 69
[12-May-2010 08:34:29] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[12-May-2010 08:34:35] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[12-May-2010 08:34:36] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[12-May-2010 08:34:36] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[12-May-2010 08:34:36] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[12-May-2010 08:34:37] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[12-May-2010 08:34:37] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[12-May-2010 08:34:38] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[12-May-2010 08:34:41] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[12-May-2010 08:34:41] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[12-May-2010 08:34:41] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
LG
Thommes

Re: open_basedir restriction in effect

Verfasst: Di 25. Mai 2010, 23:26
von thommes
Ich habe soeben ein upgrade auf 4.8.13 RC2 gemacht. Jetzt funktioniert es! Keine langen Wartezeiten mehr. Jetzt will ich aber mal so fair sein und Bugs melden. :-)

LG
Thommes

Re: open_basedir restriction in effect

Verfasst: Mi 26. Mai 2010, 09:30
von Oldperl
Hallo Thommes,

na das freut uns doch, daß die Arbeit der letzten Monate auch was bewirkt. :-)
Für Bugmeldungen zur RC2 wären wir dankbar, diese dann bitte im Misc4.8'er Forum posten.

Na dann viel Spaß mit der RC2. :-)

Gruß aus Franken

Ortwin

Re: open_basedir restriction in effect

Verfasst: Do 27. Mai 2010, 23:56
von thommes
Hallo!

Spannend ist das auf jeden Fall!Ich hatte mich leider zu früh gefreut. Naja.

Hier ist das aktuelste Error-Log:

Code: Alles auswählen

[27-May-2010 22:49:49] PHP Warning:  is_dir() [<a href='function.is-dir'>function.is-dir</a>]: open_basedir restriction in effect. File(/customers/xxx/httpd.www/contenido/plugins/index.php/) is not within the allowed path(s): (/customers/xxx:/var/www/diagnostics:/usr/share/php) in /customers/xxx/httpd.www/contenido/includes/functions.includePluginConf.php on line 66
[27-May-2010 22:50:01] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[27-May-2010 22:50:05] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[27-May-2010 22:50:13] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[27-May-2010 22:50:14] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[27-May-2010 22:50:14] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[27-May-2010 22:50:14] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[27-May-2010 22:50:15] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[27-May-2010 22:50:15] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[27-May-2010 22:50:15] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[27-May-2010 22:50:19] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[27-May-2010 22:50:20] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
[27-May-2010 22:50:20] PHP Warning:  putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
Und das einzige was ich ändern kann ist: register globals und PHP error messages.
Die von http://www.one.com haben mir gesagt, dass sie nichts weiteres ändern an der PHP. Die haben übrigens PHP 5.3.

Gibt es irgendwelche Einstellungen in Contenido die das Laden beschleunigen, bzw. die Fehler beheben?

LG
Thommes
aus Wien

Re: open_basedir restriction in effect

Verfasst: Di 15. Jun 2010, 16:40
von thommes
Hallo!

Ich habe mich jetzt damit abgefunden, dass mein Provider nur PHP 5.3 verwendet. Hoffentlich passt sich contenido einmal an. Bis dahin warte ich geduldig. Was mir jetzt noch fehlt ist die Mehrsprachigkeit von Contenido.

Die funktioniert nämlich nicht bei mir, und es könnte an diesem Fehler liegen:
[15-Jun-2010 15:37:35] PHP Warning: putenv() [<a href='function.putenv'>function.putenv</a>]: Warning: Cannot set environment variable 'LANG' - it's not in the allowed list (setting: safe_mode_allowed_env_vars) in /customers/xxx/xxx/httpd.www/contenido/includes/functions.i18n.php on line 216
Wie kann ich die Mehrsprachigkeit trotz PHP 5.3 aufrechterhalten?

MfG
Thommes

info:
  • Contenido Version 4.8.13-RC1
    Server Betriebssystem Apache
    PHP Datenbankerweiterung mysql
    Datenbankserver-Version 5.0.51a-24+lenny2-log
    Installierte PHP-Version 5.3.2

Re: open_basedir restriction in effect

Verfasst: Di 15. Jun 2010, 17:08
von Oldperl
Hallo Thommes,

das liegt weder an Contenido noch am eingesetzten PHP 5.3. Wenn dein Provider schon unbedingt einen solch resticten Safemode fahren muss, dann sollte er wenigstens ein paar Einstellungen weniger restrict machen.
Contenido kann da garnichts machen, da Contenido an diese Servereinstellungen nicht ran kommt, wenn der Safemode so eingestellt ist.

Also entweder Provider wechseln oder warten, denn der Safemode ist eh deprecated gesetzt und wird irgendwann aus PHP verschwinden.

Gruß aus Franken

Ortwin

Re: open_basedir restriction in effect

Verfasst: Di 15. Jun 2010, 20:06
von thommes
Danke für die schnelle Antwort, Ortwin.

Dann werde ich mich mal etwas gedulden und vorübergehend einen anderen Provider benützen. Kannst Du mir vielleicht einen empfehlen? Die Domäne behalte ich dann bei meinem Provider.
One.com´s Server laufen mit dem ausgeschalteten safe mode und mit dem eingeschalteten open basedir.
Dann suche ich mir einen Provider der die Einstellungen umgekehrt hat, richtig?

LG aus Wien

Thommes

Re: open_basedir restriction in effect

Verfasst: Di 15. Jun 2010, 21:57
von Oldperl
Hallo Thommes,
thommes hat geschrieben:Danke für die schnelle Antwort, Ortwin.
Gern geschehen. :-)
thommes hat geschrieben:Kannst Du mir vielleicht einen empfehlen?
Nicht wirklich, denn dazu fehlt mir ein aktueller Vergleich, da ich das meiste auf eigenen Servern mache. 8)
thommes hat geschrieben:Dann suche ich mir einen Provider der die Einstellungen umgekehrt hat, richtig?
Nicht ganz, generell kann es sogar mit eingeschaltetem Safemode gehen, dann kommt es aber darauf an, wie dieser konfiguriert ist. Das Gleiche gilt (leider) auch bei der open_basedir Direktive. Hier kommt es drauf an, wie Pfade und Rechte eingestellt sind.
Ich denke am wichtigsten bei einem Provider ist ein guter Support. Dieser sollte einfach zu erreichen, kompetent in den Aussagen und schnell genug sein. Eine Antwort auf eine Anfrage, auf die ich 2 Tage warten muss, und die dann noch am Thema vorbei geht, bringt nicht viel und fördert nur einen dicken Hals ( :motz: ).

Das sind leider meine Erfahrungen, sowohl mit kostengünstigen, als auch mit sogenannten "Business"-Angeboten. Ich muss aber dazu sagen, das meine Erfahrungen schon etwas älter sind, und eigentlich nur bei den "großen " Providern hier in Deutschland aktuell sind, da ich dort vor Kurzem mit Accounts von Kunden zu tun hatte.

Ich hoffe ich konnte dir etwas helfen. :-)

Gruß aus Franken

Ortwin

Re: open_basedir restriction in effect

Verfasst: Do 5. Aug 2010, 15:02
von thommes
Hallo mal wieder!

Wie sieht es denn mit der RC3 aus in Bezug auf die open_basedir? Ich würde so gerne contenido laufen lasse, aber auf http://www.one.com ging das bis einschliesslich RC2 nicht.

Hat jemand gute Nachrichten für mich?
Die php-Einstellungen kann ich leider nicht ändern.

Kann mir jemand evtl. einen Anbieter aus folgender List empfehlen?
http://www.software-pointers.com/de-ger ... sting.html

LG
Thommes