Installation Problems, READ THIS FIRST

Discuss and receive support for the integration of CiviCRM and Joomla!
Locked
lobo
Joomla! Guru
Joomla! Guru
Posts: 502
Joined: Tue Aug 23, 2005 5:45 am

Installation Problems, READ THIS FIRST

Post by lobo » Wed Nov 08, 2006 5:04 pm

This forum topic is for installation issues only. Here are some things that you should check before posting:

1. Make sure php memory limit is more than 24M

2. Make sure that php execution time limit is at least 600

3. Use the install from directory option. Also ensure that the civicrm directory has been unzipped in a different location than com_installer or components or administrator/components

4. You need to disable open basedir settings for the installer

5. Your joomla media directory needs to be writable

6. If you dont understand any of the above, consult a local php/joomla expert

7. The CiviCRM team does not encourage the "manual" install procedure. We have not attempted a manual install in joomla, support for that procedure is limited/non-existent

8. Experienced CiviCRM'ers in Joomla, please correct append to this note as you see fit :)

9. If you still need to post in the forum, make sure you post in the Installation Child Forum at: http://forum.joomla.org/index.php/board,370.0.html

lobo
Last edited by lobo on Thu Dec 14, 2006 7:21 pm, edited 1 time in total.

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Installation Problems, READ THIS FIRST

Post by mcsmom » Fri Jan 05, 2007 9:07 pm

3. Use the install from directory option. Also ensure that the civicrm directory has been unzipped in a different location than com_installer or components or administrator/components
I always use com_instaler/components/ and it works fine.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

User avatar
jsw
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 175
Joined: Fri Jan 05, 2007 7:46 pm
Location: Toronto

Re: Installation Problems, READ THIS FIRST

Post by jsw » Tue Jan 23, 2007 5:54 pm

can one change the php memory limit using cPanel? and the timeout?

jsw

fishtoes2000
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Wed Dec 20, 2006 4:06 am

Re: Installation Problems, READ THIS FIRST

Post by fishtoes2000 » Sun Feb 04, 2007 9:28 pm

jsw wrote: can one change the php memory limit using cPanel? and the timeout?
I'm not sure about cpanel access, but I was able to change the php timeout by adding "set_time_limit ( 500 );" after the main comment block in configuration.php. That's what finally got the install to work properly for me.

User avatar
jsw
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 175
Joined: Fri Jan 05, 2007 7:46 pm
Location: Toronto

Re: Installation Problems, READ THIS FIRST

Post by jsw » Tue Feb 13, 2007 3:32 pm

Just installed civi again on another server and it seemed to install fine. When I try and access the Civi Admin I get the following errors:

Warning: main(civicrm.settings.php) [function.main]: failed to open stream: No such file or directory in /usr/home/insaradm/public_html/test/administrator/components/com_civicrm/admin.civicrm.php on line 7

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

Warning: main(CRM/Core/Config.php) [function.main]: failed to open stream: No such file or directory in /usr/home/insaradm/public_html/test/administrator/components/com_civicrm/admin.civicrm.php on line 11

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


Thanks in advance

jsw

lobo
Joomla! Guru
Joomla! Guru
Posts: 502
Joined: Tue Aug 23, 2005 5:45 am

Re: Installation Problems, READ THIS FIRST

Post by lobo » Tue Feb 13, 2007 10:39 pm

jsw:

your include path seems incorrect. something failed in the install silently. can u reinstall and see if u recreate the issue

lobo

User avatar
jsw
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 175
Joined: Fri Jan 05, 2007 7:46 pm
Location: Toronto

Re: Installation Problems, READ THIS FIRST

Post by jsw » Tue Feb 13, 2007 10:43 pm

i suppose it's my only option at this point.

jsw

User avatar
jsw
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 175
Joined: Fri Jan 05, 2007 7:46 pm
Location: Toronto

Re: Installation Problems, READ THIS FIRST

Post by jsw » Wed Feb 14, 2007 3:15 pm

lobo

reinstalled and got the exact same errors. I'm going to try and install via joomla xlplorer to see if it makes a difference; was uploading via Dreamweaver FTP.. maybe there was an issue I didn't see.

Any thought?

jsw

