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 »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • civimailprocessor doesn't work when civicrm installed in subdomain
Pages: [1]

Author Topic: civimailprocessor doesn't work when civicrm installed in subdomain  (Read 928 times)

Jeroen~

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
    • WoesteLand
  • CiviCRM version: CiviCRM 4.2
  • CMS version: Drupal 7
civimailprocessor doesn't work when civicrm installed in subdomain
March 09, 2011, 10:19:24 am
I have 2 instances of drupal and civicrm installed on 1 domain.
1 instance in the root (www woesteland nl) and 1 in a subdomain (reunie woesteland nl) which is a folder under the root (woesteland nl/reunie).
I am running civicrm 3.3.5 now. In version 3.3.3 civimailprocessor worked perfectly.
Now I can send a testmail from my subdomain installation. But I can't get civimailprocessor or civimail.cron.php to work. I get the message Fatal error: Cannot redeclare class CRM_Core_Config in /home/p20793/domains/woesteland.nl/public_html/sites/all/modules/civicrm/CRM/Core/Config.php on line 662.
So the problem is: I try to run the script reunie.woesteland nl/sites/all/modules/civicrm/bin/CiviMailProcessor.php
but somehow it tries to include config.php from my root domain.

Does anybody have a solution? (and am I expressing myself good enough?)

xcf33

  • I post frequently
  • ***
  • Posts: 181
  • Karma: 7
  • CiviCRM version: 3.3.2
  • CMS version: Drupal 6.19/6.20
  • MySQL version: 5.x
  • PHP version: 5.2.6
Re: civimailprocessor doesn't work when civicrm installed in subdomain
March 09, 2011, 02:35:18 pm
make sure that your $civicrm_root has a trailing slash and also it is an ABSOLUTE PATH such as

Code: [Select]
$civicrm_root = '/var/www/htdocs/sites/all/modules/civicrm/';

Cheers!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • civimailprocessor doesn't work when civicrm installed in subdomain

This forum was archived on 2017-11-26.