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) »
  • Cannot install CiviCRM from directory
Pages: 1 [2] 3

Author Topic: Cannot install CiviCRM from directory  (Read 16295 times)

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: Cannot install CiviCRM from directory
March 13, 2008, 07:49:14 am
Have you talked to your hosting provider about the download file issue? Something's just not right on that server. It's not recognizing the php file as something to be executed.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

volmark

  • I post occasionally
  • **
  • Posts: 81
  • Karma: -6
Re: Cannot install CiviCRM from directory
March 13, 2008, 07:52:33 am
The problem is that other components run fine

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: Cannot install CiviCRM from directory
March 13, 2008, 08:04:08 am
Which I agree, makes no sense. But I would still try contacting your host to see what they think.

If it's a problem with the script or the database, it should render an error. But downloading a file vs. executing the script seems like a host problem to me.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

montano

  • Guest
Re: Cannot install CiviCRM from directory
March 13, 2008, 08:09:33 am
I am having the same issue with 1.0.14 and civicrm 2.0 stable.  I've been able to install from the directory prior to this version.  I can't install, just get a blank screen.

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: Cannot install CiviCRM from directory
March 13, 2008, 08:16:35 am
A blank screen usually means a timeout (volmark is getting a request to download the file). Check your max_execution_time setting in php. I usually set to 600.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

volmark

  • I post occasionally
  • **
  • Posts: 81
  • Karma: -6
Re: Cannot install CiviCRM from directory
March 13, 2008, 10:54:38 am
May be it’s something wrong with PHP parameters but they look normally for my eyes:
max_execution_time  300
max_input_nesting_leve  64
max_input_time  60
memory_limit  128M
open_basedir   no value
output_buffering   4096
output_handler   no value
post_max_size 50M
precision   14
realpath_cache_size  16K
realpath_cache_ttl   120

dsrpmedia

  • Guest
Re: Cannot install CiviCRM from directory
March 18, 2008, 03:33:25 pm
Hello,

Did you get your civicrm working yet?

I had a similar problem, trying to install to a godaddy shared hosting. I wound up finding an old thread in the joomla forum which has been deleted from the civicrm wiki for some reason, but it is the only thing which worked for me.

what i did was unpack the zipped folder to administrator/components/com_installer/component/

then i created a folder in administrator/components called com_civicrm  (administrator/components/com_civicrm)
then i moved the folder 'civicrm' to the newly created com_civicrm folder
then i edited the civicrm.xml file in the administrator/components/com_installer/component/com_civicrm folder, removing every file that has a civicrm folder refernce - when finished it looked like this

Code: [Select]
<administration>
    <menu task="civicrm/dashboard&amp;reset=1">CiviCRM</menu>
                <submenu>
                        <menu task="option=com_civicrm&amp;task=civicrm/dashboard&amp;reset=1">CiviCRM Home</menu>
                        <menu task="option=com_civicrm&amp;task=civicrm/contact/search&amp;reset=1">Find Contacts</menu>
                        <menu task="option=com_civicrm&amp;task=civicrm/group&amp;reset=1">Manage Groups</menu>
                        <menu task="option=com_civicrm&amp;task=civicrm/import&amp;reset=1">Import Contacts</menu>
                        <menu task="option=com_civicrm&amp;task=civicrm/contribute&amp;reset=1">CiviContribute</menu>
                        <menu task="option=com_civicrm&amp;task=civicrm/member&amp;reset=1">CiviMember</menu>
                        <menu task="option=com_civicrm&amp;task=civicrm/event&amp;reset=1">CiviEvent</menu>
                        <menu task="option=com_civicrm&amp;task=civicrm/admin&amp;reset=1">Administer CiviCRM</menu>
                </submenu>
    <files>
      <filename>admin.civicrm.php</filename>
      <filename>toolbar.civicrm.php</filename>
      <filename>install.civicrm.php</filename>
      <filename>uninstall.civicrm.php</filename>
      <filename>configure.php</filename>
    </files>
  </administration>

then I did the 'install from directory' from the administrator/components/com_installer/component/com_civicrm

and it worked.

