Fckeditor pb installation base via le tutorial.
Bonjour je souhaite installer fckeditor .
Bon le tutorial est en anglais et je suis content je comprend (anglais très basique.)
Donc j'utilise Fckedtior 2.6. Mais j'ai essayer avec plusieurs version et ce n'est pas cela qui ne marche pas.
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
<?php
include_once("fckeditor/fckeditor.php") ;
?>
<html>
<head>
<title>FCKeditor - Sample</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<form action="sampleposteddata.php" method="post" target="_blank">
<?php
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = '/fckeditor/' ;
$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
$oFCKeditor->Create() ;
?>
<br>
<input type="submit" value="Submit">
</form>
</body>
</html> |
Donc voici le code qu'il donne. J'ai essayé et sa ne marche pas.
Pourtant dans mon site j'ai un dossier includes/fckeditor.
Et j'ai créér une page includes/try.php .
Ou j'y est mis ce code.
Mais cela ne fonctionne pas.
Pourtant je pense avoir compris le tutorial en anglais.
L'erreur est :
Not Found
The requested URL /fckeditor/editor/fckeditor.html was not found on this server.
Pourtant fckeditor\editor\fckeditor.html .(adresse window) existe bien.
J'ai essayé en modifiant cette ligne :
$oFCKeditor->BasePath = '/fckeditor/' ;
par
$oFCKeditor->BasePath = 'fckeditor/' ;
Et la cela n'affiche rien.
Quelqu'un peut - il m'aider?
Merci beaucoup !