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) »
  • Joomla Installation
Pages: [1]

Author Topic: Joomla Installation  (Read 3691 times)

fezzicnex

  • Guest
Joomla Installation
August 18, 2008, 10:56:27 am
I really want to install this program on my organization’s website. We are using Joomla! V.1.5.6 on GoDaddy Shared Hosting Servers and I could not get it to install. I followed all of the forums and tried all of the suggestions given. Finally I installed JoomlaPC on my local computer and tried installing CiviCRM on my local machine where I had free reign of the PHP info file and any settings and to my surprise it would not install there either.

I feel like CiviCRM is a great program if you install it independently but not tested well to install on Joomla. Will there be any advancements made to make this type of installation as easy and straightforward as every other Joomla component installation?

geilhufe

  • I post frequently
  • ***
  • Posts: 293
  • Karma: 33
    • Social Source Software
Re: Joomla Installation
August 19, 2008, 11:06:19 am
I think it is well tested on Joomla... it's just that many shared hosts don't meet all the requirements for an application as sophisticated as CiviCRM. The forums and wiki are full of tips and many people have installed successfully.  Improvements will likely be driven by members of the Joomla community testing, making specific and detailed written suggestions and contributing improvements in the form of code back to CiviCRM.
Drupal and CiviCRM consulting, strategy and configuration
http://www.social-source.com/

hp3kman

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 4
Re: Joomla Installation on Godaddy
August 19, 2008, 06:24:08 pm
Yeah...GoDaddy sucks...

Here's what works the best for me...

1) Unzip the files locally; you should have a com_civicrm directory with files and another directory called civicrm below that.
2) Create a directory under ~/administrator/components called com_civicrm
3) Create a directory under ~/administrator/components/com_installer/component called com_civicrm
2) Transfer the files only to the ~/administrator/components/com_installer/component/com_civicrm directory you just created
4) Transfer the civicrm directory to the ~/administrator/components/com_civicrm directory you just created.
5) Edit the civicrm.xml file; delete all references to any files under the civicrm directory
6) Install from directory using the path ~/administrator/components/com_installer/component/com_civicrm

Voila! You're in...Let me know if you have any problems...you MAY have to edit some settings in your .php file, but this gets you around the timeout and memory problems.

fezzicnex

  • Guest
Re: Joomla Installation
August 20, 2008, 05:20:16 am
ok, i going to have to try that it sounds similar to what i've done except the part where i copy the files directly to ~/administrator/components

my grief was i tryed installing civicrm locally with JoomlaPC and that didn't even work.

i hope this method works!

hp3kman

  • I post occasionally
  • **
  • Posts: 74
  • Karma: 4
Re: Joomla Installation
August 20, 2008, 10:15:18 am
Let me know!

bastone7

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
Re: Joomla Installation
October 26, 2008, 12:25:37 pm
Quote from: hp3kman on August 19, 2008, 06:24:08 pm
Yeah...GoDaddy sucks...

Here's what works the best for me...

1) Unzip the files locally; you should have a com_civicrm directory with files and another directory called civicrm below that.
2) Create a directory under ~/administrator/components called com_civicrm
3) Create a directory under ~/administrator/components/com_installer/component called com_civicrm
2) Transfer the files only to the ~/administrator/components/com_installer/component/com_civicrm directory you just created
4) Transfer the civicrm directory to the ~/administrator/components/com_civicrm directory you just created.
5) Edit the civicrm.xml file; delete all references to any files under the civicrm directory
6) Install from directory using the path ~/administrator/components/com_installer/component/com_civicrm

Hi hp3kman

1/ Hope you can clarify this for me, after I unzip the civicrm file, I go a folder called com_civicrm, underneath it has 3 files (civicrm.html.php, civicrm.php, civicrm.xml) and one folder called (admin). The Admin folder, then contains 6 more files and a folder called civicrm. So with this, I'm lost. please clarify since this is different than what you talked about.
2/ On your step 2, transfer files, which one are you talking about, the 3 files under com_civicrm or under admin (6 files), please clarify
3/ the civicrm.xml file that need to be modified, is the one found underneath com_civicrm?

Thanks

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: Joomla Installation
November 20, 2008, 09:38:29 am
Seems like it is the installation that is the real problem, especially on shared hosts.

geilhufe complains that many shared hosting setups are not able to handle civicrm, but that could be put the other way - that civicrm can't handle the environments people want to run it on.  I don't think it is far away either. 

I got 2.0 working with Joomla 1.5 (legacy mode) with no problems, but I've now spent days trying to re-install to upgrade to 2.1 (of course I've forgotten everything I've done to install 2.0).  I spent days and days the first time too.  This is too much.

And then there setting up mail, which is (or was) even worse.
Thanks to those who help create and enhance civiCRM!

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: Joomla Installation
November 20, 2008, 11:22:16 am

Would be good for developers/users who are interested in making civicrm run on shared host environment to group together and help make it easier/simpler to install.

