Seite 1 von 1

4.8.12 - Versionierung

Verfasst: So 2. Aug 2009, 13:18
von rw72
Hallo,
habe die 4.8.12 mit Beispielmandant installiert.

Wenn ich das Layout ändere erhalte ich folgenden Fehler:
Some error occured: Couldnt Create New Version: /srv/www/vhosts/demo.de/subdomains/branchen/httpdocs/cms/contenido/classes/class.version.php at line 329 (#0 /srv/www/vhosts/demo.de/subdomains/branchen/httpdocs/cms/contenido/includes/functions.lay.php(74): Version->createNewVersion() #1 /srv/www/vhosts/demo.de/subdomains/branchen/httpdocs/cms/contenido/main.php(272) : eval()'d code(1): layEditLayout('1', 'Standard', '', '

Im Errorlog:
[02-Aug-2009 14:31:12] PHP Warning: fopen() [<a href='function.fopen'>function.fopen</a>]: SAFE MODE Restriction in effect. The script whose uid is 10001 is not allowed to access /srv/www/vhosts/demo.de/subdomains/branchen/httpdocs/cms/cms/version/layout/1 owned by uid 30 in /srv/www/vhosts/demo.de/subdomains/branchen/httpdocs/cms/contenido/classes/class.version.php on line 323
[02-Aug-2009 14:31:12] PHP Warning: fopen(/srv/www/vhosts/demo.de/subdomains/branchen/httpdocs/cms/cms/version/layout/1/1_1249216272.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Datei oder Verzeichnis nicht gefunden in /srv/www/vhosts/demo.de/subdomains/branchen/httpdocs/cms/contenido/classes/class.version.php on line 323
[02-Aug-2009 14:31:12] PHP Warning: fputs(): supplied argument is not a valid stream resource in /srv/www/vhosts/demo.de/subdomains/branchen/httpdocs/cms/contenido/classes/class.version.php on line 325
[02-Aug-2009 14:31:12] PHP Warning: fclose(): supplied argument is not a valid stream resource in /srv/www/vhosts/demo.de/subdomains/branchen/httpdocs/cms/contenido/classes/class.version.php on line 326

SAFE Mode ist aktiviert.

Wie kann ich es korrekt einstellen?
Danke

Re: 4.8.12 - Versionierung

Verfasst: Mo 3. Aug 2009, 08:10
von Oldperl
Hallo rw72,

safe_mode ausschalten, dann geht es. safe_mode ist in PHP 5 bereits als deprecated gekennzeichnet und es wird ihn in PHP 6 garnicht mehr geben.
Grundsätzlich liegt es an unterschiedlichen Gruppenzugehörigkeiten beim Erstellen von Verzeichnissen und Dateien.

Zum Thema gibt es auch Unmengen von Informationen im Web. Einfach mal nach der SAFE MODE - Meldung im errorlog googeln.

Gruß aus Franken

Ortwin