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) »
  • JFile read error points to zip bug - Use alt install instead
Pages: [1]

Author Topic: JFile read error points to zip bug - Use alt install instead  (Read 1041 times)

FatherShawn

  • Ask me questions
  • ****
  • Posts: 372
  • Karma: 25
    • C3 Design
  • CiviCRM version: 4.2.11
  • CMS version: Drupal 7.23
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
JFile read error points to zip bug - Use alt install instead
March 18, 2009, 07:25:05 am
I upgraded to 2.2 today.  First I tried to use the standard joomla tarball.  I received the following error message on install:

Quote
JFile::read: Unable to open file: 'JOOMLA-ROOT/administrator/components/com_civicrm/civicrm/templates/CRM/common/civicrm.settings.php.tpl

Checking my apache error logs, there was a php error message regarding zip.  So here's how I worked through the issue.

1. To insure against data loss, I edited the uninstall settings file on my failed install:
Quote
Modify JOOMLA_ROOT/administrator/components/com_civicrm/uninstall.civicrm.php
// Change this line:

CRM_Core_DAO::dropAllTables( );

// To this:

//CRM_Core_DAO::dropAllTables( );

2. I uninstalled the failed 2.2.0 install through Joomla.
3. I uploaded and unzipped the civicrm-2.2.0-joomla-alt.zip package
4. Installed and upgraded without a hitch....

Lead Developer, C3 Design.
Twitter: @FatherShawn

timbreese

  • Guest
Re: JFile read error points to zip bug - Use alt install instead
March 27, 2009, 10:13:21 am
I am having problems upgrading to the latest version and I do not need to keep my previous data. I started deleting tables in PHPmySQL but it did not let me delete all of them. Could you instruct me how to alter the alt file so that it will drop all current tables and replace them?

Thanks!

FatherShawn

  • Ask me questions
  • ****
  • Posts: 372
  • Karma: 25
    • C3 Design
  • CiviCRM version: 4.2.11
  • CMS version: Drupal 7.23
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Re: JFile read error points to zip bug - Use alt install instead
March 27, 2009, 10:23:44 am
Certain tables are have keys associated with them and that prevents phpMyAdmin from deleting them.  However, if you repeatedly attempt to delete all the civi tables via phpMyAdmin it will delete them all - each round of deletion winnows them down as you remove tables keyed to other tables.
Lead Developer, C3 Design.
Twitter: @FatherShawn

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: JFile read error points to zip bug - Use alt install instead
March 27, 2009, 02:17:47 pm

2.2.0 and over also come with a civicrm_drop.mysql sql script that you can use

please be careful when using it, since it will drop ALL the civicrm related tables in your DB

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

timbreese

  • Guest
Re: JFile read error points to zip bug - Use alt install instead
April 01, 2009, 02:04:39 pm
After successfully deleting all the CiviCRM tables and re-installing it turns out that my problems in the first place may be because I am running MySQL 4.1.22 and not 5.x

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • JFile read error points to zip bug - Use alt install instead

This forum was archived on 2017-11-26.