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) »
  • Upgrade to 3.3.3, now getting "unable to open resource" errors
Pages: [1]

Author Topic: Upgrade to 3.3.3, now getting "unable to open resource" errors  (Read 1358 times)

cognoscento

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 1
  • CiviCRM version: 4.2
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.65
  • PHP version: 5.3.17
Upgrade to 3.3.3, now getting "unable to open resource" errors
January 26, 2011, 12:20:53 pm
Just upgraded one of my sites to 3.3.3 (from 3.2) and am now getting errors in all of my admin pages. For example, visiting "Site Preferences" gives me these errors:

Code: [Select]
* warning: file_get_contents(/home/interp5/interpscan.ca/sites/all/modules/civicrm/templates//CRM/Form/label.tpl) [function.file-get-contents]: failed to open stream: No such file or directory in /home/interp5/interpscan.ca/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php on line 196.
* warning: file_get_contents(/home/interp5/interpscan.ca/sites/all/modules/civicrm/templates//CRM/Form/error.tpl) [function.file-get-contents]: failed to open stream: No such file or directory in /home/interp5/interpscan.ca/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php on line 197.
* user warning: Smarty error: unable to read resource: "CRM/Form/default.tpl" in /home/interp5/interpscan.ca/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1093.

I've checked /sites/default/civicrm.settings.php and all seems to be in order (although it's labeled as v3.2 in the top comments). Also, all the referred-to files are in the right places. (although where is that extra forward slash in the error message coming from?)

***CORRECTION: There are no tpl files in any of those folders...***

Suggestions?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Upgrade to 3.3.3, now getting "unable to open resource" errors
January 26, 2011, 06:16:39 pm
Quote from: cognoscento on January 26, 2011, 12:20:53 pm
***CORRECTION: There are no tpl files in any of those folders...***

Are you saying there are no .tpl files in /home/interp5/interpscan.ca/sites/all/modules/civicrm/templates/CRM sub-directories? If so, the ne codebase wasn't copied properly / completely.

Otherwise,  make sure you followed the upgrade steps AND if the upgraded site is in a different location from the 3.2 site - make sure you've followed these steps:

http://wiki.civicrm.org/confluence/display/CRMDOC33/Moving+an+Existing+Installation+to+a+New+Server+or+Location
Protect your investment in CiviCRM by  becoming a Member!

cognoscento

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 1
  • CiviCRM version: 4.2
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.65
  • PHP version: 5.3.17
Re: Upgrade to 3.3.3, now getting "unable to open resource" errors
January 27, 2011, 09:42:40 am
I was checking the php folder, instead of the template folder because I'm a moron... heh. Some of the upload did get missed, turns out. Thanks for that!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade to 3.3.3, now getting "unable to open resource" errors

This forum was archived on 2017-11-26.