Đăng ký học joomla

Tin tức mới nhất

Thống kê truy cập

Truy cập trong ngày:279
Truy cập hôm qua:339
Tổng số truy cập:539299
Đang online: 7 Khách 

Khi cài đặt joomla, đôi khi chúng ta hay gặp phải lỗi do không tương thích với server, hoặc server bản cũ chưa được update.

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 'TYPE=MyISAM CHARACTER SET `utf8`' at line 29 SQL=CREATE TABLE
`jos_banner` ( `bid` int(11) NOT NULL auto_increment, `cid` int(11)
NOT NULL default '0', `type` varchar(30) NOT NULL default 'banner',
`name` varchar(255) NOT NULL default '', `alias` varchar(255) NOT NULL
default '', `imptotal` int(11) NOT NULL default '0', `impmade` int(11)
NOT NULL default '0', `clicks` int(11) NOT NULL default '0',
`imageurl` varchar(100) NOT NULL default '', `clickurl` varchar(200)
NOT NULL default '', `date` datetime default NULL, `showBanner`
tinyint(1) NOT NULL default '0', `checked_out` tinyint(1) NOT NULL
default '0', `checked_out_time` datetime NOT NULL default '0000-00-00
00:00:00', `editor` varchar(50) default NULL, `custombannercode` text,
`catid` INTEGER UNSIGNED NOT NULL DEFAULT 0, `description` TEXT NOT
NULL DEFAULT '', `sticky` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0,
`ordering` INTEGER NOT NULL DEFAULT 0, `publish_up` datetime NOT NULL
default '0000-00-00 00:00:00', `publish_down` datetime NOT NULL
default '0000-00-00 00:00:00', `tags` TEXT NOT NULL DEFAULT '',
`params` TEXT NOT NULL DEFAULT '', PRIMARY KEY (`bid`), KEY
`viewbanner` (`showBanner`), INDEX `idx_banner_catid`(`catid`) )
TYPE=MyISAM CHARACTER SET `utf8`

 

Để khắc phục lỗi này, ở thư mục chứa web, chúng ta lần lượt mở folder như sau: installation\sql\mysql.

Tìm và mở file joomla.sql.

Ở tất cả các cụm từ: type=MyISAM CHARACTER SET `utf8` trong các câu lệnh sql, bạn thay từ 'type' bằng 'ENGINE'. rồi save lại là Ok.

 

Add comment


Security code
Refresh

thiet ke web chuan w3c

Dịch vụ seo website

seo website