1
weilian
Please help! Error message after Installation. "unable to write to $cache_dir"
  • 2009/3/19 5:18

  • weilian

  • Just popping in

  • Posts: 15

  • Since: 2009/1/31


This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

Error: Smarty error: unable to write to $cache_dir '/home/xxxxxx/htdocs/php/xoops_data/caches/smarty_cache'. Be sure $cache_dir is writable by the web server user.


Does anyone know why it said "unable to write to $cache_dir" ?
The files is writable in the web server.


2
aixos
Re: Please help! Error message after Installation. "unable to write to $cache_dir"
  • 2009/4/9 15:50

  • aixos

  • Just popping in

  • Posts: 79

  • Since: 2004/12/31


umm XOOPS 2.3.3

Error: Smarty error: unable to write to $cache_dir

This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site to help them solve the problem:

Error: Smarty error: unable to write to $cache_dir '/var/www/virtual/xoops.com./htdocs/xoops233/xoops_data/caches/smarty_cache'. Be sure $cache_dir is writable by the web server user.
Backtrace:
/class/smarty/Smarty.class.php (1092)
/class/smarty/internals/core.write_cache_file.php (81)
/class/smarty/Smarty.class.php (1278)
/class/theme.php (366)
/footer.php (75)
/index.php (79)

DEBUG
Error: Smarty error: unable to write to $cache_dir '/xoops_data/caches/smarty_cache'. Be sure $cache_dir is writable by the web server user. in file /class/smarty/Smarty.class.php line 1092

3
ghia
Re: Please help! Error message after Installation. "unable to write to $cache_dir"
  • 2009/4/9 16:16

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Check that the path exists and that the xoops_data and its subfolders are all set to have write permissions (chmod 777) (see release notes).

NB: Installing xoops_data and xoops_lib inside the web root is unsecure.

4
aixos
Re: Please help! Error message after Installation. "unable to write to $cache_dir"
  • 2009/4/9 19:11

  • aixos

  • Just popping in

  • Posts: 79

  • Since: 2004/12/31


ghia , thanks I look , xoops_data and its subfolders are all set to have write permissions (chmod 777)

Now, works very well

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits