http://sskaje.spaces.live.com/blog/cns!CD0E835D6C568521!1347.entry
January 01, 2009
Fatal error: Call to undefined function _smarty_tplfunc_d7b98222edd24b4c42c830151342bfe2_0() in G:\wwwroot\vhosts\Newborn\include\class\externals\smarty\libs\Smarty.class.php on line 1828
出错在缓存开启的时候
只要把编译的模板和缓存都清掉就行了
Showing posts with label 错误. Show all posts
Showing posts with label 错误. Show all posts
Thursday, February 19, 2009
[搬移] mysql error when using symlink to share databases
搬移自 http://sskaje.spaces.live.com/blog/cns!CD0E835D6C568521!1349.entry
January 07, 2009
working under ubuntu.
just wanna make mysql databases created under m$win can be used.
1st, fstab, just to mount the partition automatically
2nd, symlink, #/var/lib/mysql, do 'ln -s /media/App/Server/MySQL/MySQL\ Server\ 5.1/data/forum forum'
3rd, restart mysql.
vbb reports a fatal error; when using mysql client, show tables would report an error like '
mysql> show tables;
ERROR 1018 (HY000): Can't read dir of './forum/' (errno: 13)
'
why ?
iv already chown mysql\: to that directory.
er...
apparmor...
check the /etc/apparmor.d/usr.sbin.mysqld, add some lines to make that directory readable/writable to mysqld.
January 07, 2009
working under ubuntu.
just wanna make mysql databases created under m$win can be used.
1st, fstab, just to mount the partition automatically
2nd, symlink, #/var/lib/mysql, do 'ln -s /media/App/Server/MySQL/MySQL\ Server\ 5.1/data/forum forum'
3rd, restart mysql.
vbb reports a fatal error; when using mysql client, show tables would report an error like '
mysql> show tables;
ERROR 1018 (HY000): Can't read dir of './forum/' (errno: 13)
'
why ?
iv already chown mysql\: to that directory.
er...
apparmor...
check the /etc/apparmor.d/usr.sbin.mysqld, add some lines to make that directory readable/writable to mysqld.
Subscribe to:
Posts (Atom)