Форумы / Cotonti / General / Cotonti update

minoation
#1 01.08.2009 01:25
Just going through a smoothly psinful update again.After setting permissions to my datas/cache to 777 and my datas/cache/template to 777 got this:
Fatal error: Uncaught exception 'Exception' with message 'Your "/templates/" is not writable' in /home/a5290112/public_html/system/xtemplate.php:172 Stack trace: #0 /home/a5290112/public_html/system/xtemplate.php(39): XTemplate->restart('skins/sed-light...') #1 /home/a5290112/public_html/system/header.php(92): XTemplate->__construct('skins/sed-light...') #2 /home/a5290112/public_html/system/core/index/index.inc.php(34): require_once('/home/a5290112/...') #3 /home/a5290112/public_html/index.php(20): require_once('/home/a5290112/...') #4 {main} thrown in /home/a5290112/public_html/system/xtemplate.php on line 172
Any help would be helful.As usually you guy's answers are pretty straight foward.
Awesome!
Kilandor
#2 01.08.2009 01:53
Please don't delete your posts make new topics just to try to get a quicker response.

What FTP program are you using, i've seen alot of cases sometimes where you think you CHMOD but it didn't work. Try hitting F5 in the window to refreshe (most ftp's cache). Also look at the log make sure you don't see something like "Permission denied"
Trustmaster
#3 01.08.2009 02:00
Your config.php is missing $cfg['cache_dir'], please check config-sample.php for example.
May the Source be with you!
minoation
#4 01.08.2009 02:07
Thanks.I'll try that.I'm using FileZilla btw.

Added 21 minutes later:

Amm where do I restart?This the code I put in my config.php file:$cfg['cache_dir'] = '/datas/cache/';
Then I got:Parse error: syntax error, unexpected T_VARIABLE in /home/a5290112/public_html/datas/config.php on line 35.
Awesome!
Отредактировано: minoation (01.08.2009 02:28, 14 лет назад)
Trustmaster
#5 01.08.2009 03:01
Seems like you've put it in some wrong place
May the Source be with you!
minoation
#6 01.08.2009 03:09
Specifically what line do you put it on then?
Awesome!
Trustmaster
#7 01.08.2009 03:12
In config-sample.php you can see it at line 72, so somewhere like this:
// ========================
// Directory paths
// Set it to custom if you want to share
// folders among different hosts.
// ========================
$cfg['av_dir'] = '.datas/avatars/';
$cfg['cache_dir'] = './datas/cache';
$cfg['defav_dir'] = 'datas/defaultav/';
May the Source be with you!
minoation
#8 01.08.2009 03:16
How about I copy over what I need from config-sample into my config.php.Tell me where to start and I will hit my target.
Awesome!
Kilandor
#9 01.08.2009 03:46
Just make a copy and enter any new DB information or things like that into it.
minoation
#10 01.08.2009 04:32
Solved.God Bless you.
Awesome!