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) »
  • Problem instaling civicrm on joomla
Pages: [1]

Author Topic: Problem instaling civicrm on joomla  (Read 5871 times)

tadas1985

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: joomla
  • MySQL version: 5.0.51a
  • PHP version: 5.2.6
Problem instaling civicrm on joomla
June 24, 2011, 12:32:51 pm
hi,
i have problem instaling civicrm on my joomla site.
after i hit install from directory i get error message:


Warning: fopen(/var/www/mysite/public_html/administrator/components/com_civicrm/civicrm/templates/CRM/common/civicrm.settings.php.tpl) [function.fopen]: failed to open stream: No such file or directory in /var/www/mysite/public_html/libraries/joomla/filesystem/file.php on line 246

Warning: fopen(/var/www/mysite/public_html/administrator/components/com_civicrm/civicrm/templates/CRM/common/civicrm.settings.php.tpl) [function.fopen]: failed to open stream: No such file or directory in /var/www/mysite/public_html/libraries/joomla/filesystem/file.php on line 246

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

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

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Problem instaling civicrm on joomla
June 27, 2011, 03:28:09 am
This looks like some permission issue. Once you unzip civicrm zip file can you give chmod -R 777 to com_civicrm folder and then install

HTh
Kurund
Found this reply helpful? Support CiviCRM

tadas1985

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: joomla
  • MySQL version: 5.0.51a
  • PHP version: 5.2.6
Re: Problem instaling civicrm on joomla
June 28, 2011, 05:44:32 am
i really new at this,

could you tell me how to do it? i think all permisions are grandet for me

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Problem instaling civicrm on joomla
July 01, 2011, 02:37:49 am
On your server once you untar the civicrm tarball.

chmod -R 777 com_civicrm

HTh
kurund
Found this reply helpful? Support CiviCRM

keg01

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
Re: Problem instaling civicrm on joomla
July 06, 2011, 06:15:13 am
I have the same issue. In a shared hosting environment, it appears the install script is running as user nobody even if php is running as the domain account (not nobody).

Is there a way to force the install script to run as the domain user and not user nobody? As it is creating files as owned by nobody:nobody, the files are no  longer crud-able by the domain account user.

When I upload a file via Joomla's Media Manager, php creates the file as owned by domainuser:domainuser ... so, it appears the install script is somehow forcing php to run as user nobody????

benmoreassynt

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: Joomla 2.5.19/Wordpress 3.8
  • MySQL version: 5.5.35
  • PHP version: 5.3.10
Re: Problem instaling civicrm on joomla
July 19, 2011, 01:46:50 pm
I'm having the same problem. Having experimented with changing all permissions to 777, I can't see that's it's a permission issue, and I can't see an obvious fix.

Error reporting:


Warning: fopen(/home/path/to/webroot/administrator/components/com_civicrm/civicrm/templates/CRM/common/civicrm.settings.php.tpl) [function.fopen]: failed to open stream: No such file or directory in /home/virtual/cdhalton.ca/webroot/libraries/joomla/filesystem/file.php on line 279

Warning: fopen(/home/path/to/webroot/administrator/components/com_civicrm/civicrm/templates/CRM/common/civicrm.settings.php.tpl) [function.fopen]: failed to open stream: No such file or directory in /home/virtual/cdhalton.ca/webroot/libraries/joomla/filesystem/file.php on line 279

Notice: Use of undefined constant CIVICRM_DSN - assumed 'CIVICRM_DSN' in /home/virtual/cdhalton.ca/webroot/tmp/com_civicrm/admin/configure.php on line 138

Warning: require_once(DB.php) [function.require-once]: failed to open stream: No such file or directory in /home/virtual/cdhalton.ca/webroot/tmp/com_civicrm/admin/configure.php on line 140

Fatal error: require_once() [function.require]: Failed opening required 'DB.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/path/to/webroot/tmp/com_civicrm/admin/configure.php on line 140

benmoreassynt

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 0
  • CiviCRM version: 4.4.4
  • CMS version: Joomla 2.5.19/Wordpress 3.8
  • MySQL version: 5.5.35
  • PHP version: 5.3.10
Re: Problem instaling civicrm on joomla - Joomla 1.7 only
July 19, 2011, 07:58:11 pm
The most obvious resolution to this bug is to download and install Joomla 1.6.5 instead from joomlacode.org/gf/project/joomla/frs/?action=FrsReleaseBrowse&frs_package_id=5696

The default Joomla version is now 1.7, so many new installers will likely be installing that versions and running into the same issue.


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Problem instaling civicrm on joomla

This forum was archived on 2017-11-26.