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) »
  • Recovering from partial installations [SOLVED]
Pages: [1]

Author Topic: Recovering from partial installations [SOLVED]  (Read 2288 times)

wpost

  • Guest
Recovering from partial installations [SOLVED]
November 23, 2011, 02:22:57 pm
After several false starts I was finally able to install 4.0.7, but apparently not successfully. Yes, I see "Installing component was successful", but I also see the warning messages:

* JFolder: :files: Path is not a folder. Path: /usr/home/hetn/public_html/hondurasestunorte.org/administrator/components/com_civicrm
* JInstaller: :Install: Cannot find XML setup file
* JInstaller: :Install: Cannot find XML setup file
* Error building Admin Menus

Furthermore, CiviCRM does not appear in Components as I understand it should when properly installed.

Perhaps these errors are caused by leftovers from my previous install attempts, so I should describe what I've previously done.

I first attempted to install civicrm-4.0.7-joomla.zip, which failed with "Your PHP version is missing zip functionality". I then deleted the JOOMLA_ROOT/com_civicrm/ directory where I unzipped the installer and attempted to install civicrm-4.0.7-joomla-alt.zip. It also failed with the same error message. Searching these forums, I found this advice to delete the JOOMLA_ROOT/administrator/components/com_civicrm/ directory. Deleting that as well as com_civicrm/ as before, I reinstalled and obtained the errors cited at the beginning of this message.

Any thoughts on where I should go from here? Perhaps manually delete something else as well, or clean up the database?
« Last Edit: March 01, 2012, 05:13:19 am by wpost »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Recovering from partial installations
November 24, 2011, 02:46:10 am
I would suggest you remove all tables from the DB that start with civicrm_, remove all CiviCRM files (they are in at least 2 locations) and then try a fresh install by manually unzipping the .zip file in the correct location.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

wpost

  • Guest
Re: Recovering from partial installations
November 25, 2011, 08:59:05 am
Many thanks. I'm having trouble deleting some of the tables, but I'm seeking help on a MySQL forum for that and will report back once I've been able to fully follow your advice.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Recovering from partial installations
November 26, 2011, 11:23:03 am
I just posted here: http://forum.civicrm.org/index.php/topic,22403.msg94033.html#msg94033 this:

Quote
In my experience, if you select all CiviCRM tables and DROP them,  yes, you get an error, but many do get dropped. Repeat that process 4 or 5 times and they will all get dropped.

Other option is to simply delete the entire database and then recreate it--that always works. :)

Seems relevant to you too. :)
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

wpost

  • Guest
Re: Recovering from partial installations
November 26, 2011, 05:28:28 pm
Thank you; repeatedly dropping eventually eliminated all the tables.

I'll continue with the rest of your advice and report back on my success at reinstalling.

wpost

  • Guest
Re: Recovering from partial installations
November 26, 2011, 07:02:01 pm
Despite cleaning up before reinstalling, the initial problem recurs. Specifically, I have:

* Dropped all tables beginning with civicrm_ from the database. Logged out of phpMyAdmin and logged back in to confirm that all were in fact dropped.
* Done the following to find and delete all civicrm files from the server:

Code: [Select]
%find . -name civicrm
./administrator/components/com_civicrm/civicrm
./administrator/components/com_civicrm/civicrm/drupal/modules/views/civicrm
./tmp/com_civicrm/admin/civicrm
./tmp/com_civicrm/admin/civicrm/drupal/modules/views/civicrm
./media/civicrm
%rm -rf administrator/components/com_civicrm/
%rm -rf tmp/com_civicrm/
%rm -rf media/civicrm/

Reinstallation generates the same error as noted in my first post.

wpost

  • Guest
Re: Recovering from partial installations [SOLVED]
December 06, 2011, 08:34:53 am
I am happy to report that the issue is solved. Thanks to this post...

http://forum.civicrm.org/index.php/topic,19250.msg80110.html#msg80110

... I discovered that appending "&option=com_civicrm" to the base backend URL (e.g. http://example.com/administrator/index.php?&option=com_civicrm ) lets me access CiviCRM, and it apparently functions normally. So CiviCRM in fact installed, and the problem is that Joomla's installer did not create CiviCRM's admin menu entry.

The problem appears to be with Joomla 1.6+ and not with CiviCRM, given that the same symptoms have been reported when installing other extensions:

http://forum.joomla.org/viewtopic.php?p=2459256

The above-quoted poster's solution did not work for me, but this post did:

http://forum.civicrm.org/index.php/topic,19700.msg82851.html#msg82851

More specifically, I looked in the database's table jos_menu (keeping in mind that on Joomla 1.6+ you will see a 5 character random prefix instead of jos). I compared CiviCRM with a working extension, Akeeba Backup. I saw the rows:

Code: [Select]
title            component_id
-----            ------------
com_akeeba              10004
COM_CIVICRM_MENU            0

In the table jos_extensions, I saw the rows:

Code: [Select]
name     extension_id
----     ------------
akeeba          10004
civicrm         10019

So returning to jos_menu, I changed the component_id of COM_CIVICRM_MENU to 10019. Fixed. Hope this helps someone.

And I'd also like to thank Hershel for teaching me some new tricks.
« Last Edit: December 07, 2011, 05:50:15 am by wpost »

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

This forum was archived on 2017-11-26.