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) »
  • 1.8 manual install Drupal page caching
Pages: [1]

Author Topic: 1.8 manual install Drupal page caching  (Read 2431 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
1.8 manual install Drupal page caching
September 03, 2007, 10:12:21 am
When I added the code here

http://wiki.civicrm.org/confluence/display/CRMDOC/Install+CiviCRM+1.8+for+Drupal#InstallCiviCRM1.8forDrupal-%26nbsp%3BDrupalPageCachingOptionalConfiguration

in settings.php to disable Drupal page caching for anonymous CiviCRM form users. I got an unexpected effect.

The default "File system path" in admin/settings/file-system was changed from "files" to "sites/all/files".
It would also not allow me to reset it to "files".
This had the expected effect on Drupal user pictures and other downloadable files.

When I removed the code from setttings.php it went back to normal.

Neil

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: 1.8 manual install Drupal page caching
September 03, 2007, 11:41:14 am

can u get rid of this line, its not needed:

  'file_directory_path' => conf_path() .'/files', // not needed for this, but probably exists

i'll edit the docs to remove it also

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

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
Re: 1.8 manual install Drupal page caching
September 03, 2007, 01:25:43 pm
Thanks, I was hoping you would say that.

I've set up a "Pledge" form at http://www.voteformmp.ca/civicrm/profile/create?reset=1&gid=3

Using the very nice new CiviCRM Profile option "Drupal user account registration option?"  :)

I'm also going to put the redirect urls to good use.

? I have put my email in "Notify when profile form is submitted?" but haven't received one yet. Trying a different address.

Neil


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • 1.8 manual install Drupal page caching

This forum was archived on 2017-11-26.