Bonjour à tous,
J'ai installé fckeditor sur un site. L'ensemble fonctionne plutôt bien sauf pour les images.
Quand on clique sur le bouton d'insertion d'images et qu'on fait "parcourir le serveur" rien ne s'affiche dans ma page malgré la configuration du fichier conf.php du browser :
Pour l'upload s'est pareil, rien ne passe, pas de nouvelle image sur le serveur avec la config suivante:global $Config ;
// SECURITY: You must explicitelly enable this "connector". (Set it to "true").
$Config['Enabled'] = true ;
// Path to user files relative to the document root.
$Config['UserFilesPath'] = '../img/' ;
// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Usefull if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\UserFiles\\' or '/root/mysite/UserFiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
$Config['UserFilesAbsolutePath'] = '/test/img/' ;
// Due to security issues with Apache modules, it is reccomended to leave the
// following setting enabled.
$Config['ForceSingleExtension'] = true ;
etc...
J'ai parcours beaucoup de post, tanté plein d'trucs et notament j'ai essayé de modifier le fichier "fckconfig.js" pour préciser le format de l'upload (php) suivant les conseils trouver dans un post mais je dois faire une erreur parce que quand je le change fckeditor ne s'affiche plus dans ma page:global $Config ;
// SECURITY: You must explicitelly enable this "uploader".
$Config['Enabled'] = true ;
// Set if the file type must be considere in the target path.
// Ex: /UserFiles/Image/ or /UserFiles/File/
$Config['UseFileType'] = '../img/' ;
// Path to uploaded files relative to the document root.
$Config['UserFilesPath'] = '../img/' ;
// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Usefull if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\UserFiles\\' or '/root/mysite/UserFiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
$Config['UserFilesAbsolutePath'] = '/test/img/' ;
// Due to security issues with Apache modules, it is reccomended to leave the
// following setting enabled.
$Config['ForceSingleExtension'] = true ;
etc ...
FCKConfig.ImageBrowser = true ;
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/' + _FileBrowserLanguage='php' + '/connector.' + _FileBrowserExtension ;
etc...
mon architecture :
monsite/fckeditor
mon rép image :
monsite/img
Enfin v'là la montagne qui m'empêche de continuer alors si quelqu'un pouvait me filer un coup de main se serait l'top![]()
merci à toutes et à tous
p.s Je suis sous windows et pour l'instant je teste sur le site en local
Partager