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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.3 Release Testing »
  • Add Contacts: Petition Contacts Smart Group error
Pages: [1]

Author Topic: Add Contacts: Petition Contacts Smart Group error  (Read 1806 times)

reroo.ting

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Add Contacts: Petition Contacts Smart Group error
October 21, 2010, 08:01:31 am
So I was playing around in the sandbox and encountered an error with the petition feature.


Quote
   * user warning: Smarty error: problem creating directory '/var/www/sandbox.civicrm.org/public/sites/sandbox.civicrm.org/files/civicrm/templates_c/en_US/%%40/40F' in /var/www/drupal.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/Smarty/Smarty.class.php on line 1093.
    * warning: Smarty::include(/var/www/sandbox.civicrm.org/public/sites/sandbox.civicrm.org/files/civicrm/templates_c/en_US//%%40/40F/40F3FCB6%%Task.tpl.php) [function.Smarty-include]: failed to open stream: No such file or directory in /var/www/drupal.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/Smarty/Smarty.class.php on line 1906.
    * warning: Smarty::include() [function.include]: Failed opening '/var/www/sandbox.civicrm.org/public/sites/sandbox.civicrm.org/files/civicrm/templates_c/en_US//%%40/40F/40F3FCB6%%Task.tpl.php' for inclusion (include_path='/var/www/drupal.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/tools/drupal/modules/civicrm_regsite/:.:/var/www/sandbox.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/:/var/www/sandbox.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm//packages:.:/usr/share/php:/usr/share/pear') in /var/www/drupal.civicrm.org/public/sites/sandbox.civicrm.org/modules/civicrm/packages/Smarty/Smarty.class.php on line 1906.
I am not entirely sure of what is happening, but it seems that there are arguments that are being supplied for the file paths intended that are not properly printing.

The specific action that caused this error was basically creating a smart group for petition contacts.  

From 'contacts in group: petition contacts' I clicked 'add contacts to petition contacts'.  From there I did a blind search to turn up all the contacts, and clicked select results: all 104 records.  The error occurs when I click 'Add Contacts to Petition Contacts'.  I was able to duplicate it following these steps.

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: Add Contacts: Petition Contacts Smart Group error
October 21, 2010, 08:25:52 am
it ususally just means folder permission issues


Smarty is trying to write to the template cache folder

which should be

sites/sandbox.civicrm.org/files/civicrm/templates_c/

so just make sure that templates_c as well as the directories under it is writable.


You can do something like chmod -R a+w templtes_c


Cheers


Cheers

reroo.ting

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Re: Add Contacts: Petition Contacts Smart Group error
October 21, 2010, 11:20:08 am
Yea thats what i figured, however this is the civicrm sandbox, you guys have set up, so I cannot change the folder permissions

Richard

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: Add Contacts: Petition Contacts Smart Group error
October 21, 2010, 01:11:05 pm

fixed the permissions, hopefully the error goes away 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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.3 Release Testing »
  • Add Contacts: Petition Contacts Smart Group error

This forum was archived on 2017-11-26.