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) »
  • Smarty Errors Driving Me Crazy
Pages: [1]

Author Topic: Smarty Errors Driving Me Crazy  (Read 5125 times)

tbarhorst

  • Guest
Smarty Errors Driving Me Crazy
March 21, 2008, 03:19:00 pm
Hi,

I've been trying to get CiviCRM working on an ISP shared server environment. (RH 5)  Drupal works fine but whenever I try to administer Civi, I get the errors below - and lots of them. The ISP has been trying to chmod and chuser the appropriate directories but PHP keeps changing them back. I started with version 1.9 and tried the upgrade to 2.0. Managed to get through the upgrade but still get the errors below. The ISP is out of ideas. (I have this working fine on a dedicated host but when I uploaded to the ISP, I started to have the problem. I hope somebody has some good suggestions.

Thanks,
Tim


user warning: Smarty error: problem creating directory '/var/www/users/userweb11146/html/files/civicrm/templates_c/en_US/en_US/%%F7/F73' in /var/www/users/userweb11146/html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1095.

warning: Smarty::include(/var/www/users/userweb11146/html/files/civicrm/templates_c/en_US/en_US//%%F7/F73/F73DB36C%%Admin.tpl.php) [function.Smarty-include]: failed to open stream: Permission denied in /var/www/users/userweb11146/html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1871.

warning: Smarty::include() [function.include]: Failed opening
'/var/www/users/userweb11146/html/files/civicrm/templates_c/en_US/en_US//%%F7/F73/F73DB36C%%Admin.tpl.php' for inclusion (include_path='.:/var/www/users/userweb11146/html/sites/all/modules/civicrm:/var/www/users/userweb11146/html/sites/all/modules/civicrm/packages:.:/usr/share/pear') in /var/www/users/userweb11146/html/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1871.

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: Smarty Errors Driving Me Crazy
March 22, 2008, 12:22:24 pm

i suspect your host has either open basedir or safe mode enabled which messes up permissions. We dont know those settings well, so you might want to check the smmarty forums for workarounds

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

arlind

  • Guest
Re: Smarty Errors Driving Me Crazy
April 10, 2008, 01:56:58 pm
Hi,

I have the same problems with civiCRM 2 - that the chmod settings changes. Drupal has no problems when it creates tmp files with the same settings - nothing changes.

thanks :-)

