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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • CiviCRM/Joomla Error: Smarty Error Writing Temporary File
Pages: [1]

Author Topic: CiviCRM/Joomla Error: Smarty Error Writing Temporary File  (Read 3512 times)

tanderegg

  • Guest
CiviCRM/Joomla Error: Smarty Error Writing Temporary File
April 26, 2010, 12:47:37 pm
Hello all, I'm new to civicrm and joomla (and php for that matter), but I'm familiar with other programming languages and web frameworks.  This problem has been quite vexing so far, and google has not turned up much.

Basically, I have Joomla and Civicrm properly installed (after a bit of tweaking), on a hosted Windows server that I have somewhat limited control over.  When I try to manage Civicrm from the Admin interface, or if I try to get to the civicrm dashboard from the front-end, I get the following error:

PHP Warning: Smarty error: problem writing temporary file 'D:\webs\midso50009\joomla_1.5.15\media\civicrm\templates_c\en_US\en_US\\%%39\397\wrt4bd5e89089b41' in D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php on line 1093 PHP Warning: include(D:\webs\midso50009\joomla_1.5.15\media\civicrm\templates_c\en_US\en_US\\%%39\397\39732F46%%jquery.tpl.php) [function.include]: failed to open stream: No such file or directory in D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php on line 1263 PHP Warning: include() [function.include]: Failed opening 'D:\webs\midso50009\joomla_1.5.15\media\civicrm\templates_c\en_US\en_US\\%%39\397\39732F46%%jquery.tpl.php' for inclusion (include_path='.;D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm;D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm\packages;.;C:\php5\pear') in D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php on line 1263 PHP Warning: Smarty error: problem writing temporary file 'D:\webs\midso50009\joomla_1.5.15\media\civicrm\templates_c\en_US\en_US\\%%25\252\wrt4bd5e8909b89a' in D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php on line 1093 PHP Warning: include(D:\webs\midso50009\joomla_1.5.15\media\civicrm\templates_c\en_US\en_US\\%%25\252\25278E7B%%action.tpl.php) [function.include]: failed to open stream: No such file or directory in D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php on line 1263 PHP Warning: include() [function.include]: Failed opening 'D:\webs\midso50009\joomla_1.5.15\media\civicrm\templates_c\en_US\en_US\\%%25\252\25278E7B%%action.tpl.php' for inclusion (include_path='.;D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm;D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm\packages;.;C:\php5\pear') in D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php on line 1263 PHP Notice: Undefined index: REQUEST_URI in D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm\CRM\Core\IDS.php on line 72 PHP Warning: Smarty error: problem writing temporary file 'D:\webs\midso50009\joomla_1.5.15\media\civicrm\templates_c\en_US\en_US\\%%EA\EAA\wrt4bd5e8a792650' in D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php on line 1093 PHP Warning: include(D:\webs\midso50009\joomla_1.5.15\media\civicrm\templates_c\en_US\en_US\\%%EA\EAA\EAA96A89%%joomla.tpl.php) [function.include]: failed to open stream: No such file or directory in D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php on line 1263 PHP Warning: include() [function.include]: Failed opening 'D:\webs\midso50009\joomla_1.5.15\media\civicrm\templates_c\en_US\en_US\\%%EA\EAA\EAA96A89%%joomla.tpl.php' for inclusion (include_path='.;D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm;D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm\packages;.;C:\php5\pear') in D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm\packages\Smarty\Smarty.class.php on line 1263

I had assumed this was some sort of write permissions error, but the hosting service does have the ability to set permissions for particular directories, so I added \media\civicrm\templates_c\ to the list with full read/write/execute permissions.  Didn't fix the problem though.  And, when I browsed to the directory in question, there was a directory called \en_US\ConfigAndLog which contained the log file, CiviCRM.[long hex number].log, which had the following error:

Apr 26 15:10:42  [info] $Fatal Error Details = Array
(
    [message] => You must be logged in to view this page.
    (should be in brackets but messes up with the forum)code] =>
)

Apr 26 15:10:42  [info] $backTrace = D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm\CRM\Core\Error.php, backtrace, 264
D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm\CRM\Contact\Page\View\UserDashBoard.php, fatal, 104
D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm\CRM\Contact\Page\View\UserDashBoard.php, preProcess, 201
D:\webs\midso50009\joomla_1.5.15\administrator\components\com_civicrm\civicrm\CRM\Core\Invoke.php, run, 210
D:\webs\midso50009\joomla_1.5.15\components\com_civicrm\civicrm.php, invoke, 81
D:\webs\midso50009\joomla_1.5.15\components\com_civicrm\civicrm.php, civicrm_invoke, 24
D:\webs\midso50009\joomla_1.5.15\libraries\joomla\application\component\helper.php, require_once, 162
D:\webs\midso50009\joomla_1.5.15\includes\application.php, renderComponent, 124
D:\webs\midso50009\joomla_1.5.15\index.php, dispatch, 68

However, I'm logged in both as a user on the front end, and as the superadmin on the backend, so that doesn't make sense to me.

Any suggestions?

Thanks!

tanderegg

  • Guest
Re: CiviCRM/Joomla Error: Smarty Error Writing Temporary File
April 26, 2010, 02:15:32 pm
Any ideas out there?

Thanks!

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: CiviCRM/Joomla Error: Smarty Error Writing Temporary File
April 26, 2010, 03:40:56 pm

unfortunately most of us are on *nix platforms, which makes it a wee bit hard for us to respond to windows related issues

sorry

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

tanderegg

  • Guest
Re: CiviCRM/Joomla Error: Smarty Error Writing Temporary File
April 30, 2010, 01:22:43 pm
Yeah, I may just have to convince the client to ditch their host and move to a linux host, but they may not be happy about that, so any insight would be helpful!

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: CiviCRM/Joomla Error: Smarty Error Writing Temporary File
May 02, 2010, 07:39:46 am
Check with your host perhaps, and also confirm that you have write access to sub-directories within the cache (and other) directory.

That or get a Linux host. ;)
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • CiviCRM/Joomla Error: Smarty Error Writing Temporary File

This forum was archived on 2017-11-26.