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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • [SOLVED]Joomla 3.3: Upgrading from 4.4.7 to 4.5.x: Database Upgrade Utility fail
Pages: [1]

Author Topic: [SOLVED]Joomla 3.3: Upgrading from 4.4.7 to 4.5.x: Database Upgrade Utility fail  (Read 495 times)

bmw

  • I post occasionally
  • **
  • Posts: 103
  • Karma: 4
    • Alcohol Justice - The Industry Watchdog
  • CiviCRM version: 4.5.8
  • CMS version: Joomla! 3.4.0
  • MySQL version: 5.5.42-cli
  • PHP version: 5.3.27
[SOLVED]Joomla 3.3: Upgrading from 4.4.7 to 4.5.x: Database Upgrade Utility fail
October 15, 2014, 09:00:51 pm
I am having the same issues as http://forum.civicrm.org/index.php?topic=26588.0 but the fixes are not working.
When I run the DB Upgrade Utility, the Apache error_log show the path being truncated;
What I am getting is:
Code: [Select]
[Wed Oct 15 20:42:43 2014] [error] [client 10.0.1.155] File does not exist: /var/www/joomlaroot/public_html/css, referer: http://www2.domainname.org/joomlaroot/public_html/administrator/?option=com_civicrm&task=civicrm/upgrade/queue/runner&reset=1&qrid=CRM_Upgrade
What I should be getting is:
Code: [Select]
[Wed Oct 15 20:42:43 2014] [error] [client 10.0.1.155] File does not exist: /var/www/joomlaroot/public_html/[b]administrator/components/com_civicrm/civicrm/[/b]css, referer: http://www2.domainname.org/joomlaroot/public_html/administrator/?option=com_civicrm&task=civicrm/upgrade/queue/runner&reset=1&qrid=CRM_Upgrade
All the Directories, Resource URLs, and paths in civicrm.config.php and both civicrm.settings.php are correct including ~/media/civicrm/ConfigAndLog/Config.IDS.ini are correct.

Additionally, when I remove the ~/media/civicrm/templates_c/en_US directory and Config.IDS.ini and then refresh the GUI, files do write to the cache folder but Config.IDS.ini does NOT get recreated. Even if I go back and reenter all the settings and Save again.

Further, navigation menu will not appear.
« Last Edit: October 16, 2014, 03:27:11 am by bmw »
Bruce Wolfe, M.S.W., CIO
Alcohol Justice, 501(c)3

bmw

  • I post occasionally
  • **
  • Posts: 103
  • Karma: 4
    • Alcohol Justice - The Industry Watchdog
  • CiviCRM version: 4.5.8
  • CMS version: Joomla! 3.4.0
  • MySQL version: 5.5.42-cli
  • PHP version: 5.3.27
Re: Joomla 3.3: Upgrading from 4.4.7 to 4.5.x: Database Upgrade Utility fail
October 16, 2014, 03:26:43 am
Okay, Eileen McNaughton figured it out. She has a lot of patience. I'm the imbecile.

When doing a migration or replacing the database, the Resource URL doesn't not get updated despite having initially installed a fresh installation (aka codebase) of CiviCRM. So, two things to remember:
  • For Joomla, the Resource URL is http://(siteURL)/administrator/components/com_civicrm/civicrm
  • Next, in the database, set config_backend to NULL in table civicrm_domain. If you are using PHPMyAdmin, there is a tick box for it. Under no circumstances delete the data in the text box and enter the word "NULL". That won't work.
  • Go back to the CiviCRM dashboard and refresh the browser screen. The menu bar should come alive.
  • Check the path in both civicrm.setting.php files and civicrm.config.php file. You should know where they are.
  • Clear the template_c cache
  • Refresh the dashboard screen again. Go through all your settings again.
  • Finally, check the new data in config_backend. Look for the path or URL. Usually, http://.../administrator/index.php?...  will be missing. Just add it back in.
  • Clear the cache again. Clear your browser cache. Refresh the screen and all should be well in the world again.
Bruce Wolfe, M.S.W., CIO
Alcohol Justice, 501(c)3

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • [SOLVED]Joomla 3.3: Upgrading from 4.4.7 to 4.5.x: Database Upgrade Utility fail

This forum was archived on 2017-11-26.