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 »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Problem with CiviCRM cache exclude in settings.php
Pages: [1]

Author Topic: Problem with CiviCRM cache exclude in settings.php  (Read 2587 times)

Neil Adair

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 4
  • CiviCRM version: 4.5.8
  • CMS version: Drupal 7
  • MySQL version: MariaDB 10
  • PHP version: 5.5 FPM
Problem with CiviCRM cache exclude in settings.php
September 06, 2007, 05:39:21 pm
I'm seeing a host of these in the logs

PHP Notice:  Undefined index:  q in /var/www/www.voteformmp.ca/sites/default/settings.php on line 174
PHP Notice:  Undefined property:  stdClass::$cache in /var/www/www.voteformmp.ca/includes/session.inc on line 73

from settings.php (now commented out)

   169 # $conf = array(
   170 #   'page_cache_fastpath' => 1,
   171 #);
   172
   173 #function page_cache_fastpath() {
   174 #   if (substr($_GET['q'], 0, 7) == 'civicrm') {
   175 #    global $conf;
   176 #    $conf['cache'] = CACHE_DISABLED;
   177 #  }
   178 #}

Neil
« Last Edit: September 06, 2007, 07:58:24 pm by Neil Adair »

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: Problem with CiviCRM cache exclude in settings.php
September 06, 2007, 08:08:37 pm

Neil:

might be easiest/fastest if you can help debug the below and figure out whats causing the drupal files to issue notices. I'm pretty sure drupal is not PHP Notice free, but might be mistaken.

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Problem with CiviCRM cache exclude in settings.php

This forum was archived on 2017-11-26.