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 »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Error - Cannot redeclare class CRM_Core_ClassLoader
Pages: [1]

Author Topic: Error - Cannot redeclare class CRM_Core_ClassLoader  (Read 832 times)

Martin Fuggle

  • I post frequently
  • ***
  • Posts: 172
  • Karma: 3
    • Travel and Photography
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 6.x and 7.x
  • MySQL version: 5.1.36-cll
  • PHP version: 5.3.6
Error - Cannot redeclare class CRM_Core_ClassLoader
December 12, 2013, 04:20:26 am
I am trying to move a functioning Drupal 7/CiviCRM 4.4.3 site from one sub domain to the www domain. I have deleted the Config Backend field in the table civicrm_domain, deleted template_c and ConfigAndLog directories. When I rty to access the site I get the above error. The detail is:

Fatal error: Cannot redeclare class CRM_Core_ClassLoader in /home/quins/www/www/sites/all/modules/civicrm/CRM/Core/ClassLoader.php on line 36

Has anyone had this issue and been able to resolve it?

Cheers
Martin Fuggle
« Last Edit: December 12, 2013, 04:22:25 am by Martin Fuggle »

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: Error - Cannot redeclare class CRM_Core_ClassLoader
December 12, 2013, 09:13:46 am

check and see if u have two copies of civicrm under your drupal directory which is: /home/quins/www (or /home/quins/www/www)

most likely that is the case

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

Laryn

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 4
    • CEDC
  • CiviCRM version: 4.6.x
  • CMS version: Drupal 7
Re: Error - Cannot redeclare class CRM_Core_ClassLoader
July 14, 2014, 09:23:26 am
In case anyone else finds this in a search, I had the same thing and found an answer here related to a variable set in Drupal's variable table.
CEDC...social justice by design

*Get support on the new CiviCRM help site. /laryn

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Error - Cannot redeclare class CRM_Core_ClassLoader

This forum was archived on 2017-11-26.