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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade to J1.6.3/CiviCRM 4.0.1 Error: Smarty_Compiler.class.php on line 270
Pages: 1 [2]

Author Topic: Upgrade to J1.6.3/CiviCRM 4.0.1 Error: Smarty_Compiler.class.php on line 270  (Read 3388 times)

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Upgrade to J1.6.3/CiviCRM 4.0.1 Error: Smarty_Compiler.class.php on line 270
August 10, 2011, 03:29:20 pm
Can confirm this is an A2Hosting issue, particularly around their recent upgrade to 5.3 PHP.  The php.ini file provided above appears to work.  ++danetidwell thanks
Try CiviTeacher: the online video tutorial CiviCRM learning library.

hobokenskiclub

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.0.5
  • CMS version: Drupal 7.4
  • MySQL version: 5.1.x
  • PHP version: 5.3.6
Re: Upgrade to J1.6.3/CiviCRM 4.0.1 Error: Smarty_Compiler.class.php on line 270
August 24, 2011, 07:58:38 pm
In case anyone is looking for the Drupal 7/CiviCRM 4.0/PHP 5.3 solution on A2 hosting:

A2 originally gave me an unsafe-php.ini file to use, however it was meant for PHP 5.2 and only caused more issues such as PDO classes not found.   Looking in the directory where the unsafe ini file was there is also the default ini file for 5.3 which you can copy into your Drupal root folder and customize.  After diffing the unsafe file for 5.2 and default php.ini files I experimented with removing the following line and it did the trick:
;extension = 'strainer.so'

pjindent

  • I post occasionally
  • **
  • Posts: 34
  • Karma: 2
Re: Upgrade to J1.6.3/CiviCRM 4.0.1 Error: Smarty_Compiler.class.php on line 270
September 13, 2011, 08:28:27 pm
I am facing this problem as well.  I am on A2.  I want clarification on "your host has to allow a custom php.ini to be installed in each of the directories that CiviCRM is in."  Do you mean I should put php.ini in public_html/sites/mywebsite.com/files/ ?  Or do you mean public_html/sites/mywebsite.com/files/civicrm/ ? Or do you mean put in all/modules/civicrm/?

thanks


Quote from: danetidwell on May 16, 2011, 10:13:23 am
Thanks Lobo --

Strangely, it was the web host.  They upgraded the php security on my server. PHP 5.2.9 suhosin blocks the eval command so to rectify, your host has to allow a custom php.ini to be installed in each of the directories that CiviCRM is in.

I've attached mine as a txt file, but a2 said the code would probably depend on the provider.

FatherShawn

  • Ask me questions
  • ****
  • Posts: 372
  • Karma: 25
    • C3 Design
  • CiviCRM version: 4.2.11
  • CMS version: Drupal 7.23
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Re: Upgrade to J1.6.3/CiviCRM 4.0.1 Error: Smarty_Compiler.class.php on line 270
September 23, 2011, 08:04:10 am
for my client, I put it in public_html (Drupal root) and Drupal doesn't seem to mind!
Lead Developer, C3 Design.
Twitter: @FatherShawn

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrade to J1.6.3/CiviCRM 4.0.1 Error: Smarty_Compiler.class.php on line 270

This forum was archived on 2017-11-26.