lobo
Joomla! Guru
Joomla! Guru
Posts: 502
Joined: Tue Aug 23, 2005 5:45 am

Re: Installation Problems, READ THIS FIRST

Post by lobo » Wed Feb 14, 2007 5:53 pm

1. make sure all the files gor xferred to the server when u ftp'ed it across with the right case. this has been an issue for other folks

2. better to transfer the zip file to the server and unzip on the server

lobo

User avatar
jsw
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 175
Joined: Fri Jan 05, 2007 7:46 pm
Location: Toronto

Re: Installation Problems, READ THIS FIRST

Post by jsw » Wed Feb 14, 2007 6:49 pm

I ended up using Joomla Xplorer and it worked flawlessly!

1. Uploaded zip folder to the com_install directory
2. Unpacked the folder.. then deleted the zip folder
3. Did a component directory install...

Wished I'd used that before...

Thanks lobo for all the help along the way..

jsw

stanleyuroy
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Wed Jan 10, 2007 3:18 pm
Location: uk
Contact:

Re: Installation Problems, READ THIS FIRST

Post by stanleyuroy » Wed Feb 14, 2007 10:54 pm

Pal,it sounds like xplorer is powerful tool.Could you share with the forum if possible step by step,what you changed and or left unchanged,how you moved from where to where.I think you will help many members if you can with this information.
Stan
Joomla+virtuemart web hosting.I personally will integrate joomla+virtuemart for free to all hosting customers.Resellers welcome from around the world

User avatar
jsw
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 175
Joined: Fri Jan 05, 2007 7:46 pm
Location: Toronto

Re: Installation Problems, READ THIS FIRST

Post by jsw » Thu Feb 15, 2007 3:15 pm

Just do exactly what I said above... sorry I'm not a technical writer and do not do I speak 'Joomlese' terribly well.

Use Joomla Xplorer instead of FTP'ing  with Dreamweaver or any other ftp app. It seems much faster and I had no problems uploading and unzipping the civicrm folder.

If you want to PM me we can discuss  further.. maybe mcsmom or lobo could elaborate further as they are far more eloquent in Joomlese than myself.

cheers

jsw

User avatar
Phleum
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Wed Sep 14, 2005 2:30 am
Location: Boston

Re: Installation Problems, READ THIS FIRST

Post by Phleum » Thu Mar 29, 2007 9:42 pm

fishtoes2000 wrote:
I'm not sure about cpanel access, but I was able to change the php timeout by adding "set_time_limit ( 500 );" after the main comment block in configuration.php. That's what finally got the install to work properly for me.
is that configuration.php for joomla or configure.php for civicrm?

I'm having the same problem as jsw to the letter, except that I couldn't resolve it by using joomxplorer. Same errors. I had a version working at one time (1.4?), so I'm a bit confused. Unless the new version is that much bigger, I wouldn't think the time limit settings would matter if installation worked before. Or would they?

Any help is welcome. It sounds like 1.7 is right where I need to be.
Last edited by Phleum on Fri Mar 30, 2007 12:04 pm, edited 1 time in total.

User avatar
Phleum
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Wed Sep 14, 2005 2:30 am
Location: Boston

Re: Installation Problems, READ THIS FIRST

Post by Phleum » Fri Mar 30, 2007 12:06 pm

update: I just tried the new package from this morning (beta 9101) to see if that would help, but it didn't. one thing I didn't mention is that when it installs joomla says the installation was successful, but then throws and error message that includes this text

Code: Select all

Install Successful

CiviCRM has been successfully installed.
Installation: Succesful
Cannot open /home/****/www/www/administrator/components/com_civicrm/civicrm/sql/civicrm_41.mysql: DB Error: unknown error
Since it was "successful," would that have to do with any server limitations?

Database Version:  5.0.37-log
PHP Version: 4.4.6

another update: using a php.ini file I changed my execution time setting, as long as I put it in the right folders. Still nothing.  To experiment, I tried installing 1.3, which I know I had running at one point, and I get all the same errors. I discovered in the databse, that it's not adding any of the tables! I guess that would explain the database error.

I'm at a loss for ideas. Help?

Thanks!
Last edited by Phleum on Fri Mar 30, 2007 9:00 pm, edited 1 time in total.

