Editor Problem
Editor Problem
Der alte Editor unter 4.3b war zwar nicht sehr komfortabel, lief aber. Den neuen (unter 4.3.1) kann ich nicht nutzen, es kommt folgende Fehlermeldung:
Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/local/php/4.3.1/lib/php/spaw_control.class.php) is not within the allowed path(s): (/home/www/web25) in /home/www/web25/html/contenido/external/wysiwyg/spaw/editor.php on line 8
Warning: main(spaw_control.class.php) [function.main]: failed to create stream: Operation not permitted in /home/www/web25/html/contenido/external/wysiwyg/spaw/editor.php on line 8
Warning: main() [function.main]: Failed opening 'spaw_control.class.php' for inclusion (include_path='.:/usr/local/php/4.3.1/lib/php') in /home/www/web25/html/contenido/external/wysiwyg/spaw/editor.php on line 8
Fatal error: Cannot instantiate non-existent class: spaw_wysiwyg in /home/www/web25/html/contenido/external/wysiwyg/spaw/editor.php on line 28
Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/local/php/4.3.1/lib/php/spaw_control.class.php) is not within the allowed path(s): (/home/www/web25) in /home/www/web25/html/contenido/external/wysiwyg/spaw/editor.php on line 8
Warning: main(spaw_control.class.php) [function.main]: failed to create stream: Operation not permitted in /home/www/web25/html/contenido/external/wysiwyg/spaw/editor.php on line 8
Warning: main() [function.main]: Failed opening 'spaw_control.class.php' for inclusion (include_path='.:/usr/local/php/4.3.1/lib/php') in /home/www/web25/html/contenido/external/wysiwyg/spaw/editor.php on line 8
Fatal error: Cannot instantiate non-existent class: spaw_wysiwyg in /home/www/web25/html/contenido/external/wysiwyg/spaw/editor.php on line 28
-
- Beiträge: 6284
- Registriert: Do 15. Mai 2003, 18:32
- Wohnort: Da findet ihr mich nie!
- Kontaktdaten:
Schilder doch mal deine Systemumgebung. Alternativ kannst du eins der beiden Dinge tun:
include_path in der Datei "php.ini" um einen punkt ergänzen (also z.b. include_path=/usr/local/php/4.3.1/lib/php in include_path=.:/usr/local/php/4.3.1/lib/php ersetzen) oder in der Datei editor.php im Verzeichnis spaw die Zeile include('spaw_control.class.php'); durch include($cfg['path']['wysiwyg'].'spaw_control.class.php'); ersetzen.
include_path in der Datei "php.ini" um einen punkt ergänzen (also z.b. include_path=/usr/local/php/4.3.1/lib/php in include_path=.:/usr/local/php/4.3.1/lib/php ersetzen) oder in der Datei editor.php im Verzeichnis spaw die Zeile include('spaw_control.class.php'); durch include($cfg['path']['wysiwyg'].'spaw_control.class.php'); ersetzen.
War schon gelöst...
Hallo
Das Problem habe ich gestern in einem anderen Thread schon gesehen:
Die Lösung ist eigentlich ganz einfach:
In der Datei
Beachte bitte, dass _dein_pfad_ natürlich mit DEINEM richtigen PFAD ersetzt werden muss.
Wäre natürlich toll, wenn das Contenido schon selber machen würde..
Gruss
Thomas
Das Problem habe ich gestern in einem anderen Thread schon gesehen:
Die Lösung ist eigentlich ganz einfach:
In der Datei
muss auf der Zeile 8 der relative Pfad in einen absoluten umgeschrieben werden!_dein_pfad_/contenido/external/wysiwyg/spaw/editor.php
Code: Alles auswählen
include('/_dein_pfad_/contenido/external/wysiwyg/spaw/spaw_control.class.php');
Wäre natürlich toll, wenn das Contenido schon selber machen würde..
Gruss
Thomas