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) »
  • latest-version-cache.txt fopen permission problem --> in 3.3.3?
Pages: [1]

Author Topic: latest-version-cache.txt fopen permission problem --> in 3.3.3?  (Read 1688 times)

dinosp

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 3.3.3
  • CMS version: Drupal 6.20
  • MySQL version: 5.0.89
  • PHP version: 5.2.12
latest-version-cache.txt fopen permission problem --> in 3.3.3?
January 21, 2011, 07:36:49 pm
Hey all,

I just moved and upgraded my CiviCRM system from 3.0.3 to 3.3.3. Before I upgraded, I followed the "howto to move" instructions carefully and everything was working after I moved. However, after I upgrade to 3.3.3 (which was successful, and things mostly seem to be working otherwise), I get this error:

warning: fopen(latest-version-cache.txt) [function.fopen]: failed to open stream: Permission denied in /var/www/vhosts/websitedomain.org/subdomains/beta/httpdocs/sites/all/modules/civicrm/CRM/Utils/VersionCheck.php on line 165.

I know this was a problem a few times early on in CC, but haven't seen anything recently for this. I see this error only on the main CiviCRM Admin Console page.

The file is 777 and can be read by the web server. Question: does the error above appear that VersionCheck.php is looking for latest-version-cache.txt in the same folder and *not* in the [civicrm root]/sites/default/files/civicrm/upload ?

Any other ideas? It's not hurting anything as it seems otherwise to be working a-okay, but I hate getting errors ;)

Thank you everyone!

Dinos

planigan

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 1
    • Allegheny CleanWays
  • CiviCRM version: 4.1.0
  • CMS version: Drupal 6.24
  • MySQL version: 5.0.90
  • PHP version: 5.2.13
Re: latest-version-cache.txt fopen permission problem --> in 3.3.3?
February 01, 2011, 02:50:13 pm
I'm having the same issue. Did you ever resolve this?

dinosp

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 3.3.3
  • CMS version: Drupal 6.20
  • MySQL version: 5.0.89
  • PHP version: 5.2.12
Re: latest-version-cache.txt fopen permission problem --> in 3.3.3?
February 01, 2011, 04:15:56 pm
Unfortunately not - it's still an issues. Operationally, it doesn't seem to be affecting anything, but at the same time, the error should not be occurring. If I find a solution, I'll definitely post it up here. I'm just baffled by it as its so unexplained. Sorry I couldn't help..

nkinkade

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 5
Re: latest-version-cache.txt fopen permission problem --> in 3.3.3?
February 17, 2011, 04:06:28 pm
I hit this issue as well.  After digging around a bit in the code it appeared that something was wrong with the config_backend field in the table civicrm_domain.  Yet the directories at the following URL looked just fine:

http://<yourdomain>/civicrm/admin/setting/path&reset=1

I found that simply going to that page, then clicking the "Save" button fixed it for me.  The paths were correct, but apparently saving them alters the config_backend field in some way that got changed during the upgrade process (we just upgraded to 3.3.5).

Hope that helps.

Nathan

Deepak Srivastava

  • Moderator
  • Ask me questions
  • *****
  • Posts: 677
  • Karma: 65
Re: latest-version-cache.txt fopen permission problem --> in 3.3.3?
February 22, 2011, 10:40:38 am
FTP here is the related issue - http://issues.civicrm.org/jira/browse/CRM-7596.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

dinosp

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 3.3.3
  • CMS version: Drupal 6.20
  • MySQL version: 5.0.89
  • PHP version: 5.2.12
Re: latest-version-cache.txt fopen permission problem --> in 3.3.3?
April 03, 2011, 04:32:06 pm
Just wanted to extend a thank you - I've got this fixed now. Cheers everyone, thanks again!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • latest-version-cache.txt fopen permission problem --> in 3.3.3?

This forum was archived on 2017-11-26.