sws2007
Messages postés79Date d'inscriptionvendredi 27 juillet 2007StatutMembreDernière intervention19 janvier 2009
-
11 juin 2008 à 22:48
JoJo738
Messages postés1267Date d'inscriptionmercredi 7 juillet 2004StatutMembreDernière intervention29 juin 2010
-
12 juin 2008 à 15:58
j'ai utiliser l'editeu fckeditor sur local tout marche bien mais quand j'ai héberger le site il m'affiche ce message d'erreur
et j'ai besion d'aide SVP:
Warning: main(FCKeditor/fckeditor.php) [function.main]: failed to open stream: No such file or directory in /home.10.23/promozio/www/administration/editeur_italien.php on line 2
Warning: main() [function.include]: Failed opening 'FCKeditor/fckeditor.php' for inclusion (include_path='.:/usr/local/lib/php') in /home.10.23/promozio/www/administration/editeur_italien.php on line 2
Fatal error: Cannot instantiate non-existent class: fckeditor in /home.10.23/promozio/www/administration/editeur_italien.php on line 44
JoJo738
Messages postés1267Date d'inscriptionmercredi 7 juillet 2004StatutMembreDernière intervention29 juin 20102 11 juin 2008 à 23:24
Salut,
En traduisant l'erreur renvoyée par ton serveur, ça dit que ton fichier FCKeditor/fckeditor.php n'existe pas (à cette URI). Verifie donc le chemin de ton fichier.
Ou as tu placé ton dossier FCKeditor ? www/FCKeditor/ ?
<hr />Si ma reponse te convient, merci de l'accepter !
sws2007
Messages postés79Date d'inscriptionvendredi 27 juillet 2007StatutMembreDernière intervention19 janvier 2009 12 juin 2008 à 10:55
j'ai essayer avec le miniscule jai changé le code en:
include_once("/../../.../administration/fckeditor/fckeditor.php") ;
et j'ai essayer tout les chemin mais une autre ereur est apparu
The requested URL /administration/FCKeditor/editor/fckeditor.html was not found on this server.
et quand j'ai verifier dans le rep editor la page fckeditor .html existe deja
JoJo738
Messages postés1267Date d'inscriptionmercredi 7 juillet 2004StatutMembreDernière intervention29 juin 20102 12 juin 2008 à 11:05
Hum :s
Je vois que tu fais include_once '/...'; Quand tu place un / en 1er, tu remonte à la racine de ton serveur.
Et l'erreur que tu obtiens c'est une erreur FireFox/IE/... ?
Si je me souviens bien, pour FCKeditor tu dois spécifié un path (un chemin) pour qu'il retrouve son répertoire, l'as tu spécifié ?
<hr />Si ma reponse te convient, merci de l'accepter !
sws2007
Messages postés79Date d'inscriptionvendredi 27 juillet 2007StatutMembreDernière intervention19 janvier 2009 12 juin 2008 à 11:39
le chemin exaxte que j'ai mis c'est
include_once("/nom du serveur /nom user/repertoire du site/administration/fckeditor/fckeditor.php") ;
ce n'est pas '/../'
est j'ai essayer aussi avec include_once('FCKeditor/fckeditor.php') ;et avec include_once('administration/FCKeditor/fckeditor.php');
mais la meme chose
The requested URL /administration/FCKeditor/editor/fckeditor.html was not found on this server.
sws2007
Messages postés79Date d'inscriptionvendredi 27 juillet 2007StatutMembreDernière intervention19 janvier 2009 12 juin 2008 à 12:42
mon arborescence est juste est j'ai essayer avec include './FCKeditor/fckeditor.php'
amis aussi j'ai:
Warning: main(./FCKeditor/fckeditor.php.) [function.main]: failed to open stream: No such file or directory in /home.10.23/promozio/www/administration/editeur_italien.php on line 3
Warning: main() [function.include]: Failed opening './FCKeditor/fckeditor.php.' for inclusion (include_path= '.:/usr/local/lib/php') in /home.10.23/promozio/www/administration/editeur_italien.php on line 3
ets aussi j'ai l'erreur suivante:
/serveur/nom user/www/administration/editeur_italien.php on line 46
<?
$oFCKeditor = new FCKeditor('FCKeditor1') ; <-------celle ci est la ligne 46
$oFCKeditor->BasePath = '/fckeditor/';
$oFCKeditor->value = '' ;
$oFCKeditor->tag = '' ;
$oFCKeditor->title = '' ;
$oFCKeditor->Create() ;
?>
JoJo738
Messages postés1267Date d'inscriptionmercredi 7 juillet 2004StatutMembreDernière intervention29 juin 20102 12 juin 2008 à 13:04
Oki
Vraiment bizare ... car si tu appelles FCKeditor.php depuis editeur_italien.php l'adresse est './FCKeditor/fckeditor.php'
<?php
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = './FCKeditor/';
// Majuscule/minuscule, je préfère recpecter les standards comme ça pas de problème de portabilité
$oFCKeditor->value = '' ;
$oFCKeditor->tag = '' ;
$oFCKeditor->title = '' ;
$oFCKeditor->Create() ;
?>
Autre solution, dans ton fichier fckeditor.php met la ligne echo __FILE__; (c'est le chemin absolu) et copie la valeur retournée et colle là dans le include.
Moi, je me retrouve avec un include 'C:\wamp2\www\dev\bordel\names_and_time.php';<hr />Si ma reponse te convient, merci de l'accepter !
JoJo738
Messages postés1267Date d'inscriptionmercredi 7 juillet 2004StatutMembreDernière intervention29 juin 20102 12 juin 2008 à 15:58
Arf, ouep.
Bah, moi j'ai galéré aussi la 1er fois ... il suffit d'un tout petit bug.
A mon avis, c'est un problème au niveau du path de FCKEditor ou alors dans la config ... (si ca affiche url not found on this server, c'est que tu dois être sur la bonne piste : c'est la zone editable qui fait cette erreur)
<hr />Si ma reponse te convient, merci de l'accepter !