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) »
  • civicrm 2.1.1 joomla 1.5 configure.php error
Pages: [1]

Author Topic: civicrm 2.1.1 joomla 1.5 configure.php error  (Read 9160 times)

psrinivas

  • Guest
civicrm 2.1.1 joomla 1.5 configure.php error
November 21, 2008, 04:56:56 am
I was trying to install civicrm 2.1.1 on joomla 1.5

i followed the process as specified in the Install documentation.  I am getting the following error.

Warning: fopen(/home/vandemat/public_html/administrator/components/com_civicrm/civicrm.settings.php) [function.fopen]: failed to open stream: Permission denied in /home/vandemat/public_html/administrator/components/com_civicrm/configure.php on line 54
Cannot open /home/vandemat/public_html/administrator/components/com_civicrm/civicrm.settings.php

I am running php5.0 and mysql cpanel hosting

pls advise

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: civicrm 2.1.1 joomla 1.5 configure.php error
November 21, 2008, 05:20:03 am
Try changing the permissions on the administrator/components/com_civicrm/ folder.
The settings file is created and written to during the installation process. Looks like it wasn't able to write to the file.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

psrinivas

  • Guest
Re: civicrm 2.1.1 joomla 1.5 configure.php error
November 21, 2008, 05:35:12 am
hi icd

thanks for the reply,

This is what i did,

I intalled civicrm using joomla components >> install/unstall > Install from Directory

Once i do the above i am getting the error i mentioned above.

After installation i tried to give write permissions to the administrator/components/com_civicrm and tried to access the Civicrm Menu in the joomla backend but there i am getting further errors like this

Warning: include_once(civicrm.settings.php) [function.include-once]: failed to open stream: No such file or directory in /home/vandemat/public_html/administrator/components/com_civicrm/admin.civicrm.php on line 13

Warning: include_once() [function.include]: Failed opening 'civicrm.settings.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/vandemat/public_html/administrator/components/com_civicrm/admin.civicrm.php on line 13

Warning: require_once(CRM/Core/Config.php) [function.require-once]: failed to open stream: No such file or directory in /home/vandemat/public_html/administrator/components/com_civicrm/admin.civicrm.php on line 17

Fatal error: require_once() [function.require]: Failed opening required 'CRM/Core/Config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/vandemat/public_html/administrator/components/com_civicrm/admin.civicrm.php on line 17


Please advise

Best Regards

Srinivas


emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: civicrm 2.1.1 joomla 1.5 configure.php error
November 21, 2008, 06:43:53 am
hey psrinivas

not sure if this will help you, but i recall there being a similar situation somewhere in this thread:
http://forum.joomla.org/viewtopic.php?f=294&t=76274&st=0&sk=t&sd=a&start=0

thought i'd pass it on.

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Re: civicrm 2.1.1 joomla 1.5 configure.php error
December 22, 2008, 03:09:31 am
This is a permissions issue. I used the following workaround:

1. Clear browser cookie and sessions
2. Log back into Joomla admin
3. install from directory using my FTP root privileges (not my usual FTP account)
4. chown all files back to the correct user.

Don't know why I need to go through this but something was messed before.

sungoddess

  • Guest
Re: civicrm 2.1.1 joomla 1.5 configure.php error
December 31, 2008, 09:39:02 am
Quote from: lcdweb on November 21, 2008, 05:20:03 am
Try changing the permissions on the administrator/components/com_civicrm/ folder.
The settings file is created and written to during the installation process. Looks like it wasn't able to write to the file.

How do I do this when installing from directory? Aren't the files copied over during the install?

I tried doing this to the folder after the fact. No joy.

I tried copying my old civicrm.settings.php and editing the variables within, and it broke the site fundamentally.

Also tried to chmod the folders before the installation and it made no difference either.

I'm trying to upgrade the site from a J1.0 codebase.

Made a copy of the live database, migrated to J1.5, been following posted instructions in the wiki with no joy. I get this error:

Code: [Select]

Warning: fopen(/home/bcsiorg/public_html/beta/administrator/components/com_civicrm/civicrm.settings.php) [function.fopen]: failed to open stream: Permission denied in /home/bcsiorg/public_html/beta/administrator/components/com_civicrm/configure.php on line 54

Cannot open /home/bcsiorg/public_html/beta/administrator/components/com_civicrm/civicrm.settings.php


I've been at this for two or three days, quite frustrated.
« Last Edit: December 31, 2008, 09:43:22 am by sungoddess »

sungoddess

  • Guest
Re: civicrm 2.1.1 joomla 1.5 configure.php error
December 31, 2008, 09:47:29 am
Never mind... posting here FYI:

My FTP layer was on. I toggled it off and the upgrade went perfectly.

kjbi

  • Guest
Re: civicrm 2.1.1 joomla 1.5 configure.php error
January 28, 2009, 02:55:02 pm
How do you toggle teh ftp layer off?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: civicrm 2.1.1 joomla 1.5 configure.php error
January 29, 2009, 03:57:00 pm
Login to Joomla Administrator. Site Menu - Global Configuration - Server tab. You'll see "Enable FTP Layer".
Protect your investment in CiviCRM by  becoming a Member!

udaydahale

  • Guest
Re: civicrm 2.1.1 joomla 1.5 configure.php error
January 17, 2010, 10:43:01 pm
sir,
i having same problem when i create a joomla menu as type civicrm

i got an error in my site



Warning: require_once(CRM/Core/Config.php) [function.require-once]: failed to open stream: No such file or directory in /home/repl10/public_html/v2/components/com_civicrm/civicrm.php on line 19

Fatal error: require_once() [function.require]: Failed opening required 'CRM/Core/Config.php' (include_path='.:D:\xampp\htdocs\quickrepublic\administrator\components\com_civicrm\civicrm:D:\xampp\htdocs\quickrepublic\administrator\components\com_civicrm\civicrm/packages:.:/usr/lib/php:/usr/local/lib/php') in /home/repl10/public_html/v2/components/com_civicrm/civicrm.php on line 19


i saw forum but i cant understand




sorry for english



regards,
Uday

« Last Edit: January 17, 2010, 10:46:47 pm by udaydahale »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: civicrm 2.1.1 joomla 1.5 configure.php error
January 18, 2010, 11:43:54 am
Looks like you're installing on a Windows machine. Check the forum for additional info on windows installs. Or you might want to contact Web Access India for help w/ your installation.

http://www.webaccessglobal.com/opensource/civicrm-professional-services
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • civicrm 2.1.1 joomla 1.5 configure.php error

This forum was archived on 2017-11-26.