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 »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • CivicCRM Warning: unlink() [function.unlink]: No such file or directory
Pages: [1]

Author Topic: CivicCRM Warning: unlink() [function.unlink]: No such file or directory  (Read 2419 times)

bastone7

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
CivicCRM Warning: unlink() [function.unlink]: No such file or directory
July 31, 2013, 08:37:43 am
CiviCRM Administration on Joomla

Every time I click on Administer>>System Settings>>Manage Extensions, I got the following error, can someone help on this please

Joomla: 2.5.13, CiviCRM 4.3.5. php: 5.3.24


Warning: unlink() [function.unlink]: No such file or directory in /home/content/11/4447591/html/administrator/components/com_civicrm/civicrm/CRM/Utils/File.php on line 513
Warning: mkdir() [function.mkdir]: No such file or directory in /home/content/11/4447591/html/administrator/components/com_civicrm/civicrm/CRM/Utils/File.php on line 514



Bellow is part of the content of File.php file
  /**
   * Create a path to a temporary directory which can endure for multiple requests
   *
   * TODO: Automatic file cleanup using, eg, TTL policy
   *
   * @param $prefix string
   *
   * @return string, path to an openable/writable directory; ends with '/'
   * @see tempnam
   */
  static function tempdir($prefix = 'tmp-') {
    $fileName = self::tempnam($prefix);
    unlink($fileName);  //line 513
    mkdir($fileName, 0700);  //line 514
    return $fileName . '/';
  }

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Pre-installation Questions (Moderator: Dave Greenberg) »
  • CivicCRM Warning: unlink() [function.unlink]: No such file or directory

This forum was archived on 2017-11-26.