Code: [Select]
    * user warning: Smarty error: problem writing temporary file '/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US/wrt47fe6b6cb81dc' in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1095.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(): Failed opening '/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php' for inclusion (include_path='.:/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm:/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages:.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * user warning: Smarty error: problem writing temporary file '/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US/wrt47fe6b6cc6c2a' in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1095.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%91^919^91975F02%%Menu.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%91^919^91975F02%%Menu.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%91^919^91975F02%%Menu.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%91^919^91975F02%%Menu.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(): Failed opening '/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%91^919^91975F02%%Menu.tpl.php' for inclusion (include_path='.:/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm:/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages:.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * user warning: Smarty error: problem writing temporary file '/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US/wrt47fe6b6cce16b' in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1095.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(): Failed opening '/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php' for inclusion (include_path='.:/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm:/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages:.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * user warning: Smarty error: problem writing temporary file '/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US/wrt47fe6b6cd2f4e' in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1095.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%A6^A67^A6754B0A%%Shortcuts.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%A6^A67^A6754B0A%%Shortcuts.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%A6^A67^A6754B0A%%Shortcuts.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%A6^A67^A6754B0A%%Shortcuts.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(): Failed opening '/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%A6^A67^A6754B0A%%Shortcuts.tpl.php' for inclusion (include_path='.:/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm:/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages:.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * user warning: Smarty error: problem writing temporary file '/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US/wrt47fe6b6cd7d70' in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1095.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(): Failed opening '/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php' for inclusion (include_path='.:/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm:/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages:.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * user warning: Smarty error: problem writing temporary file '/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US/wrt47fe6b6ce4ff6' in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1095.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%E9^E9D^E9D18D1B%%Search.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%E9^E9D^E9D18D1B%%Search.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%E9^E9D^E9D18D1B%%Search.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%E9^E9D^E9D18D1B%%Search.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(): Failed opening '/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%E9^E9D^E9D18D1B%%Search.tpl.php' for inclusion (include_path='.:/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm:/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages:.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * user warning: Smarty error: problem writing temporary file '/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US/wrt47fe6b6cf2b46' in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1095.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%06^069^0693F89E%%drupal.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%06^069^0693F89E%%drupal.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%06^069^0693F89E%%drupal.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%06^069^0693F89E%%drupal.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(): Failed opening '/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%06^069^0693F89E%%drupal.tpl.php' for inclusion (include_path='.:/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm:/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages:.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * user warning: Smarty error: problem writing temporary file '/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US/wrt47fe6b6d05e15' in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1095.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(): Failed opening '/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%93^938^938D45F8%%Subject.tpl.php' for inclusion (include_path='.:/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm:/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages:.:/hsphere/shared/apache/libexec/php5ext/php/') in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * user warning: Smarty error: problem writing temporary file '/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US/wrt47fe6b6d0ac33' in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1095.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%91^919^91975F02%%Menu.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%91^919^91975F02%%Menu.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(): Unable to access /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%91^919^91975F02%%Menu.tpl.php in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.
    * warning: Smarty::include(/hsphere/local/home/boarlind/internetpartiet.dk/civicrm/files/civicrm/templates_c/en_US/en_US//%%91^919^91975F02%%Menu.tpl.php): failed to open stream: Success in /hsphere/local/home/boarlind/internetpartiet.dk/civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1265.

...continues

arlind

  • Guest
Re: Smarty Errors Driving Me Crazy
April 10, 2008, 03:10:15 pm

Hi,

These files are created without any changes, and later deleted - changes first occur when I visit "Payment Processors":

Code: [Select]
-rw-r--r--   1 httpd    httpd        4513 Apr 10 22:01 %%02^029^029CEF80%%footer.tpl.php
-rw-r--r--   1 httpd    httpd        4350 Apr 10 22:01 %%06^069^0693F89E%%drupal.tpl.php
-rw-r--r--   1 httpd    httpd        4370 Apr 10 22:01 %%7A^7A5^7A517D90%%DashBoard.tpl.php
-rw-r--r--   1 httpd    httpd         817 Apr 10 22:01 %%91^919^91975F02%%Menu.tpl.php
-rw-r--r--   1 httpd    httpd         193 Apr 10 22:01 %%93^938^938D45F8%%Subject.tpl.php
-rw-r--r--   1 httpd    httpd        1315 Apr 10 22:01 %%93^93A^93AD3FA7%%recentlyViewed.tpl.php
-rw-r--r--   1 httpd    httpd         546 Apr 10 22:01 %%A6^A67^A6754B0A%%Shortcuts.tpl.php
-rw-r--r--   1 httpd    httpd        3380 Apr 10 22:01 %%B7^B75^B75FFEFA%%Add.tpl.php
-rw-r--r--   1 httpd    httpd         311 Apr 10 22:01 %%B7^B79^B79FF491%%dojo.tpl.php
-rw-r--r--   1 httpd    httpd        2128 Apr 10 22:01 %%C6^C6B^C6B24099%%status.tpl.php
-rw-r--r--   1 httpd    httpd        2794 Apr 10 22:01 %%E9^E9D^E9D18D1B%%Search.tpl.php
-rw-r--r--   1 httpd    httpd        8079 Apr 10 22:01 %%F0^F04^F047BD97%%Activity.tpl.php
-rw-r--r--   1 httpd    httpd         120 Apr 10 22:01 %%F0^F0F^F0F71C33%%version.tpl.php

thanks for looking into this problem :-) Bo

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: Smarty Errors Driving Me Crazy
April 10, 2008, 04:02:57 pm

can  you check if your host has open_basedir or safe_mode turned on. if so, you might want to search the forums for how folks get around that issue

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

seanick

  • Guest
Re: Smarty Errors Driving Me Crazy
April 10, 2008, 07:13:19 pm
This started happening to me too... Today...

arlind

  • Guest
Re: Smarty Errors Driving Me Crazy
April 11, 2008, 03:43:50 am
Hi,

open_basedir is off
safe_mode is on
http://wsb11.surftown.dk/phpinfo.php

But this applies to Drupal too, but Drupal does not have the same problem. The problem is only occurring with civiCRM.

As a additional note to the chmod changes (777 to 755), the owner of the directory is also changed to httpd - thus I can't delete it.

The files created by civiCRM has chmod 600 and owner httpd - thus I can't delete them.

hmm... is there a target directory where the temp-files are moved to, cause I need to replace the directory with 777 chmod copy, before civiCRM can move them into the directory?

thanks for Your time and effort (and civiCRM) :-)
Bo

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: Smarty Errors Driving Me Crazy
April 11, 2008, 12:19:15 pm

drupal does not use Smarty (and hence does not create temp files), while CiviCRM does

There is an issue with CiviCRM, Smarty and safe_mode. Your best bet is to talk to the Smarty folks on the Smarty forums and figure out what we need to do to enable Smarty to function in safe_mode. We'd be happy to integrate these changes in future releases of CiviCRM


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

arlind

  • Guest
Re: Smarty Errors Driving Me Crazy
April 12, 2008, 07:27:49 am
asked for smarty-help here:
http://www.phpinsider.com/smarty-forum/viewtopic.php?p=49063#49063

thanks
Bo

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Re: Smarty Errors Driving Me Crazy
April 21, 2008, 11:45:51 am
One thing to check if you've used FTP to move files and folders: check that the filenames of the smarty files didn't get corrupted in the transfer. I had about four filenames corrupted (they ended with a string of numbers instead of the proper filename); when I renamed the files on the server, the smarty errors went away. I'm having other problems unrelated to this - perhaps this will help.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Smarty Errors Driving Me Crazy

This forum was archived on 2017-11-26.