CREATE TABLE IF NOT EXISTS cdb_oufennews (
`page` varchar(17) NOT NULL,
`title` varchar(80) NOT NULL,
`type` int(1) unsigned NOT NULL,
`content` text NOT NULL,
PRIMARY KEY (`page`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk;
升级错误,MySQL 提示: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=gbk' at line 1 ,请返回。
A:你的MySQL版太低(4.1以下),请执行以下语句:
CREATE TABLE IF NOT EXISTS cdb_oufennews (
`page` varchar(17) NOT NULL,
`title` varchar(80) NOT NULL,
`type` int(1) unsigned NOT NULL,
`content` text NOT NULL,
PRIMARY KEY (`page`)
) TYPE=MyISAM;
Q:
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in ...
A:你的虚拟主机商屏蔽了file_get_contents函数,请联系服务器管理员。
Q:
Warning: file_get_contents(http://...) [function.file-get-contents]: failed to open stream: HTTP request failed!