Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Core CiviCRM
-
Labels:None
Description
When doing a Joomla upgrade of civicrm you must do this:
edit the file HOME/com_civicrm/configure.php and make the following changes on line 120 (approx). THIS IS VERY IMPORTANT. MAKE SURE YOU FIND THE RIGHT FILE AND THE RIGHT FUNCTION
function civicrm_source( $fileName ) {
global $dsn, $crmPath;
require_once 'DB.php';
TO
function civicrm_source( $fileName ) {
return;
global $dsn, $crmPath;
require_once 'DB.php';
Change the configure.php file to:
function civicrm_source( $fileName ) {
//Uncomment next line if doing an upgrade.
// return;
global $dsn, $crmPath;
require_once 'DB.php';
(It can be confusing to find the exact right location since there are similar lines in various files)
Of course, better yet put in code o detect an existing installation.