Page 1 sur 1

petit souci fckeditor

Posté : 04 nov. 2007, 13:07
par moileraz
Bonjour,
j'utilise pour un site fckeditor. j'etais sur un serveur ou il y avait php4 et cela fonctionnait sans problème depuis avant hier je suis passé sur un serveur avec php5 mais la fckeditor ne s'affiche plus j'ai essayé de faire un fichier simplement avec le code suivant:
include"fckeditor/fckeditor.php" ;



$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = 'fckeditor/';
$oFCKeditor->Value = 'Veuillez mettre votre texte ici';
$oFCKeditor->Width  = '100%' ;
$oFCKeditor->Height = '400' ;
$oFCKeditor->Create() ;
Mais cela m'affiche une page blanche. Lorsque je l'ai essayé sur le serveur avec PHP4 cela fonctionne sans problème.

safemode est OFF
registerglobal est OFF

les permissions de mes fichiers 747

Auriez vous une solution

Merci d'avance

Posté : 04 nov. 2007, 14:28
par fab
Tu as regardé l'error log PHP ?

Posté : 04 nov. 2007, 16:09
par moileraz
voila l'erreur: peut tu me dire ce que je dois faire?

Warning: main() [function.main]: open_basedir restriction in effect. File(/fckeditor_php5.php) is not within the allowed path(s): (/var/www/vhosts/mondomaine.fr/httpdocs:/tmp) in /var/www/vhosts/mondomaine.fr/httpdocs/admin/fckeditor/fckeditor.php on line 31

Warning: main(fckeditor_php5.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/mondomaine.fr/httpdocs/admin/fckeditor/fckeditor.php on line 31

Warning: main() [function.include]: Failed opening 'fckeditor_php5.php' for inclusion (include_path='.:') in /var/www/vhosts/mondomaine.fr/httpdocs/admin/fckeditor/fckeditor.php on line 31

Fatal error: Class 'FCKeditor' not found in /var/www/vhosts/mondomaine.fr/httpdocs/admin/editor.php on line 6

Merci d'avance pour ton aide

Posté : 04 nov. 2007, 18:14
par Berzemus
on dirait un souci de répertoires absolus/relatifs..

Posté : 05 nov. 2007, 20:14
par moileraz
Ben enfait je dois rajouté une ligne de code dans la config httpd du nom de domaine

Posté : 05 nov. 2007, 20:48
par dogmongo
j'ai l'impression qu'il y a un problème de droit sur un rep ?

Posté : 08 nov. 2007, 12:22
par moileraz
Bonjour j'ai pu enlever la barrière en mettant un vhost.conf dans mon répertoire conf