Kodları lütfen aşağıdaki butonları kullanarak renklendirin. Örnek: <php> echo "Selam Dünya"; </php>
Yardım
karakter kaldı

CKFinder sunucu URL Problemi

Aşağıdaki sorunun aynısı bendede var.( localde kcfinder ile sorunsuz upload ve ckeditöre dosya sorunsuz eklenebilirken. sunucuda dosyalar farklı yere upload edildiğinden editöre resim dosya yolu yanlış gidiyor.

Bu (http://www.linkedin.com/answers/technology/web-development/TCH_WDD/724769-27390671)
linkten baktım fakat ingilizcem olmadığı için çözümünden bir şey anlamadım anlayan varsa yardımcı olabilirmi ?


Problem with uploading images in CKEditor using KCFinder

I have integrated KCFinder in CKEditor for uploading images. It is working perfectly fine in my local system. I have now uploaded it online. Everything is working fine. CKEditor is opening fine. The Browser window is opening on click of "Browse Server". And I am also able to upload the images. But the images are stored in /kcfinder/images folder instead of /kcfinder/upload/images. And on selecting the images the URL that i get is incorrect. Instead of giving the Real path of the server, it just gives /images/ImageName.jpg. Please do let me know what is the problem and how to solve it. It is a bit urgent. Thanks.
+0
-0
Cevaba KatılıyorumKatılmıyorum
Cevap Yaz Yorum Yaz Arşivime Ekle Takip Et

Cevaplar

  • kralmermi adlı üyenin fotoğrafı
    12 yıl önce yazılmış
    102 cevap - 6 soru
    hocam ckeditor de filemanager\connectors\php clasorunde config.php war ordan upload klasorunu ayarla onada yazma izni ver olmasi lazim ben o sekilde kullaniyorum ve sorun cekmiyorum.
    • imercan adlı üyenin fotoğrafı imercan
      filemenager diye bir klasör yok.
      ben CKEditöre KCFinder entegre ettim.
      KCFinderdan resimleri alıyorum.
      12 yıl önce yazılmış
    • Crypty adlı üyenin fotoğrafı Crypty
      Congif dosyası içeriğini yazabilirseniz daha etkili çözüm önerileri gelecektir.
      12 yıl önce yazılmış
  • imercan adlı üyenin fotoğrafı
    12 yıl önce yazılmış
    3 cevap - 8 soru
    <?php
    
    /** This file is part of KCFinder project
      *
      *      @desc Base configuration file
      *   @package KCFinder
      *   @version 2.21
      *    @author Pavel Tzonkov <pavelc@users.sourceforge.net>
      * @copyright 2010 KCFinder Project
      *   @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2
      *   @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2
      *      @link http://kcfinder.sunhater.com
      */
    
    // IMPORTANT!!! Do not remove uncommented settings in this file even if
    // you are using session configuration.
    // See http://kcfinder.sunhater.com/install for setting descriptions
    
    $_CONFIG = array(
    
        'disabled' => true,
        'readonly' => false,
        'denyZipDownload' => true,
    
        'theme' => "oxygen",
    
        'uploadURL' => "upload",
        'uploadDir' => "",
    
        'dirPerms' => 0777,
        'filePerms' => 0777,
    
        'deniedExts' => "exe com msi bat php cgi pl",
    
        'types' => array(
    
            // CKEditor & FCKEditor types
            'files'   =>  "",
            'flash'   =>  "swf",
            'images'  =>  "*img",
    
            // TinyMCE types
            'file'    =>  "",
            'media'   =>  "swf flv avi mpg mpeg qt mov wmv asf rm",
            'image'   =>  "*img",
        ),
    
        'mime_magic' => "",
    
        'maxImageWidth' => 0,
        'maxImageHeight' => 0,
    
        'thumbWidth' => 100,
        'thumbHeight' => 100,
    
        'thumbsDir' => ".thumbs",
    
        'jpegQuality' => 90,
    
        'cookieDomain' => "",
        'cookiePath' => "",
        'cookiePrefix' => 'KCFINDER_',
    
        // THE FOLLOWING SETTINGS CANNOT BE OVERRIDED WITH SESSION CONFIGURATION
    
        '_check4htaccess' => true,
        //'_tinyMCEPath' => "/tiny_mce",
    
        '_sessionVar' => &$_SESSION['KCFINDER'],
        //'_sessionLifetime' => 30,
        //'_sessionDir' => "/full/directory/path",
    
        //'_sessionDomain' => ".mysite.com",
        //'_sessionPath' => "/my/path",
    );
    
    ?>
    
    • kralmermi adlı üyenin fotoğrafı kralmermi
      'uploadURL' => "upload", bu satiri ckeditorun klasoru olarak ayarla sorunun çözülsün
      12 yıl önce yazılmış
    • imercan adlı üyenin fotoğrafı imercan
      Sorun ckeditörün klasörü olarak ayarlamak değil.Ben zaten localde çalıştırabiliyorum.
      localde kcfinder/upload klasörü içerisine atıyor dosyaları fakat serverda (windows server-plesk panel) upload klasörünü görümüyormu artık nedir bir türlü upload klasörü içerisine atmıyor dosyaları.

      Acaba izinlerde bir problem mi var.

      Linux serverda (direct admin) denedim çalıştı.
      12 yıl önce yazılmış
    • kralmermi adlı üyenin fotoğrafı kralmermi
      o zaman plesk uzerinden izinlerini kontrol et hocam ftp den bakma ama pleskten veri izinlerini
      12 yıl önce yazılmış