petit souci fckeditor

Eléphant du PHP | 248 Messages

04 nov. 2007, 13:07

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

ViPHP
fab
ViPHP | 2657 Messages

04 nov. 2007, 14:28

Tu as regardé l'error log PHP ?
Seul l'intelligent a le pouvoir de se trouver con
try { work(); } catch(FlemmeExeption $e) { sleep(84600); }

Eléphant du PHP | 248 Messages

04 nov. 2007, 16:09

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

ViPHP
ViPHP | 4039 Messages

04 nov. 2007, 18:14

on dirait un souci de répertoires absolus/relatifs..
Mais qu'importe. (je suis ici - dernier petit projet)
Berze going social.

Eléphant du PHP | 248 Messages

05 nov. 2007, 20:14

Ben enfait je dois rajouté une ligne de code dans la config httpd du nom de domaine

Mammouth du PHP | 804 Messages

05 nov. 2007, 20:48

j'ai l'impression qu'il y a un problème de droit sur un rep ?

Eléphant du PHP | 248 Messages

08 nov. 2007, 12:22

Bonjour j'ai pu enlever la barrière en mettant un vhost.conf dans mon répertoire conf