登录 注册

登录

问题 JomSocial_v1.1.145 在本地安装成功,在服务器上提示错误。

更多
2009年03月30日 12:49 #1 作者: yt1017
错误提示如下:

        * JInstaller::install: SQL错误。 DB function failed with error number 2006
          MySQL server has gone away SQL=CREATE TABLE IF NOT EXISTS `jos_community_activities` ( `id` int(10) unsigned NOT NULL auto_increment, `actor` int(10) unsigned NOT NULL, `target` int(10) unsigned NOT NULL, `title` text NOT NULL, `content` text NOT NULL, `app` varchar(200) NOT NULL, `cid` int(10) NOT NULL, `created` datetime NOT NULL, `access` tinyint(3) unsigned NOT NULL, `params` text NOT NULL, `points` int(4) NOT NULL default '1', `archived` tinyint(3) NOT NULL, PRIMARY KEY (`id`), KEY `actor` (`actor`), KEY `target` (`target`), KEY `app` (`app`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
          SQL =

          CREATE TABLE IF NOT EXISTS `jos_community_activities` (
            `id` int(10) unsigned NOT NULL auto_increment,
            `actor` int(10) unsigned NOT NULL,
            `target` int(10) unsigned NOT NULL,
            `title` text NOT NULL,
            `content` text NOT NULL,
            `app` varchar(200) NOT NULL,
            `cid` int(10) NOT NULL,
            `created` datetime NOT NULL,
            `access` tinyint(3) unsigned NOT NULL,
            `params` text NOT NULL,
            `points` int(4) NOT NULL default '1',
            `archived` tinyint(3) NOT NULL,
            PRIMARY KEY  (`id`),
            KEY `actor` (`actor`),
            KEY `target` (`target`),
            KEY `app` (`app`)
          ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 ;

        * 组件 安装: SQL出错或丢失或SQL文件不可读 DB function failed with error number 2006
          MySQL server has gone away SQL=CREATE TABLE IF NOT EXISTS `jos_community_activities` ( `id` int(10) unsigned NOT NULL auto_increment, `actor` int(10) unsigned NOT NULL, `target` int(10) unsigned NOT NULL, `title` text NOT NULL, `content` text NOT NULL, `app` varchar(200) NOT NULL, `cid` int(10) NOT NULL, `created` datetime NOT NULL, `access` tinyint(3) unsigned NOT NULL, `params` text NOT NULL, `points` int(4) NOT NULL default '1', `archived` tinyint(3) NOT NULL, PRIMARY KEY (`id`), KEY `actor` (`actor`), KEY `target` (`target`), KEY `app` (`app`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
          SQL =

          CREATE TABLE IF NOT EXISTS `jos_community_activities` (
            `id` int(10) unsigned NOT NULL auto_increment,
            `actor` int(10) unsigned NOT NULL,
            `target` int(10) unsigned NOT NULL,
            `title` text NOT NULL,
            `content` text NOT NULL,
            `app` varchar(200) NOT NULL,
            `cid` int(10) NOT NULL,
            `created` datetime NOT NULL,
            `access` tinyint(3) unsigned NOT NULL,
            `params` text NOT NULL,
            `points` int(4) NOT NULL default '1',
            `archived` tinyint(3) NOT NULL,
            PRIMARY KEY  (`id`),
            KEY `actor` (`actor`),
            KEY `target` (`target`),
            KEY `app` (`app`)
          ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 ;

        * Error Loading ModulesMySQL server has gone away SQL=SELECT id, title, module, position, content, showtitle, control, params FROM jos_modules AS m LEFT JOIN jos_modules_menu AS mm ON mm.moduleid = m.id WHERE m.published = 1 AND m.access <= 2 AND m.client_id = 1 ORDER BY position, ordering

登录 或者   注册一个会员帐号 来参与讨论