Probleme php fckeditor

djbenvik -  
 sikko qui galerait avc fck depuis un bout de temps -
Je n'arrive pas a accéder a ma page contenant l'éditeur fckeditor!!
j'ai suivi l exemple dispo sur : http://fckeditor.wikiwikiweb.de/Developer%27s_Guide/Integration/PHP

voici le contenu de ma page :

<?php
include("c:\program files\easyphp1-8\www\benoit\FCKeditor\fckeditor.php") ;
?>
<html>
<head>
<title>FCKeditor - Sample</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<form action="savedata.php" method="post">
<?php
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = 'c:\program files\easyphp1-8\www\benoit\FCKeditor\';
$oFCKeditor->Value = 'Default test in editor';
$oFCKeditor->Create() ;
?>
<br>
<input type="submit" value="Submit">
</form>
</body>
</html>

et voici le message d'erreur :

Not Found
The requested URL /FCKeditor/editor/fckeditor.html was not found on this server.

4 réponses

  1. bloodi1488 Messages postés 7 Statut Membre 1
     
    J'ai trouvé, j'avais le même pb.

    Bon, faut que ton dossier FCKeditor soit a la racine de ton site, ça va de soit.

    Ensuite, dans ta page, tu écris :
    $oFCKeditor->BasePath = './FCKeditor/';

    Et ça marche !
    Mais ne met surtout pas :
    $oFCKeditor->BasePath = 'c:\program files\easyphp1-8\www\benoit\FCKeditor\';
    Sauf si tu fais de l'intranet.

    Voilà, bonne journée a tous!
    1
  2. Yobs
     
    Essaye d'écrire ton chemint comme ceci:

    $chemin = "c:\\mon\\chemin\\";

    sa devrait fonctionner
    0
  3. sikko qui galerait avc fck depuis un bout de temps
     
    Merci bloodi1488 !
    0