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) »
  • Trouble AFTER install
Pages: [1]

Author Topic: Trouble AFTER install  (Read 3426 times)

nucre8ion

  • Guest
Trouble AFTER install
June 30, 2007, 05:30:27 pm
Hello.

I installed Civicrm to my website hosted on godaddy. I was able to install civirm so that I see the com_civicrm entries from my joomla components menu but when I try to open any of the functions (admin civicrm and so on) I get this message:

Warning: main(civicrm.settings.php): failed to open stream: No such file or directory in /home/content/n/u/c/nucre8ion/html/nucre8ion/administrator/components/com_civicrm/admin.civicrm.php on line 7

Warning: main(): Failed opening 'civicrm.settings.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/n/u/c/nucre8ion/html/nucre8ion/administrator/components/com_civicrm/admin.civicrm.php on line 7

Warning: main(CRM/Core/Config.php): failed to open stream: No such file or directory in /home/content/n/u/c/nucre8ion/html/nucre8ion/administrator/components/com_civicrm/admin.civicrm.php on line 11

Fatal error: main(): Failed opening required 'CRM/Core/Config.php' (include_path='.:/usr/local/lib/php') in /home/content/n/u/c/nucre8ion/html/nucre8ion/administrator/components/com_civicrm/admin.civicrm.php on line 11

I tried uninstalling and reinstalling with no luck.

I am sure it is a config error of some sort but I am a helpless newb to this. Ive used joomla for a while but adding a 3rd part component is new for me. Any help would be appreciated.

It appears that it believes some files are missing but they seem to be on the server where they are supposed to be. Not sure what is going on. I am not a "code" guy. I can run the software but I can't figure this installation out.

Nucre8ion

I am running PHP 5 and I have access to the php (cgi config) settings.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Trouble AFTER install
July 01, 2007, 08:57:32 am
There should be a file called civicrm.settings.php in your <joomla_root>/administrator/components/com_civicrm folder. Sounds like this might be missing. This file contains path and DB info required by CiviCRM and is normally created during the install.
Protect your investment in CiviCRM by  becoming a Member!

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Trouble AFTER install
July 24, 2007, 04:37:40 pm
This is actually the error I am getting on my new install in Joomla 1.5RC.

Lobo said that the civicrm.settings.php file should be generated when you first go to civicrm. That is where the error is happening.

Can you say which version of Joomla! you are using?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Trouble AFTER install
July 24, 2007, 04:57:45 pm

Elin:

In 1.5 you have to specifically make your media directory writable by the web server. (i dont think it prompts you to do so, it might throw an error if not writable)

we also need to be able to write into components/com_civicrm and administrator/components/com_civicrm, but i think that permission is implicitly there since the installer created those directories

I got 1.8 working with Joomla 1.5 RC without too many issues

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Trouble AFTER install
July 25, 2007, 05:28:44 am
Could you say what the "not too many" issues were?

The media directory is writable.

I'm getting the errors  above with a 1.7 install.

Also something seems to go terribly wrong with uninstall. No idea of this is a civicrm or a joomla issue.

« Last Edit: July 25, 2007, 05:32:14 am by mcsmom »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Trouble AFTER install
July 25, 2007, 07:06:27 am
Elin - Lobo and I will be spending some more time looking at this today. I installed 1.8 r10531 on Joomla! RC1 locally yesterday and mostly things worked. The issues I found were:

* New contribution page wizard get's "stuck" on first step. Some other "add" forms work but return to add page instead of to listings on save.
* Can't submit Online Contribution page - not recognizing that Amount radio button value is checked.
Both of above may be related to some form POST handling issues in RC1 that evidently have been fixed for upcoming RC2.

* Joomla component menu contains fixed list of CiviCRM menu items - regardless of which CiviCRM components are enabled or disabled. (This may be an issue for both 1.01 and 1.5)

I did my install "From Directory". Based on my steps, I've written a draft of new installation instructions for 1.8 - with sections for installing on 1.0.1 and 1.5. Would be great if you have time to review, modify if needed etc.

http://wiki.civicrm.org/confluence/display/CRMDOC/Install+CiviCRM+1.8+for+Joomla

We won't "announce" 1.5 compatibility for CiviCRM 1.8g until we resolve above issues, get a bit more install/usage testing feedback from the community, etc.
Protect your investment in CiviCRM by  becoming a Member!

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Trouble AFTER install
July 25, 2007, 10:30:12 am
Great.

Can you try doing an uninstall? When I tried to uninstall 1.7 it destroyed my site by deleting the entire components directory on both sides.
I don't know if this is a civicrm issue or a joomla issue though I have uninstalled another application successfully.

So now I have a fresh install and will try 1.8. :)

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Trouble AFTER install
July 25, 2007, 11:07:23 am
Great, I created a php.ini file with the setttings you gave and it installed without error.
 :)

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Trouble AFTER install
July 25, 2007, 12:45:31 pm
I think the component menu options issue has always been there, it is just that there are now more kinds of options.

One problem I'm having is that it won't let me select an organization for membership.
Also, the state drop down menu for locations is not working.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Trouble AFTER install
July 25, 2007, 04:17:14 pm

I did an uninstall of CiviCRM and it worked fine

It did let me select an organization (we have at least one patche checked into 1.8 which might be one reason why it works for us). The State Location field also worked (U need to pick the country first in 1.8)

lobo


A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Trouble AFTER install
July 28, 2007, 04:53:55 am
Now I have 1.8 beta but still the state won't work.   :( (Yes I have the country selected).

Another installation question, how does step 3 here

http://wiki.civicrm.org/confluence/display/CRMDOC/Configuring+Front-end+Profile+Listings+and+Forms+in+Joomla%21+Sites

work now? I think they took out the workhorse comment so I'm not sure where I am supposed to put the line.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Trouble AFTER install
July 28, 2007, 03:01:08 pm

The next 1.8 beta has an improved widget for country/state, hopefully that will fix the issues.

Step 3 should be skipped for Joomla 1.5 which has built in session support. I've added a bold statement to that section. Please do edit and make it clear if needed

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Trouble AFTER install
July 28, 2007, 05:29:16 pm
Great new; that's a big step for  usability in Joomla!.  :)

I made two links to profiles, one worked the other didn't, working on why. But in the meantime, for the one that did work, clicking cancel is returning to the search (no return url is specified).

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Trouble AFTER install
July 29, 2007, 02:45:37 pm

There were a few things broken with profiles (i'm surprised you got it to work on 1.5). I've fixed a few of them and hope to test it a bit more before the next beta

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

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

This forum was archived on 2017-11-26.