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)

volmark

  • I post occasionally
  • **
  • Posts: 81
  • Karma: -6
Cannot install CiviCRM from directory
February 27, 2008, 07:47:39 am
I can easily install other components from directory except CiviCRM.
During installation the download dialog is coming suggesting to open or to save to disk index2.php, then nothing happening. Suggested file index2.php is empty.
I have tried following changes:

\joomla\administrator\index2.php
ini_set('max_execution_time', 600);

Joomla/.htaccess
php_value register_globals 0
php_value session.save_path '/hsphere/local/home/…./ “100% accessible directory 777”



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
February 27, 2008, 08:39:27 am
Is your memory_limit set to at least 16mb?
Have you confirmed that the max_execution_time setting is working? (php_info() or through the Joomla system info page)

It sounds like it's timing out. I would confirm that those settings are functioning, as they are the two most important ones.
-Brian
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
February 27, 2008, 08:51:07 am
I use share host and unfortunately don’t have direct access to PHP management. I have just checked max_execution_time and should conclude that it wasn’t changed (still 300).

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
February 27, 2008, 09:20:11 am
300 should be sufficient, I would think. A lot of times the default is like 30 or something pretty small.

Try changing settings through your .htaccess file or through php.ini.
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
February 27, 2008, 09:36:53 am
I don’t have access to php.ini but .htaccess is manageable. Can you give me a quick tip about syntax??
Thanks in advanced 

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
February 27, 2008, 09:50:30 am
Tack this onto the end of the file:

Code: [Select]
php_value memory_limit 64M
php_value max_execution_time 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
February 27, 2008, 12:06:34 pm
It was changed local PHP settings but did not help to install CiviCRM. Still the same behavior: after few seconds the download dialog box coming up suggesting to save index2.php 

volmark

  • I post occasionally
  • **
  • Posts: 81
  • Karma: -6
Re: Cannot install CiviCRM from directory
February 27, 2008, 12:18:58 pm
Is there a way to install CiviCRM manually, with 100% guarantee. I think it is the only right way on share servers. 

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
February 27, 2008, 01:08:35 pm
Have you:
1) confirmed legacy plugin is enabled (it is not enabled by default; you have to turn it on)
2) confirmed folder permissioning is sufficient for installing components
3) tested other components

I seem to recall reading a post on the Joomla boards at one point that dealt with the issue of being prompted to download the index2.php file, or something similar. Usually if I got that behavior I would say it's a problem with php on the server (it's not recognizing the file as something to be executed, and therefore prompting you to download), but you would never have gotten anywhere with Joomla if the problem was that severe. Though I wouldn't count it out. Maybe the permissioning doesn't give the owner execution rights? I don't know, just typing of the top of my head.

Best way to do a manual install is to setup a test server, install it, then copy the components/com_civicrm and administrator/components/com_civicrm folders to your live server. You'll also need to change the two configuration files in those folders and run the sql script. I've done it. Not ideal, but doable.
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
February 28, 2008, 05:13:08 am
Could you please to name the files that must be changed after moving to production server? It is of course configuration.php and what is another one??

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
February 28, 2008, 06:52:20 am
configuration.php is a Joomla config file, not CiviCRM.

The two files are:
components/com_civicrm/civicrm.settings.php
administrator/components/com_civicrm/civicrm.settings.php
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

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
February 28, 2008, 06:53:15 am
You also need to make sure the folder settings within CiviCRM (Administer CiviCRM > Global Settings) are set correctly once you move live.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

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 12, 2008, 04:43:39 am
actually administrator/components/com_civicrm/configure.php is created by civicrm.

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 12, 2008, 06:06:05 am
I thought he was referring to the root Joomla file (which is actually configuration.php).
I don't think there's anything configurable in the CiviCRM configure.php file, except for the upgrade switch (determining whether to empty existing tables on installation). the variables are set in the two settings files.
-b
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:39:26 am
I have installed locally both Joomla 1015 and CiviCRM, then moved to production server (database first, then files). I have changed all the local paths to the server paths. Doing so, I’ve locally searched different parts of paths (also other keyword) and made changes very accurately.
The Joomla works fine but CiviCRM gives blank screen. Further attempts to install CiviCRM from directory lead to the results described before: after some seconds the browsers download dialog is coming up suggesting to open or to download action.php (which is empty)


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.