(because of godaddy restrictions I also had to create my own php5.ini file, and ad the line
'session_save_path('/home/content/e/t/c/accountname/html/sessions'); ' to my configuration.php file.

(note if you do this to make your session directory writable you will have to add that line every time you change your globals.php as it will be overwritten.)

That is the only way I could get civicrm to load on my godaddy shared hosting (took me about a week to work it all out)

hope this is helpful

volmark

  • I post occasionally
  • **
  • Posts: 81
  • Karma: -6
Re: Cannot install CiviCRM from directory
March 19, 2008, 02:11:00 am
Thank you very much for your advice.
I’ve been unsuccessful trying to set up CiviCRM during 3 months. I have had a lot of attempts to install both on Joomla and Drupal. Now I’m going to give up and find other systems. I have chosen VirtueMart (Joomlas extension) despite it does not fully match to my needs. At the moment I need to choose it because it works. It is divided into small pieces and installation running very smoothly.
I have decided to wait for the next stabile version of CiviCRM that should be compatible with Joomla 1.5. I hope it will be friendlier. 

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Cannot install CiviCRM from directory
March 19, 2008, 11:17:34 am
@dsrpmedia,

I've been doing something very similar but with a 1.5 versions of the files using the regular installer.

kenlyle

  • I post occasionally
  • **
  • Posts: 116
  • Karma: 7
Re: Cannot install CiviCRM from directory
March 21, 2008, 01:47:14 am
@dsrpmedia and mcsmom,

Thanks.  In my case, I uploaded the .zip to the web root, and unzipped there, per the instructions, then moved com_civicrm to administrator/components/com_installer/component/ and did the install from directory from there. 

I think I recall this being a defect in the docs for a few versions now.  I believe that I have remedied this defect at http://wiki.civicrm.org/confluence/display/CRMDOC/Install+2.0+for+Joomla with what worked for me.

I don't know whether it's OK to refer to threads in the Wiki...but, if so, maybe there should be a link to this thread as well.

Thanks for blazing a trail...
K

vqcdesigns

  • Guest
Re: Cannot install CiviCRM from directory
April 16, 2008, 10:17:42 pm
I am having the same issues as Volmark.  I am trying to install civiCRM 2.0.2 with Joomla 1.5.2, both using the Upload Package File method and the Install from Directory method.  When I try the Upload Package File method, I get a 'The connection was reset' error. 

When I try the Install from Directory method, I get the error that Volmark recieved.  At some point during the installation process, I recieve a download dialog box which suggests I either open the file or to save to disk the index.php file.  I have confirmed that I can install regular Joomla components and modules without error.  I have also made sure that my php.ini file is set to the following:

> php_value memory_limit 64M
> php_value register_globals off
> php_value max_execution_time 600

It is a dedicated box, so I can pretty much try anything to make this work.  Can anyone give me any suggestions?  I really need to get this working as it is for a large project we are working on.  Thanks in advance for any help.

volmark

  • I post occasionally
  • **
  • Posts: 81
  • Karma: -6
Re: Cannot install CiviCRM from directory
April 17, 2008, 01:37:09 am
Try to expand max_execution_time and memory_limit at least 2 times.
The CiviCRM component is gathered into huge package, larger than Joomla. It could be smart to divide the package into smaller pieces as VirtueMart has done, then installation could be run much smoother.
I can also refer you to Lobo's statement   http://forum.civicrm.org/index.php/topic,1962.msg13458.html#msg13458
« Last Edit: April 17, 2008, 01:45:09 am by volmark »

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: Cannot install CiviCRM from directory
April 17, 2008, 05:48:03 am
Quote
I have also made sure that my php.ini file is set to the following:

> php_value memory_limit 64M
> php_value register_globals off
> php_value max_execution_time 600

The "php_value" command is used when altering settings through your .htaccess file, not php.ini. If you are altering settings through php.ini, the syntax should be:

Code: [Select]
memory_limit = 64M
register_globals = off
max_execution_time = 600

After altering values either through .htaccess or php.ini, run the phpinfo() function on your box to ensure the settings were saved.

I still maintain that the issue with it asking to download the index.php file is a server or php issue. Also check your php version -- CiviCRM 2.0 requires php5. Here's a couple posts from the Joomla forums that might help:

http://forum.joomla.org/viewtopic.php?f=429&t=270311&p=1220038&hilit=download+index.php#p1220038
http://forum.joomla.org/viewtopic.php?f=428&t=269152&p=1215984&hilit=download+index.php#p1215984
http://forum.joomla.org/viewtopic.php?f=428&t=268416&p=1213571&hilit=download+index.php#p1213571
http://forum.joomla.org/viewtopic.php?f=35&t=265805&p=1204625&hilit=download+index.php#p1204625

There's no silver bullet answer to this problem.  It could be the php version you're using, php settings, file/folder permissions, etc. The Joomla forums have tons more posts on this issue, related to many extensions. They all trace back to a conflict with the server/OS/php.

-Brian
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

vqcdesigns

  • Guest
Re: Cannot install CiviCRM from directory
April 17, 2008, 07:10:43 am
Quote from: volmark on April 17, 2008, 01:37:09 am
Try to expand max_execution_time and memory_limit at least 2 times.
The CiviCRM component is gathered into huge package, larger than Joomla. It could be smart to divide the package into smaller pieces as VirtueMart has done, then installation could be run much smoother.
I can also refer you to Lobo's statement   http://forum.civicrm.org/index.php/topic,1962.msg13458.html#msg13458

Are you telling me to DOUBLE my current max_execution_time to 1200 and memory_limit to 128MB?  That sounds a little extreme.

Quote
The "php_value" command is used when altering settings through your .htaccess file, not php.ini. If you are altering settings through php.ini, the syntax should be:

Yes, my error, that is what I meant it is set in php.ini files in the correct areas:

memory_limit = 64M
register_globals = off
max_execution_time = 600

Quote
I still maintain that the issue with it asking to download the index.php file is a server or php issue. Also check your php version -- CiviCRM 2.0 requires php5. Here's a couple posts from the Joomla forums that might help:

I am running all the lastest version of PHP5 and Apache.  This is a new dedicated server and I speced it out to my exact requirements.  Here is my current PHP configuration: http://secure2.vqcdesigns.com/~attorney/path.php.

I will look into those posts in the meantime.  I am willing to pay, obviously I have a budget, to have someone help me get this up and running.  Please PM if you are interested.  Thanks.

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: Cannot install CiviCRM from directory
April 17, 2008, 08:12:16 am
Quote
MySQL Support   enabled
Client API version    4.1.22

CiviCRM requires MySQL 5. You're running 4.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

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

This forum was archived on 2017-11-26.