Probleme php fckeditor
djbenvik
-
sikko qui galerait avc fck depuis un bout de temps -
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.
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:
- Probleme php fckeditor
- Easy php - Télécharger - Divers Web & Internet
- Expert php pinterest - Télécharger - Langages
- Retour a la ligne php - Forum Webmastering
- Alert php - Forum PHP
- Retour a la ligne php ✓ - Forum PHP
4 réponses
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!
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!