Probleme php fckeditor

Fermé
djbenvik - 27 juin 2005 à 14:46
 sikko qui galerait avc fck depuis un bout de temps - 31 août 2007 à 14:17
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.
A voir également:

4 réponses

bloodi1488 Messages postés 7 Date d'inscription dimanche 10 septembre 2006 Statut Membre Dernière intervention 15 septembre 2006 1
15 sept. 2006 à 09:51
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
Alors la ché po!
G le meme PB!!!
0
Essaye d'écrire ton chemint comme ceci:

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

sa devrait fonctionner
0
sikko qui galerait avc fck depuis un bout de temps
31 août 2007 à 14:17
Merci bloodi1488 !
0