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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.0 Release Testing »
  • Install issue with 3.0 Alpha2
Pages: [1]

Author Topic: Install issue with 3.0 Alpha2  (Read 1767 times)

lantrix

  • Guest
Install issue with 3.0 Alpha2
August 18, 2009, 07:41:55 pm
I'm trying to install the latest Alpha and having hassles.
I'm self hosting on OpenBSD, setup in a vhost on apache. A fresh Joomla and CiviCRM install.
Joomla installs fine, and I setup zip support.
CiviCRM installs OK as per the install guide, but when I get to step 5 I get a blank CiviCRM home administrator page.

This is what is seen in have in the apache error log are:
Code: [Select]
[Wed Aug 19 12:26:36 2009] [error] PHP Warning:  include_once(civicrm.settings.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /htdocs/server_crmdev_parlaisgroup_com/administrator/components/com_civicrm/admin.civicrm.php on line 13
[Wed Aug 19 12:26:36 2009] [error] PHP Warning:  include_once() [<a href='function.include'>function.include</a>]: Failed opening 'civicrm.settings.php' for inclusion (include_path='.:/pear/lib:/var/www/pear/lib') in /htdocs/server_crmdev_parlaisgroup_com/administrator/components/com_civicrm/admin.civicrm.php on line 13
[Wed Aug 19 12:26:36 2009] [error] PHP Warning:  require_once(CRM/Core/Config.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /htdocs/server_crmdev_parlaisgroup_com/administrator/components/com_civicrm/admin.civicrm.php on line 17
[Wed Aug 19 12:26:36 2009] [error] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'CRM/Core/Config.php' (include_path='.:/pear/lib:/var/www/pear/lib') in /htdocs/server_crmdev_parlaisgroup_com/administrator/components/com_civicrm/admin.civicrm.php on line 17

I read through most of the pre 3.0 forum posts with similar issues, and the wiki, with no luck. Most of them reference pre 3.0 fixes, and also things like the civicrm.settings.php file (which I dont see).
I've also restarted apache without chroot (default on OpenBSD) but the same error occurs.
JoomlaRoot is owned by apache user, and the user has rwx:

cerberus:/var/www/htdocs/server_crmdev_parlaisgroup_com# chown -R www *
cerberus:/var/www/htdocs/server_crmdev_parlaisgroup_com# chmod -R u+rwx *


I've also set the .htaccess settings as per the install guide, and deleted the two components and reinstalled:

php_value memory_limit 64M
php_value register_globals off
php_value max_execution_time 600


I also don't see any tables in the MySQL DB that need to be deleted to make the install fresh.

It looks like some php/include/or pathing error - but I just can't pick it. Any ideas?

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: Install issue with 3.0 Alpha2
August 19, 2009, 06:44:45 am

this is wierd, seems like the install did not execute at all

can u check and see if any civicrm* tables were created in the db?

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

lantrix

  • Guest
Re: Install issue with 3.0 Alpha2
August 20, 2009, 01:09:01 am
There are no CiviCRM tables.

All I see is:
mysql> show tables;
+-----------------------------+
| Tables_in_joomla_crmdev     |
+-----------------------------+
| jos_banner                  |
| jos_bannerclient            |
| jos_bannertrack             |
| jos_categories              |
| jos_components              |
| jos_contact_details         |
| jos_content                 |
| jos_content_frontpage       |
| jos_content_rating          |
| jos_core_acl_aro            |
| jos_core_acl_aro_groups     |
| jos_core_acl_aro_map        |
| jos_core_acl_aro_sections   |
| jos_core_acl_groups_aro_map |
| jos_core_log_items          |
| jos_core_log_searches       |
| jos_groups                  |
| jos_menu                    |
| jos_menu_types              |
| jos_messages                |
| jos_messages_cfg            |
| jos_migration_backlinks     |
| jos_modules                 |
| jos_modules_menu            |
| jos_newsfeeds               |
| jos_plugins                 |
| jos_poll_data               |
| jos_poll_date               |
| jos_poll_menu               |
| jos_polls                   |
| jos_sections                |
| jos_session                 |
| jos_stats_agents            |
| jos_templates_menu          |
| jos_users                   |
| jos_weblinks                |
+-----------------------------+
36 rows in set (0.02 sec)


These are the ways I tried to install:
  • Installing package (civicrm-3.0.alpha2-joomla.zip) via the "Upload Package File" option. For this I had to increase the php upload settings to handle a larger upload, and they are: post_max_size = 16M, upload_max_filesize = 16M. No luck with this option (upload to my server was too slow and the administrator timed out).
  • Using the install guide Step 4 by extracting the civicrm-3.0.alpha2-joomla.zip to <joomlaroot>/tmp but after the install the page times out. It seems to install the administrator and non-admin components, but not work as per my first post.
    The extracted zip folder looks like this:
    cerberus:/var/www/htdocs/server_crmdev_parlaisgroup_com/tmp/com_civicrm# ls -l
    total 24
    drwxr-xr-x  2 www  daemon   512 Aug 12 23:45 admin
    -rwxr--r--  1 www  daemon  1950 Aug 12 23:45 civicrm.xml
    -rwxr--r--  1 www  daemon  2747 Aug 12 23:45 install.civicrm.php
    drwxr-xr-x  3 www  daemon   512 Aug 12 23:45 site
    -rwxr--r--  1 www  daemon   686 Aug 12 23:45 uninstall.civicrm.php

    and the install directory from the extension manager is specified as:
    /htdocs/server_crmdev_parlaisgroup_com/tmp/com_civicrm/ (remember I'm on a chroot).

So it looks like it is not installing correctly.

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: Install issue with 3.0 Alpha2
August 20, 2009, 05:03:13 am

for the install process can you increase the execution time for php in your php.ini

is there a php error when it times out in the log files?

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

lantrix

  • Guest
Re: Install issue with 3.0 Alpha2
August 20, 2009, 05:07:55 am
No error in the apache error log (only when I try to hit the admin CRM home URL).
I'll increase the time and try again.

lantrix

  • Guest
Re: Install issue with 3.0 Alpha2
August 20, 2009, 06:14:05 am
I turned the execution from 30 to:
max_execution_time = 120

I also turned on debug loglevel for apache.

Uninstalled and reinstalled. Timeout again on the install from tmp/com_civicrm but I captured this in the apache errorlog:
[Thu Aug 20 23:10:29 2009] [info] [client 10.0.1.15] Read POST information timed out
[Thu Aug 20 23:10:29 2009] [info] [client 10.0.1.15] client stopped connection before rvputs completed


Hmmmm. I'll google this as well. Maybe my config? The webserver and DB are working fine for my other sites (http://techdebug.com) and also Joomla test site where I'm trying to get CiviCRM working is ok (http://crmdev.parlaisgroup.com).

lantrix

  • Guest
Re: Install issue with 3.0 Alpha2
August 21, 2009, 05:58:46 am
Quote from: Donald Lobo on August 20, 2009, 05:03:13 am
is there a php error when it times out in the log files?

There wasn't as I had the PHP error logging turned down so it only shows in the server logs. The error timing out on install only produces the apache error (on debug level):
[Thu Aug 20 23:10:29 2009] [info] [client 10.0.1.15] Read POST information timed out
[Thu Aug 20 23:10:29 2009] [info] [client 10.0.1.15] client stopped connection before rvputs completed


The error after the bad install when accessing the CiviCRM Home is:
Warning: include_once(civicrm.settings.php) [function.include-once]: failed to open stream: No such file or directory in /htdocs/server_crmdev_parlaisgroup_com/administrator/components/com_civicrm/admin.civicrm.php on line 13

Warning: include_once() [function.include]: Failed opening 'civicrm.settings.php' for inclusion (include_path='.:/pear/lib:/var/www/pear/lib') in /htdocs/server_crmdev_parlaisgroup_com/administrator/components/com_civicrm/admin.civicrm.php on line 13

Warning: require_once(CRM/Core/Config.php) [function.require-once]: failed to open stream: No such file or directory in /htdocs/server_crmdev_parlaisgroup_com/administrator/components/com_civicrm/admin.civicrm.php on line 17

Fatal error: require_once() [function.require]: Failed opening required 'CRM/Core/Config.php' (include_path='.:/pear/lib:/var/www/pear/lib') in /htdocs/server_crmdev_parlaisgroup_com/administrator/components/com_civicrm/admin.civicrm.php on line 17


Which is the same as the original ones I listed.

I'm going to try the release version instead of the alpha and see how it goes.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.0 Release Testing »
  • Install issue with 3.0 Alpha2

This forum was archived on 2017-11-26.