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 »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Click install, following error
Pages: [1]

Author Topic: Click install, following error  (Read 1456 times)

talexander

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
Click install, following error
June 02, 2010, 09:25:15 am
Dear All,

I am getting this error when I try to run a fresh install of CiviCRM

Code: [Select]
Warning: require_once(/var/www/trbcp/administrator/components/com_civicrm/install.civicrm.php) [function.require-once]: failed to open stream: Permission denied in /var/www/trbcp/libraries/joomla/installer/adapters/component.php on line 291

Fatal error: require_once() [function.require]: Failed opening required '/var/www/trbcp/administrator/components/com_civicrm/install.civicrm.php' (include_path='.') in /var/www/trbcp/libraries/joomla/installer/adapters/component.php on line 291

I have checked the write status of the directories under Help->System information and all is in the green.  I have even run chmod 777 on the whole directory just in case there was a file i had missed.  opening up the component.php is fine and line 291 seems to be some install path location information.  does anyone know how to fix this?  Is it because Joomla is not running as a Super User (ie. with sudo, as this is an ubuntu lamp server)?

Regards

Tim

talexander

  • I’m new here
  • *
  • Posts: 17
  • Karma: 0
Re: Click install, following error
June 15, 2010, 05:42:49 am
Does anyone please have some help on this?  Left it for a bit as it became too frustrating to deal with but am giving it another go.

Things I have tried thus far:
1 777 the whole var directory (unsecure I know but needed to try it)
2 granted ownership of whole jommla site directory to www-data with 777
3 as above but to me (talexander)
4 added my user to the sudoers list to absolutely rule out permissions

All to no avail.  The difficulty seems to be new directories that civicrm that are created do not have inherited permissions (i.e. are not following the 777 permissions).  Could this be the issue?  If so does anyone know a way round it?  Or am I barking up the wrong tree (could be extremely likely as I am a relative new bod to admin of linux etc).

Thanks in advance

Tim

P.S. the error message has grown somewwhat:

Code: [Select]
Warning: fopen(/var/www/trbcp/administrator/components/com_civicrm/civicrm/templates/CRM/common/civicrm.settings.php.tpl) [function.fopen]: failed to open stream: Permission denied in /var/www/trbcp/libraries/joomla/filesystem/file.php on line 240

Warning: fopen(/var/www/trbcp/administrator/components/com_civicrm/civicrm/templates/CRM/common/civicrm.settings.php.tpl) [function.fopen]: failed to open stream: Permission denied in /var/www/trbcp/libraries/joomla/filesystem/file.php on line 240

Warning: include_once(/var/www/trbcp/administrator/components/com_civicrm/civicrm.settings.php) [function.include-once]: failed to open stream: Permission denied in /var/www/trbcp/administrator/components/com_civicrm/configure.php on line 115

Warning: include_once() [function.include]: Failed opening '/var/www/trbcp/administrator/components/com_civicrm/civicrm.settings.php' for inclusion (include_path='.') in /var/www/trbcp/administrator/components/com_civicrm/configure.php on line 115

Warning: require_once(DB.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/trbcp/administrator/components/com_civicrm/configure.php on line 140

Fatal error: require_once() [function.require]: Failed opening required 'DB.php' (include_path='.') in /var/www/trbcp/administrator/components/com_civicrm/configure.php on line 140

affordablewebhosting

  • Guest
Re: Click install, following error
June 21, 2010, 02:16:18 pm
Are you using the installer under Extensions=>Install/Uninstall?

Is the FTP layer active on Site=>Global Configuration=>Server?


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Click install, following error

This forum was archived on 2017-11-26.