1
Hasanibrahim
Smarty error: the $compile_dir '/var/ and other interesting error

When i enter new XOOPS site,i am getting this error:

This page cannot be displayed due to an internal error.

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

Error: Smarty error: the $compile_dir '/var/www/vhosts/DOMAINNAME/private/xoops_data/caches/smarty_compile' does not exist, or is not a directory


and also, when i enter admin area, (domain/admin.php)

/var/www/vhosts/DomainName/private/xoops_data/caches/xoops_cache is now writable, change it to 444 in unix mode.

What's the matter ? I changed 444 but when i enter main site (domainame.com) i am getting that error. how can i fix this ?

2
Hasanibrahim
Re: Smarty error: the $compile_dir '/var/ and other interesting error

i saw an error list under this error message: (it was written with white font so hard to see it )
This is list:

Backtrace:
/class/smarty/Smarty.class.php (1092)
/class/smarty/internals/core.write_compiled_resource.php (20)
/class/smarty/Smarty.class.php (1430)
/class/smarty/Smarty.class.php (1260)
/class/theme_blocks.php (144)
/class/theme_blocks.php (97)
/class/theme_blocks.php (38)
/class/theme.php (250)
/class/theme.php (75)
/header.php (66)
/index.php (78)

3
Catzwolf
Re: Smarty error: the $compile_dir '/var/ and other interesting error
  • 2009/4/1 1:22

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Change the directory to 0755 or 0777 as see if that helps you.

4
Anonymous
Re: Smarty error: the $compile_dir '/var/ and other interesting error
  • 2009/4/1 8:19

  • Anonymous

  • Posts: 0

  • Since:


Quote:
Catzwolf wrote:

Change the directory to 0755 or 0777 as see if that helps you.


Yep - Catz is right (as usual!).

You need to change the CHMOD settings on all the folders and subfolders in your xoops_data folder so that they are writeable. Try 0755 first and if that doesn't work then try 0777.

5
Hasanibrahim
Re: Smarty error: the $compile_dir '/var/ and other interesting error

i changed them to 0777 before i post here. and tried a lot of time with changing chmods to solve this problem. After i couldn't solve, i deleted XOOPS and now trying to install a new one :) Now i won't change xoops_lib and xoops_data. if this bug solves i will try to change from XOOPS root path :)

Thank you for help

Login

Who's Online

184 user(s) are online (99 user(s) are browsing Support Forums)


Members: 0


Guests: 184


more...

Donat-O-Meter

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

Latest GitHub Commits