lobo
Joomla! Guru
Joomla! Guru
Posts: 502
Joined: Tue Aug 23, 2005 5:45 am

Re: Installation Problems, READ THIS FIRST

Post by lobo » Sat Mar 31, 2007 8:27 pm

when i've had such problems, most of the time it was because the uninstall did not delete all civicrm directories completely. after your uninstall make sure that:

1. administrator/components/com_civicrm and components/com_civicrm are deleted

also  note that the installer is for new installs only and not an upgrade

lobo

User avatar
Phleum
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Wed Sep 14, 2005 2:30 am
Location: Boston

Re: Installation Problems, READ THIS FIRST

Post by Phleum » Sun Apr 01, 2007 12:49 am

Thanks for the ideas, lobo, but unfortunately I've already done both. Each time I uninstalled I went through and deleted the leftover files. And in these cases I wasn't upgrading-- I completely uninstalled and am trying to reinstall a new one. I'm starting to wish I left the older working version.

I really find it strange that 1) I can't reinstall the version I had successfully used before, and 2) none of the tables are being installed. Do these things point to any other ideas? Like php/MySqL/joomla/civicrm version incompatibility?

Thanks...

User avatar
FatherShawn
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Thu Dec 07, 2006 4:54 pm
Location: Hamburg, NY
Contact:

Re: Installation Problems, READ THIS FIRST

Post by FatherShawn » Wed May 09, 2007 12:07 pm

My errors are similar:
nstall Successful

CiviCRM has been successfully installed.
Installation: Succesful
Cannot open /path/to/adminsection/administrator/components/com_civicrm/civicrm/sql/civicrm_41.mysql: DB Error: extension not found
Did you ever get this figured out, Phleum?
Trinity Episcopal Church of Hamburg, NY - http://www.trinityhamburg.org

kecker
Joomla! Intern
Joomla! Intern
Posts: 99
Joined: Fri May 18, 2007 9:41 pm

install problem - blank page

Post by kecker » Fri May 18, 2007 10:09 pm

I've copied the com_civicrm folder into my /public_html folder and am attempting an install from directory install using Joomla 1.0.12

When I click install it works for awhile and then eventually I get a blank page.  I read in the support area that I need to increase the max_execution_time and memory limit.

I have a custom php.ini in all my folders and adjusted the following values

max_execution_time = 1000  ;
max_input_time = 1000 ;
memory_limit = 64M  ;

I still have the same problem...it goes to a blank page.  A com_civicrm folder has been created in both administrator/components and the components folders.  I delete them both.  In addition com_civicrm is listed as one of the installed components on the install-components screen.  I remove this as well each time I try a reinstall.

However, I can't get a clean install....

Attempting to install CiviCRM 1.7

Server information is as follows:

Operating system    Linux
Linux kernel version    2.6.19.1-s5-bahamut-highmem64
Apache version    1.3.37 (Unix)
Perl version    5.8.7
PHP version    PHP/4.4.4
MySQL version    4.1.21-standard-log

Any suggestions???

User avatar
FatherShawn
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Thu Dec 07, 2006 4:54 pm
Location: Hamburg, NY
Contact:

Re: Installation Problems, READ THIS FIRST

Post by FatherShawn » Fri May 18, 2007 10:36 pm

I had a half-install as well, although I did get some text, not just a blank screen.  My problem was that my php build used mysqli to access mySQL.

Second thought, a blank screen in general usually indicates a fatal php error.  Do you have access to the apache error_log?
Trinity Episcopal Church of Hamburg, NY - http://www.trinityhamburg.org

kecker
Joomla! Intern
Joomla! Intern
Posts: 99
Joined: Fri May 18, 2007 9:41 pm

Re: Installation Problems, READ THIS FIRST

Post by kecker » Fri May 18, 2007 10:40 pm

Not that I'm aware of....I've put in a request to our web hosts to see if I can get access to them, or if I already do, how to retrieve them.

kecker
Joomla! Intern
Joomla! Intern
Posts: 99
Joined: Fri May 18, 2007 9:41 pm

Re: Installation Problems, READ THIS FIRST

Post by kecker » Mon May 21, 2007 7:21 am

