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) »
  • Uprgrade to 4.2 file_get_contents() [function.file-get-contents]
Pages: [1]

Author Topic: Uprgrade to 4.2 file_get_contents() [function.file-get-contents]  (Read 778 times)

sjmagain

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5.3
Uprgrade to 4.2 file_get_contents() [function.file-get-contents]
January 12, 2013, 06:01:56 am
I just tried to upgrade from 4.1 to 4.2 (Drupal) and I got the following error message:

Warning: file_get_contents() [function.file-get-contents]: Filename cannot be empty in CRM_Upgrade_Page_Upgrade->runFinish()(line 171 of/home/columbus/www/www/sites/all/modules/civicrm/CRM/Upgrade/Page/Upgrade.php).

What does this mean and how do I fix it?

TIA.

Sue

sjmagain

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5.3
Re: Uprgrade to 4.2 file_get_contents() [function.file-get-contents]
January 12, 2013, 07:06:46 am
I am also getting the following error messages:

Warning: require(CRM/Core/DAO/.listAll.php) [function.require]: failed to open stream: No such file or directory in _civicrm_api3_get_DAO() (line 272 of /home/columbus/www/www/sites/all/modules/civicrm/api/v3/utils.php).
Warning: require(CRM/Core/DAO/.listAll.php) [function.require]: failed to open stream: No such file or directory in _civicrm_api3_get_DAO() (line 272 of /home/columbus/www/www/sites/all/modules/civicrm/api/v3/utils.php).

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Uprgrade to 4.2 file_get_contents() [function.file-get-contents]
January 12, 2013, 09:02:50 am
most likely your extraction of the package did not extract all files (specifically the hidden files (.listAll.php) might be missing

am not sure why we decided to make them hidden files in the first place, but we have to live with them for now :(

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Uprgrade to 4.2 file_get_contents() [function.file-get-contents]

This forum was archived on 2017-11-26.