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) »
  • No forms or body in second site of mult-site install
Pages: [1]

Author Topic: No forms or body in second site of mult-site install  (Read 647 times)

lou

  • Guest
No forms or body in second site of mult-site install
August 26, 2009, 12:32:36 pm
Greetings.  First, let me say that I've been using and loving CiviCRM for years! 

I'm running Drupal 6.13 and CiviCRM 2.2.2 (with php5) in a multi-site configuration with two sites.  CiviCRM is installed at /sites/all/modules.  The first site is configured under /sites/default and the 2nd is under /sites/[domain name].  Each site uses separate dbs for drupal and civicrm (4 dbs total -- two for each site), and there are separate civicrm.settings.php files for each site.

My "default" site works like a charm -- been running for months without a problem.  The second site, though, doesn't generate anything besides headers and footers on numerous pages.  I can search for a see lists of contacts, and I can view the contact summary, but if I try to edit a contact, all I get is the header, the "recently viewed" bar and the access keys icon.  The HTML that's generated reads:
Code: [Select]
...
<div id="recently-viewed">
<ul>
</ul>
</div>
<div class="spacer"/>
<form id="Edit" enctype="multipart/form-data" name="Edit" method="post" action="/civicrm/contact/add">
<div>
<input type="hidden" value="2e5617ab5632199cc5560879c1e378a1_5347" name="qfKey"/>
<input type="hidden" value="Edit:upload" name="_qf_default"/>
<input type="hidden" value="4194304" name="MAX_FILE_SIZE"/>
</div>
</form>
<div id="access" class="footer">
Access Keys:
<div class="helpicon">
</div>
</div>
<div id="record-log" class="footer">
<span class="col1">   CiviCRM ID: 7</span>
</div>
<div id="civicrm-footer" class="footer">

I have a similar experience with Civi-generated pages, like the Confirmation page when a user joins a mailing list: page title and footer appear, but nothing in between.

I've looked through the configuration of both sites, but can't find anything to explain why it works perfectly on one, and not at all on another.  Firebug doesn't report any errors; instead, it appears that the content just isn't there.

I also switched to the Garland theme, in case there was something in my theme templates that might cause the problem.

I haven't been able to find a similar issue in the forum, so any guidance, advice or pointers will be appreciated.

Lou

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: No forms or body in second site of mult-site install
August 26, 2009, 06:59:30 pm

are they sharing the same template compile dir?

define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/var/www/htdocs/civicspace/files/civicrm/templates_c/' );

this is the value defined in civicrm.settings.php

might want to check that

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

lou

  • Guest
Re: No forms or body in second site of mult-site install
August 27, 2009, 05:42:34 am
That did it!  Thanks so much.

Lou

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • No forms or body in second site of mult-site install

This forum was archived on 2017-11-26.