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) »
  • Joomla 3.2.1 upgrade results in civiCRM error
Pages: [1]

Author Topic: Joomla 3.2.1 upgrade results in civiCRM error  (Read 1049 times)

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Joomla 3.2.1 upgrade results in civiCRM error
December 22, 2013, 02:32:36 pm
The following doesn't quite fit here, but doesn't fit under using civiCRM either.  I'm asking here, because it's of a similar technical nature.

On upgrading from Joomla 3.2.1 I can no longer log-in to the back end administrator.  That's a known issue and I solved it by making a new user via mysql statements.  However the administrator back end is no longer available with the following error:

Fatal error: Class 'CRM_Core_Config_Variables' not found in .../www/administrator/components/com_civicrm/civicrm/CRM/Core/Config.php on line 43

I'm going to try to reinstall Joomla 3.2.0, but it seems this might be an issue to explore.

Christopher
Thanks to those who help create and enhance civiCRM!

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: Joomla 3.2.1 upgrade results in civiCRM error
December 23, 2013, 04:08:26 pm
I reverted back to Joomla 3.2.0 and all seemed well until I tried to set up some front end profiles and I got nothing but "you do not have permission to access this page" errors.  I discovered that the reversion had overwritten the Joomla Plug-ins folder leaving it without the civicrm plug-in.  I restored it by copying the files of another installation I had in backup.  Whereupon I no longer had access to the Joomla back end or any of the administration settings, getting this error: Fatal error: Class 'CRM_Core_Config_Variables' not found in /home/railver/www/www/administrator/components/com_civicrm/civicrm/CRM/Core/Config.php on line 43

So now I'm not sure what to do next.
Thanks to those who help create and enhance civiCRM!

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: Joomla 3.2.1 upgrade results in civiCRM error
December 23, 2013, 06:41:54 pm
Discovered that in the reverting I had overwritten the Joomla plugin folder eliminating the civiCRM plugin.  Restoring it resulted in this same error as earlier after upgrading to Joomla 3.2.1:
Fatal error: Class 'CRM_Core_Config_Variables' not found in .../www/administrator/components/com_civicrm/civicrm/CRM/Core/Config.php on line 43

So I uninstalled civiCRM (I had to delete the plugin folder via FTP in order to even get into the backend, then uninstalled the standard Joomla way.  Then reinstalled civiCRM in Joomla and restored the settings files. (database, which is a separate database from Joomla, remained unchanged.
Found that reinstalling fixed the problem of not being able to access the civiCRM admin settings which had earlier been a problem, but I remain unable to make a profile of any kind that is visible on the front end.  The error is:
Sorry but we are not able to provide this at the moment.
You do not have permission to access this page

Would having a database for civiCRM that is separate from the Joomla database cause such a problem?  I don't understand why profiles which are clearly defined as public access would be throwing permissions errors and I don't know what to do next.
« Last Edit: December 23, 2013, 06:43:54 pm by conductorchris »
Thanks to those who help create and enhance civiCRM!

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: Joomla 3.2.1 upgrade results in civiCRM error
December 23, 2013, 07:45:53 pm
OK, figured this out.  I upgraded the code, but not between the seat and keyboard . . .

I learn about access control - a new feature which I hadn't needed to use before.  The public role does not have the ability to do anything in civicrm - thus no front end access unless it's specifically enabled.  Makes sense, of course. 
Thanks to those who help create and enhance civiCRM!

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: Joomla 3.2.1 upgrade results in civiCRM error
December 24, 2013, 06:25:17 am
Apparently I didn't fix it at all.

This morning when I go to log in Joomla I get another error blocking the entire back end of Joomla:

Fatal error: Class 'CRM_Core_Config_Variables' not found in /home/railver/www/www/administrator/components/com_civicrm/civicrm/CRM/Core/Config.php on line 43
Thanks to those who help create and enhance civiCRM!

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: Joomla 3.2.1 upgrade results in civiCRM error
December 25, 2013, 03:16:47 pm
I took out the civiCRM user plugin via FTP (which manages civicrm Joomla permissions) and that allowed me to get into the backend of Joomla.  Then I did the synchronize Joomla and civiCRM users option and now it seems to work.  Then I put the plugin back and it still loaded without error. I thought I had it solved.

I went away and came back later in the day (ie, after the previous session had expired) and alas the same error persists.  Not solved at all.
Thanks to those who help create and enhance civiCRM!

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Joomla 3.2.1 upgrade results in civiCRM error
December 26, 2013, 03:27:29 am
Above when you wrote that you reinstalled, you then replaced the settings files.

Did you try:

1. Remove both settings files
2. Reinstall
3. Leave the files and just edit them to change only the DB name

?
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.

conductorchris

  • I post frequently
  • ***
  • Posts: 167
  • Karma: 9
    • Vermont Rail Action Network
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 3.2.7
  • MySQL version: 5.5.32
  • PHP version: 5.3.26
Re: Joomla 3.2.1 upgrade results in civiCRM error
December 26, 2013, 03:41:35 pm
Hershel, thank you.  That seemed to be the trick.
Christopher
Thanks to those who help create and enhance civiCRM!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Joomla 3.2.1 upgrade results in civiCRM error

This forum was archived on 2017-11-26.