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 »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • "warning: Please contact support about failure" from Smarty.class.php
Pages: [1]

Author Topic: "warning: Please contact support about failure" from Smarty.class.php  (Read 1347 times)

zbgc

  • I’m new here
  • *
  • Posts: 18
  • Karma: 0
  • CiviCRM version: 3.4.5
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
"warning: Please contact support about failure" from Smarty.class.php
July 24, 2011, 09:27:19 pm
A few days ago, CiviEvent was working fine. No changes to our installation have been made since that time; and in terms of CiviCRM data, the only change made was modifying an event date to push it further into the future. Last night, however, upon trying to add a new event, we suddently started getting the error message:

"warning: Please contact support about failure in [site dir]/drupal/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1971"

.... which is the _eval function, called (according to debug_backtrace) from smarty_function_eval in ArraySmarty.php. Outputting the value passed to that function's $code variable highlights the following text with the same colour as the "warning" text at the top of the page:

"_tpl_vars['label']; ?> _tpl_vars['required']): ?> *"

when trying to render the labels for certain fields on the "New Events" page. The first of these fields has a drop-down for an Event Type;  the second has a drop-down for a Role; and the third is a text box for, i'm guessing, the event title/name field.

Any suggestions as to what the cause of this problem might be? Might it have been caused by some change made by our hosting provider over the weekend?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: "warning: Please contact support about failure" from Smarty.class.php
July 24, 2011, 11:09:06 pm
Quote
Any suggestions as to what the cause of this problem might be? Might it have been caused by some change made by our hosting provider over the weekend?

Possible. Can you make sure file permissions are correct and templates_c directory ids writeable by web user.

Kurund
Found this reply helpful? Support CiviCRM

zbgc

  • I’m new here
  • *
  • Posts: 18
  • Karma: 0
  • CiviCRM version: 3.4.5
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
Re: "warning: Please contact support about failure" from Smarty.class.php
July 25, 2011, 01:30:52 am
The permissions on the templates_c directory were 755; but even setting them to 777 didn't help.

Permissions elsewhere superficially look okay, but are there particular directories and/or files which should be checked?

zbgc

  • I’m new here
  • *
  • Posts: 18
  • Karma: 0
  • CiviCRM version: 3.4.5
  • CMS version: Drupal 6.22
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
Re: "warning: Please contact support about failure" from Smarty.class.php
August 06, 2011, 12:53:16 am
For the record, the issue disappeared after upgrading to CiviCRM 3.4.5.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • "warning: Please contact support about failure" from Smarty.class.php

This forum was archived on 2017-11-26.