chris: wanna lead the effort?

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

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: Joomla Installation
November 20, 2008, 04:16:01 pm
Thanks, Lobo.  It's a worthy project, but I'd need to learn a lot more than I do.  The only php I know is what I've needed to fix and customize a few things.  As it is, I'm still struggling to get this working and am stuck yet again, so I'm not feeling too confident about all this.  I'm really just a power user, not a developer.
Thanks to those who help create and enhance civiCRM!

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: Joomla Installation
November 20, 2008, 04:24:44 pm
I can identify the hard places:
1. Making sure not to forget to set the config file to not over-write existing data on upgrades
2. uploading the civiCRM file to the appropriate Joomla folder - because it's too big for ftp limits, etc
3. The step I'm currently stuck on: Getting a 500 timeout error because the host's limits (which I cannot change) prohibit installing civicrm in one go.
4. Configuring civiMail

So I need instructions now for how to install somehow in steps.
 
It seems to me that the big improvement for Joomla would be to split it into more than one upload.
Thanks to those who help create and enhance civiCRM!

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: Joomla Installation
November 20, 2008, 05:12:51 pm
Oh, I can change the hosts limits.  Found the php.ini file.  Changing max execution time to 3000 and max input time to 600 did not solve the problem.  So perhaps it is some kind of permissions problem?
Thanks to those who help create and enhance civiCRM!

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: Joomla Installation
November 28, 2008, 05:48:13 pm
I'm still stuck and still need help.
I'm re-winding a bit and trying to follow the instructions about splitting up the install.  The earlier question by hp3kman above was never answered:

Quote
after I unzip the civicrm file, I go a folder called com_civicrm, underneath it has 3 files (civicrm.html.php, civicrm.php, civicrm.xml) and one folder called (admin). The Admin folder, then contains 6 more files and a folder called civicrm. So with this, I'm lost. please clarify since this is different than what you talked about.
2/ On your step 2, transfer files, which one are you talking about, the 3 files under com_civicrm or under admin (6 files), please clarify
3/ the civicrm.xml file that need to be modified, is the one found underneath com_civicrm?
I'm thinking leave the admin folder and the files in them as they are similar to all the files in the earlier civicrm version on which these instructions are based.  Just move the civicrm folder.  I tried moving the entire admin folder and immediately the installer wanted one of those files within it.  So that doesn't work.

But now I have a new problem.  Joomla gives an error if it finds existing folders for components (in this case the directories components/com_civicrm and administration/components/com_civicrm).  After unsuccessful installs I have to go back and delete these directories to avoid this error.  However the instructions call for creating one of these folders and moving the civicrm folder into it.  But after having done so it won't install because the folder is already existing.  So I renamed that folder and got this error message:

Quote
Warning: file_get_contents(/home/www/vran/railvermont.org/docs/administrator/components/com_civicrm/civicrm/templates/CRM/common/civicrm.settings.php.sample.tpl) [function.file-get-contents]: failed to open stream: No such file or directory in /home/www/vran/railvermont.org/docs/administrator/components/com_civicrm/configure.php on line 167

Warning: fopen(/home/www/vran/railvermont.org/docs/administrator/components/com_civicrm/civicrm/civicrm.config.php) [function.fopen]: failed to open stream: No such file or directory in /home/www/vran/railvermont.org/docs/administrator/components/com_civicrm/configure.php on line 54
Cannot open /home/www/vran/railvermont.org/docs/administrator/components/com_civicrm/civicrm/civicrm.config.php
I've been looking in config.php to see if I can change some code to call files from the renamed location, but it's not so simple.  I'm stumped again.

I'm using Joomla 1.5.8, and now I realize those instructions explicitly said do not use on Joomla 1.5, so perhaps that's why the errors?  But if this won't work on Joomla 1.5, what will? 

BTW, I got nowhere upgrading the memory limit and execution times, though perhaps I wasn't doing it right.

[update:] See this post
http://forum.civicrm.org/index.php/topic,4433.msg23070.html#msg23070
For how to get around joomla's checking if the directory already exists

Having disabled Joomla's directory checking, I got as far as a happy "upgrade successful" message using the standard installer after uploading the civicrm folder separately, but on attempting to run civicrm, got a string of errors, such as:

Quote
Warning: require_once(CRM/Core/DAO.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/vran/railvermont.org/docs/administrator/components/com_civicrm/CRM/Core/Config.php on line 42

Fatal error: require_once() [function.require]: Failed opening required 'CRM/Core/DAO.php' (include_path='.:/usr/local/share/pear:/usr/local/share/adodb') in /home/www/vran/railvermont.org/docs/administrator/components/com_civicrm/CRM/Core/Config.php on line 42

All variations on not finding the right paths.

So here I am, back to being stumped.

[Another update]
Unsuccessful installing by first uploading the civicrm directory, so instead I removed much of it from the install package, installing only that which seemed to be needed for Joomla's install script - and adding in files as necessary to satisfy the subsequent error messages.  Eventually I got an "upgrade successful" with no error messages.  Then I uploaded all the rest of the files directly into the civicrm folder that was created in the install process. 

However I have a new problem when trying to update the database.  I get a "No input file specified." error.  I'm pulling my hair out now trying to track that down.  All files have been successfully uploaded, according to what I can see, but it still returns the same message.  Initially I got the back trace error as described in: http://forum.civicrm.org/index.php/topic,4752.0.html.  I changed the error.tpl file as described in that post and got the "No input file specified" error instead.  Changing the error folder back to the way it was does not change the error.  I think I must have some missing file somewhere, but I'm stumped.

I wouldn't wish this process on anyone. 
« Last Edit: November 29, 2008, 09:25:09 am by conductorchris »
Thanks to those who help create and enhance civiCRM!

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

This forum was archived on 2017-11-26.