idex.php error msg.
barkerb23 |
|
---|---|
hello. i am trying to install cotonti on my website.. but when i put all the files in the server, i get an error message that says..
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/a3604698/public_html/system/database.mysql.php on line 96and on line 96 it has: return is_null($conn) ? mysql_error($sed_dbc) : mysql_error($conn);and i put all the correct info in the config.php and it says: 2011-01-15 22:03 Fatal error : Could not connect to database ! Please check your settings in the file datas/config.php MySQL error : view it HERE all help is appreciated as well as comments ![]() |
esclkm |
|
---|---|
Do you install sql file&?
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты |
barkerb23 |
|
---|---|
INSTALL sql file? u mean make a database? idk what u mean. what sql file?
Added 3 minutes later: look here www.pspcextreme.hostzi.com |
esclkm |
|
---|---|
look this
http://www.cotonti.com/docs/en/admin/install_guide?highlight=INSTALL or for lazy http://www.cotonti.com/news/community/video_tutorials?highlight=INSTALL littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты |
barkerb23 |
|
---|---|
okay. i found out what i did wrong
![]() Fatal error: Uncaught exception 'Exception' with message 'Your "./datas/cache/templates/" is not writable' in /home/a3604698/public_html/system/xtemplate.php:184 Stack trace: #0 /home/a3604698/public_html/system/xtemplate.php(39): XTemplate->restart('skins/sed-light...') #1 /home/a3604698/public_html/system/header.php(92): XTemplate->__construct('skins/sed-light...') #2 /home/a3604698/public_html/system/core/index/index.inc.php(34): require_once('/home/a3604698/...') #3 /home/a3604698/public_html/index.php(20): require_once('/home/a3604698/...') #4 {main} thrown in /home/a3604698/public_html/system/xtemplate.php on line 184 and other people said they got this error also here http://www.cotonti.com/docs/en/admin/install_guide?highlight=error HELP!!!!!! Added 36 minutes later: SOLVED SOLVED SOLVED SOLVED SOLVED!!!!! |
|
Отредактировано: barkerb23 (16.01.2011 08:32, 14 лет назад) |
gari46 |
|
---|---|
datas/config.php $cfg['xtpl_cache'] = TRUE; replaced by $cfg['xtpl_cache'] = FALSE; |
Xerora |
|
---|---|
You can do either what gari46 said or create the folder path datas/cache/templates and chmod it to 755. This error is because the folder ./datas/cache/templates is missing. I'm assuming this is because these downloads are packaged directly from git and .gitignore is excluding it. |
GHengeveld |
|
---|---|
The folder is missing because git (and some other version control systems) leave out empty directories when you export (download) the repository completely, so it's not .gitignore that's causing it. |