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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • CiviCRM core file not found error on Joomla
Pages: [1]

Author Topic: CiviCRM core file not found error on Joomla  (Read 755 times)

developer

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.2+
  • CMS version: drupal 7.x/6.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
CiviCRM core file not found error on Joomla
June 18, 2014, 05:14:45 am
Hi all,

I'm working on civi4.4.4 on Joomla.
when i'm trying to run a custom schedule job using api. ( same job on drupal for other clients are working fine but for this joomla i'm getting the error)

I'm getting an error saying:

Fatal error: Class 'CRM_Core_DAO_Email' not found in /var/www/mysite/administrator/components/com_civicrm/civicrm/api/v3/utils.php on line 1442.

its saying the core file is not found, but it is available.
I tried to include that file using require_once 'CRM/Core/DAO/Email.php';
and from then i'm getting similar kind of other fatal errors like core file are not found, I've started including them in core one by one as it is throwing error.
After including in one file i'm getting similar error in other file and the list is going on..
Can anyone please tell me whats going wrong here and why I'm getting this kind of errors.

some other similar errors I got:


=>  Fatal error: Class 'CRM_Mailing_Config' not found in /var/www/rigpa_uat/administrator/components/com_civicrm/civicrm/CRM/Core/Config.php on line 524

=> Fatal error: Class 'CRM_Core_Component_Config' not found in /var/www/rigpa_uat/administrator/components/com_civicrm/civicrm/CRM/Mailing/Config.php on line 35

=> Fatal error: Class 'CRM_Core_Lock' not found in /var/www/rigpa_uat/administrator/components/com_civicrm/civicrm/CRM/Core/BAO/Cache.php on line 160

=> Fatal error: Class 'CRM_Activity_BAO_ActivityContact' not found in /var/www/rigpa_uat/administrator/components/com_civicrm/civicrm/CRM/Activity/BAO/Activity.php on line 2584





Thanks
« Last Edit: June 18, 2014, 05:22:56 am by developer »

JohnFF

  • I post frequently
  • ***
  • Posts: 235
  • Karma: 6
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.28
  • MySQL version: 5.5.31-1
  • PHP version: 5.3.27
Re: CiviCRM core file not found error on Joomla
June 18, 2014, 01:53:09 pm
Ouch! Sorry to hear you're having this problem.

Perhaps it's a file permissions issue? Are those files readable?

Failing that, perhaps you need to change some database civicrm_settings entries, for filepaths and the like. Do you have either MySQL command line access or phpmyadmin installed?

Good luck!
If you like empowering charities in a free and open way, then you're going to love Civi.

Email Amender: https://civicrm.org/extensions/email-amender
UK Phone Validator: https://civicrm.org/extensions/uk-phone-number-validator
http://civifirst.com
https://twitter.com/civifirst

developer

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 4.2+
  • CMS version: drupal 7.x/6.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviCRM core file not found error on Joomla
June 19, 2014, 02:24:34 am
Thanks John,

Its in my development server and entire civicrm directory has got 777 permissions, but its still throwing file not found error, which is actually available. if I include that file, that error is fixed and coming up with some other similar error from some other file saying another file not found, seems its some path issue somewhere, but I've no clue where to configure and how to fix this..

JohnFF

  • I post frequently
  • ***
  • Posts: 235
  • Karma: 6
  • CiviCRM version: 4.4.13
  • CMS version: Drupal 7.28
  • MySQL version: 5.5.31-1
  • PHP version: 5.3.27
Re: CiviCRM core file not found error on Joomla
June 20, 2014, 07:15:32 am
... I'm stumped too.

It sounds to me like the Joomla side of your install isn't configured correctly - perhaps posting under Installations>Joomla would help?
If you like empowering charities in a free and open way, then you're going to love Civi.

Email Amender: https://civicrm.org/extensions/email-amender
UK Phone Validator: https://civicrm.org/extensions/uk-phone-number-validator
http://civifirst.com
https://twitter.com/civifirst

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • CiviCRM core file not found error on Joomla

This forum was archived on 2017-11-26.