CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • issue with upload image in kcfinder
Pages: [1]

Author Topic: issue with upload image in kcfinder  (Read 452 times)

thinhnk

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 3
  • CMS version: Wordpress
  • MySQL version: 5.3
  • PHP version: 5.3
issue with upload image in kcfinder
July 31, 2014, 03:22:02 am
hi all,
i have probem when upload image in kcfinder. Civi tells me "Can not create images folder."
I checked in file uploader.php. It not pass.

Code: [Select]
// CHECK & CREATE UPLOAD FOLDER
         $this->typeDir = 'persist/contribute/images';
        if (!is_dir($this->typeDir)) {
            if (!mkdir($this->typeDir, $this->config['dirPerms']))
                $this->backMsg("Cannot create {dir} folder.", array('dir' => $this->type));
        } elseif (!is_readable($this->typeDir))
            $this->backMsg("Cannot read upload folder.");

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • issue with upload image in kcfinder

This forum was archived on 2017-11-26.