Forum

Thread tagged as: Question, Problem, CKEditor

CK Editor not uploading images

I am trying to upload an image using CK editor and it when I choose link and the source, I will be waiting forever. I have tried small files of only a few kb to up to 3 mb. Neither work.

I am using the version of CK editor downloaded from perch.

SUMMARY INFORMATION

Perch: 2.8.6, PHP: 5.3.29, MySQL: 5.1.73, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.6), assets (2.8.6), categories (2.8.6)
App runtimes: <?php $apps_list = array( 'content', 'categories', );
PERCH_LOGINPATH: /perch
PERCH_PATH: /hsphere/local/home/c168080/test.madhavanyc.com/perch
PERCH_CORE: /hsphere/local/home/c168080/test.madhavanyc.com/perch/core
PERCH_RESFILEPATH: /hsphere/local/home/c168080/test.madhavanyc.com/perch/resources
Image manipulation: GD
PHP limits: Max upload 30M, Max POST 30M, Memory: 64M, Total max file upload: 30M
Resource folder writeable: Yes
HTTP_HOST: test.madhavanyc.com
DOCUMENT_ROOT: /hsphere/local/home/c168080/test.madhavanyc.com
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Mark Chen

Mark Chen 0 points

  • 6 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Do regular images in content upload?

Url images are fine but anything to do with uploading an image via a local folder fails.

If I use the images.html editor from the content folder that works fine and it adds the images to a default bucket.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you show us your template?

The below is the section that is responsible for the image.

<div class="content bio">
  <div class="row">
    <div class="large-6 columns"><?php perch_content('Image'); ?></div>
    <div class="large-6 columns">
      <p>
        <?php perch_content('Body'); ?>
      </p>
    </div>
  </div>
</div>
Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you show me the template that the 'Image' region is using?

<img src="<perch:content type="image" id="image" label="Image" width="800" />" alt="<perch:content type="text" id="alt" label="Description" required="true" help="e.g. Photo of MD John Smith with his best wig on" title="true" />" />
Drew McLellan

Drew McLellan 2638 points
Perch Support

Are there any errors in your server error log?

yes. but how do i upload that for you to see?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Just copy and paste any recent examples that relate to this issue.