Checked error logs, nothing there.

I do notice that CiviCRM is available in my component menu and when I bring it up it all appears to be functioning properly (so far). Is it likely that the install actually did succeed and I should just pretend this blank screen didn't happen?  Or am I just setting myself up for all sorts of problems later on??

Suggestions?

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Installation Problems, READ THIS FIRST

Post by mcsmom » Mon May 21, 2007 10:19 am

I think I've gotten the blank screen before and it really didn't mean anything.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

User avatar
FatherShawn
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Thu Dec 07, 2006 4:54 pm
Location: Hamburg, NY
Contact:

Re: Installation Problems, READ THIS FIRST

Post by FatherShawn » Mon May 21, 2007 4:11 pm

Have you looked to CiviCRM Forums for support?
Trinity Episcopal Church of Hamburg, NY - http://www.trinityhamburg.org

kecker
Joomla! Intern
Joomla! Intern
Posts: 99
Joined: Fri May 18, 2007 9:41 pm

Re: Installation Problems, READ THIS FIRST

Post by kecker » Mon May 21, 2007 5:11 pm

Yes I posted there as well, but figured I'd do the same here to double my odds

User avatar
montano
Joomla! Ace
Joomla! Ace
Posts: 1183
Joined: Wed Aug 24, 2005 11:38 am
Location: Dallas, TX
Contact:

Re: Installation Problems, READ THIS FIRST

Post by montano » Mon May 28, 2007 2:05 pm

Okay, this worked like a charm.
In case it's not clear how to install because this is not like a typical installation let me tell you what I did:
  • Downloaded and unzipped the files for my specific php type.  I'm running 5.  You can check this in Joomla's admin panel by selecting System ->System Info
  • Checked my php.ini file to make certain I had enough time and space to allow the script to run(see above posts)
  • I FTP'd the folder com_civicrm into the root of my site (this confused me because of the folder name.  Thought it had to go into the components folder, it doesn't/shouldn't)
  • Then in the components installer area of Joomla I used the install from directory function and used this as the path /home/mysite/public_html/com_civicrm

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Installation Problems, READ THIS FIRST

Post by mcsmom » Mon May 28, 2007 2:08 pm

I  recommend using the
home/mysite/public_html/adminsitrator/components/com_installer/components  folder.

Other than that, great. :)
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

User avatar
montano
Joomla! Ace
Joomla! Ace
Posts: 1183
Joined: Wed Aug 24, 2005 11:38 am
Location: Dallas, TX
Contact:

Re: Installation Problems, READ THIS FIRST

Post by montano » Mon May 28, 2007 2:13 pm

See that's what confused me.  When I read their wiki it said to install the com_civicrm folder in ~/ so I took that to mean the root.  So when I needed to tell Joomla where the folder was it was as described above.  Should I have FTP'd the com_civicrm to home/mysite/public_html/adminsitrator/components/com_installer/components ?

What I did worked, what's the downside?  Will it be impossible to uninstall or does it create a security issue?
Thanks!

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Installation Problems, READ THIS FIRST

Post by mcsmom » Mon May 28, 2007 5:24 pm

It doesn't really matter except maybe not being in a directory with whatever protection you have; either way just delete the files once installed.

They're not really hardcore joomla! people.  ;) Put we like them anyway :)
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

User avatar
Phleum
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Wed Sep 14, 2005 2:30 am
Location: Boston

Re: Installation Problems, READ THIS FIRST

Post by Phleum » Wed Jun 06, 2007 1:02 am

Still stumbling on the same roadblock. FatherShawn- it seems you got passed it. Do you have any insight to share?

Note: I just realized I am posting in the wrong area. I reposted at
http://forum.civicrm.org/index.php/topic,166.0.html.

Thanks!
Last edited by Phleum on Wed Jun 06, 2007 2:26 am, edited 1 time in total.

lobo
Joomla! Guru
Joomla! Guru
Posts: 502
Joined: Tue Aug 23, 2005 5:45 am

Re: Installation Problems, READ THIS FIRST

Post by lobo » Wed Jun 06, 2007 2:03 am

Note that all support is now handled at http://forum.civicrm.org/

lobo


Locked

Return to “CiviCRM Support”