1
aamjad2001
Urgent help required please
  • 2008/12/3 9:10

  • aamjad2001

  • Just popping in

  • Posts: 64

  • Since: 2006/6/20


while upgrading from 2.0.18 to latest XOOPS igot this error
Quote:
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: the $compile_dir 'XOOPS_VAR_PATH/caches/smarty_compile' does not exist, or is not a directory. 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 (1253) /class/smarty/Smarty.class.php (1105) /include/site-closed.php (77) /include/common.php (310) /mainfile.php (103) /upgrade/index.php (21)


help me please

2
Mamba
Re: Urgent help required please
  • 2008/12/3 9:16

  • Mamba

  • Moderator

  • Posts: 11548

  • Since: 2004/4/23


You have problems with "writing" access to your

XOOPS_VAR_PATH/caches/smarty_compile

subdirectory. It needs to be set to 777, the same as all other subdirectories under

/xoops_data
Support XOOPS => DONATE
Use 2.7.x | Docs | Modules | Bugs

3
aamjad2001
Re: Urgent help required please
  • 2008/12/5 4:42

  • aamjad2001

  • Just popping in

  • Posts: 64

  • Since: 2006/6/20


No that what i had already done,

the main problem was that my site was turned off. when i switched it on upgrade did painlessly.

when ever i do an upgrade i first copy my site like if it is

http://www.mysite.com/web then i copy the :/web folder and save it somewhere else on on the server then i do upgrades to this actual one and if somthing goes wrong that i replace this with the one i had copied
and everything comes back to its orignal place. in cpanel all this takes merely 1 minute.

4
ghia
Re: Urgent help required please
  • 2008/12/5 10:41

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Don't forget to backup the database, because this can be modified too with an upgrade and make it useless for the former version. (cPanel has an easy function for that too).