|
common utilities installation fail avec xoops 2.5.7 |
|
Régulier
Inscrit: 10/09/2007 11:51
|
Re Voila ça refait comme l'autre fois, quand je veut installer common utilities sur xoops 2.5.7: j'ai parfaitement suivi les instructions (je l'ai déja installé sur xoops 2.5.6 et maria db sans soucis) Cette fois avec mysql, j'ai cette erreur:
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 ' KEY `event` (`event`), KEY `element` (`element`), KEY `uid` (`uid`) ) ENG' at line 9
le fichier sql de mcommon:
CREATE TABLE `mod_rmcommon_blocks` (
`bid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`element` varchar(50) NOT NULL,
`element_type` varchar(20) NOT NULL,
`options` text NOT NULL,
`name` varchar(150) NOT NULL DEFAULT '',
`description` varchar(255) NOT NULL,
`canvas` smallint(5) unsigned NOT NULL DEFAULT '0',
`weight` smallint(5) unsigned NOT NULL DEFAULT '0',
`visible` tinyint(1) unsigned NOT NULL DEFAULT '0',
`type` varchar(6) NOT NULL,
`content_type` varchar(20) NOT NULL,
`content` text NOT NULL,
`isactive` tinyint(1) unsigned NOT NULL DEFAULT '0',
`dirname` varchar(50) NOT NULL DEFAULT '',
`file` varchar(150) NOT NULL,
`show_func` varchar(50) NOT NULL DEFAULT '',
`edit_func` varchar(50) NOT NULL DEFAULT '',
`template` varchar(150) NOT NULL,
`bcachetime` int(10) NOT NULL,
PRIMARY KEY (`bid`),
KEY `element` (`element`),
KEY `visible` (`visible`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `mod_rmcommon_blocks_assignations` (
`bid` int(11) NOT NULL,
`mid` int(11) NOT NULL,
`page` varchar(50) NOT NULL,
KEY `bid` (`bid`,`mid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `mod_rmcommon_blocks_positions` (
`id_position` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(150) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
`tag` varchar(150) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
`active` tinyint(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`id_position`),
UNIQUE KEY `tag` (`tag`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `mod_rmcommon_comments` (
`id_com` bigint(20) NOT NULL AUTO_INCREMENT,
`id_obj` varchar(50) NOT NULL,
`type` varchar(50) NOT NULL DEFAULT 'module',
`parent` bigint(20) NOT NULL DEFAULT '0',
`params` varchar(200) NOT NULL,
`content` text NOT NULL,
`user` int(11) NOT NULL,
`ip` varchar(40) NOT NULL,
`posted` int(10) NOT NULL DEFAULT '0',
`status` varchar(10) NOT NULL DEFAULT 'waiting',
PRIMARY KEY (`id_com`),
KEY `id_obj` (`id_obj`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `mod_rmcommon_comments_assignations` (
`id_user` int(11) NOT NULL AUTO_INCREMENT,
`xuid` int(11) NOT NULL DEFAULT '0',
`name` varchar(150) NOT NULL,
`email` varchar(150) NOT NULL,
`url` varchar(150) NOT NULL,
PRIMARY KEY (`id_user`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `mod_rmcommon_images` (
`id_img` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(100) NOT NULL,
`desc` text NOT NULL,
`date` int(10) NOT NULL,
`file` varchar(150) NOT NULL,
`cat` int(11) NOT NULL,
`uid` int(11) NOT NULL,
PRIMARY KEY (`id_img`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `mod_rmcommon_images_categories` (
`id_cat` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL,
`status` varchar(10) NOT NULL DEFAULT 'active',
`groups` text NOT NULL,
`filesize` int(11) NOT NULL DEFAULT '0',
`sizeunit` mediumint(9) NOT NULL DEFAULT '1024',
`sizes` text NOT NULL,
PRIMARY KEY (`id_cat`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `mod_rmcommon_permissions` (
`group` int(11) NOT NULL,
`element` varchar(50) NOT NULL,
`key` varchar(50) NOT NULL,
KEY `group` (`group`,`element`,`key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `mod_rmcommon_plugins` (
`id_plugin` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(150) NOT NULL,
`description` text NOT NULL,
`dir` varchar(100) NOT NULL,
`version` text NOT NULL,
`status` tinyint(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`id_plugin`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `mod_rmcommon_settings` (
`conf_id` int(11) NOT NULL AUTO_INCREMENT,
`element` varchar(50) NOT NULL,
`name` varchar(50) NOT NULL,
`type` varchar(20) NOT NULL,
`value` text NOT NULL,
`valuetype` varchar(20) NOT NULL,
PRIMARY KEY (`conf_id`),
KEY `element` (`element`,`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `mod_rmcommon_notifications` (
`id_notification` int(11) NOT NULL AUTO_INCREMENT,
`event` varchar(50) NOT NULL,
`element` varchar(50) NOT NULL,
`params` varchar(50) NOT NULL,
`uid` int(11) NOT NULL,
`type` varchar(10) NOT NULL DEFAULT 'module',
`date` datetime NOT NULL,
PRIMARY KEY `id_notification`,
KEY `event` (`event`),
KEY `element` (`element`),
KEY `uid` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Je comprend rien , y'a pas de key a la ligne 9. c'est quoi le soucis? (y'a tout le temps un truc qui fait chier sans dec) Ma config: Version de XOOPS XOOPS 2.5.7 Version de PHP 5.3.3 Version de MySQL 5.1.73 php va être passé à 5.4.4 mais c'est pas le soucis içi: ### Requirements * PHP >= 5.3 * XOOPS >= 2.5 installed and running
Posté le : 25/05/2015 16:01
|
|
|
Re: common utilities installation fail avec xoops 2.5.7 |
|
Régulier
Inscrit: 10/09/2007 11:51
|
J'ai enlevé tout les ` Maintenant j'ai ça:
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 'desc text NOT NULL, date int(10) NOT NULL, file varchar(150) NOT NULL, cat' at line 4
J'ai ,essayé avec MyIsam marche pas non plus. Bon ça suffit, ce xoops 2.5.7 c'est de la daube, à chaque fois que j'essaye de passer de la 2.5.6 à 2.5.7 y'a plus rien qui marche. Donc allez encore une fois retour à 2.5.6
Posté le : 25/05/2015 16:20
|
|
|
Re: common utilities installation fail avec xoops 2.5.7 |
|
Régulier
Inscrit: 10/09/2007 11:51
|
Je vais tout mettre à jour, je verrais si ça change quelques chose.
Y'a pas, ça marche bien avec maria db 5.5 et libmysql 5.1.66 et xoops 2.5.6
Posté le : 25/05/2015 17:21
|
|
|
Re: common utilities installation fail avec xoops 2.5.7 |
|
Régulier
Inscrit: 10/09/2007 11:51
|
J'ai tout mis à jour avec les dernières versions: Version de XOOPS XOOPS 2.5.7.1 Version de PHP 5.4.41 Version de MySQL 5.5.43-cll-lve et devinez quoi? Ben que dalle de mieux tjrs la même musique:
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 ' KEY `event` (`event`), KEY `element` (`element`), KEY `uid` (`uid`) ) ENG' at line 9
magnifique progrès Quand je compare les tables de xoopstube et mcommon, y'a pas de différence si ce n'est que xoopstube installe les tables avec ou sans cote sans erreur et mcommon lui donne une erreur avec ou sans cote. Allez y comprendre quelques chose. les 2 tables xoopstube (avec et sans cote ça marche)
#
# Table structure for table 'xoopstube_cat'
#
CREATE TABLE `xoopstube_cat` (
cid int(5) unsigned NOT NULL auto_increment,
pid int(5) unsigned NOT NULL default '0',
title varchar(50) NOT NULL default '',
imgurl varchar(150) NOT NULL default '',
description varchar(255) NOT NULL default '',
total int(11) NOT NULL default '0',
spotlighttop int(11) NOT NULL default '0',
spotlighthis int(11) NOT NULL default '0',
nohtml int(1) NOT NULL default '0',
nosmiley int(1) NOT NULL default '0',
noxcodes int(1) NOT NULL default '0',
noimages int(1) NOT NULL default '0',
nobreak int(1) NOT NULL default '1',
weight int(11) NOT NULL default '0',
client_id int(5) NOT NULL default '0',
banner_id int(5) NOT NULL default '0',
PRIMARY KEY (cid),
KEY pid (pid)
) ENGINE=MyISAM COMMENT='XoopsTube by McDonald' AUTO_INCREMENT=1 ;
#
# Table structure for table 'xoopstube_indexpage'
#
CREATE TABLE `xoopstube_indexpage` (
`indeximage` varchar(255) NOT NULL default 'blank.gif',
`indexheading` varchar(255) NOT NULL default 'XoopsTube',
`indexheader` text NOT NULL,
`indexfooter` text NOT NULL,
`nohtml` tinyint(8) NOT NULL default '1',
`nosmiley` tinyint(8) NOT NULL default '1',
`noxcodes` tinyint(8) NOT NULL default '1',
`noimages` tinyint(8) NOT NULL default '1',
`nobreak` tinyint(4) NOT NULL default '0',
`indexheaderalign` varchar(25) NOT NULL default 'left',
`indexfooteralign` varchar(25) NOT NULL default 'center',
lastvideosyn tinyint(1) NOT NULL default '0',
lastvideostotal varchar(5) NOT NULL default '5',
FULLTEXT KEY `indexheading` (`indexheading`),
FULLTEXT KEY `indexheader` (`indexheader`),
FULLTEXT KEY `indexfooter` (`indexfooter`)
) ENGINE=MyISAM COMMENT='XoopsTube by McDonald' ;
et un exemple de table mcomon:(essayé les deux type avec et sans cote erreur de syntaxe)
CREATE TABLE `mod_rmcommon_blocks` (
`bid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`element` varchar(50) NOT NULL,
`element_type` varchar(20) NOT NULL,
`options` text NOT NULL,
`name` varchar(150) NOT NULL DEFAULT '',
`description` varchar(255) NOT NULL,
`canvas` smallint(5) unsigned NOT NULL DEFAULT '0',
`weight` smallint(5) unsigned NOT NULL DEFAULT '0',
`visible` tinyint(1) unsigned NOT NULL DEFAULT '0',
`type` varchar(6) NOT NULL,
`content_type` varchar(20) NOT NULL,
`content` text NOT NULL,
`isactive` tinyint(1) unsigned NOT NULL DEFAULT '0',
`dirname` varchar(50) NOT NULL DEFAULT '',
`file` varchar(150) NOT NULL,
`show_func` varchar(50) NOT NULL DEFAULT '',
`edit_func` varchar(50) NOT NULL DEFAULT '',
`template` varchar(150) NOT NULL,
`bcachetime` int(10) NOT NULL,
PRIMARY KEY (`bid`),
KEY `element` (`element`),
KEY `visible` (`visible`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
A part le engine et default en minuscule dans l'un et majuscule dans l'autre, je vois pas de différences et j'ai aussi essayé MyIsam qui marche pas non plus Et j'ai vérifié c'est bien inodb sur mysql. ???????????????????????????
Posté le : 25/05/2015 17:39
|
|
|
Re: common utilities installation fail avec xoops 2.5.7 |
|
Régulier
Inscrit: 10/09/2007 11:51
|
J'ai finalement réussi à l'installer en prenant la version 2.2.7.5 sur xoops english
Posté le : 25/05/2015 18:13
|
|
|
Re: common utilities installation fail avec xoops 2.5.7 |
|
Admin Frxoops
Inscrit: 05/03/2005 05:20
De Vaucluse
|
Salut seboseboss,
CREATE TABLE `mod_rmcommon_blocks` (
`bid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`element` varchar(50) NOT NULL,
`element_type` varchar(20) NOT NULL,
`options` text NOT NULL,
`name` varchar(150) NOT NULL DEFAULT '',
`description` varchar(255) NOT NULL,
`canvas` smallint(5) unsigned NOT NULL DEFAULT '0',
`weight` smallint(5) unsigned NOT NULL DEFAULT '0',
`visible` tinyint(1) unsigned NOT NULL DEFAULT '0',
`type` varchar(6) NOT NULL,
`content_type` varchar(20) NOT NULL,
`content` text NOT NULL,
`isactive` tinyint(1) unsigned NOT NULL DEFAULT '0',
`dirname` varchar(50) NOT NULL DEFAULT '',
`file` varchar(150) NOT NULL,
`show_func` varchar(50) NOT NULL DEFAULT '',
`edit_func` varchar(50) NOT NULL DEFAULT '',
`template` varchar(150) NOT NULL,
`bcachetime` int(10) NOT NULL,
PRIMARY KEY (`bid`),
KEY `element` (`element`),
KEY `visible` (`visible`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Je viens de la tester (en l'exécutant directement) et elle marche très bien chez moi Tu la lance comment et par quoi cette requête ?
Posté le : 25/05/2015 18:13
|
Xoops 2.5.7.2 - Debian 8.2 - Apache 2.4.10 - MySQL 5.5.47 - Php 5.6.17
|
|
Re: common utilities installation fail avec xoops 2.5.7 |
|
Régulier
Inscrit: 10/09/2007 11:51
|
je sais pas je pige pas non plus mais j'avais la version 2.2.82 et elle passe pas.
Et c'est vrai qu'en y repensant, la version que j'avais déja installé sans le moindre soucis était cette version prise sur xoops.org. Bon ça s'arrange, j'ai finalement réussi c'est le principale.
Posté le : 25/05/2015 18:15
|
|
|
Re: common utilities installation fail avec xoops 2.5.7 |
|
Admin Frxoops
Inscrit: 05/03/2005 05:20
De Vaucluse
|
Tu la lance comment et par quoi cette requête ?
Posté le : 25/05/2015 18:16
|
Xoops 2.5.7.2 - Debian 8.2 - Apache 2.4.10 - MySQL 5.5.47 - Php 5.6.17
|
|
Re: common utilities installation fail avec xoops 2.5.7 |
|
Régulier
Inscrit: 10/09/2007 11:51
|
dans l'admin de xoops comme n'importe quel installation de modules.
c'est en lançant l'install du modules que j'avais cette erreur cette table était juste un exemple
Posté le : 25/05/2015 18:19
|
|
|
Re: common utilities installation fail avec xoops 2.5.7 |
|
Admin Frxoops
Inscrit: 05/03/2005 05:20
De Vaucluse
|
Essaie d'enlever DEFAULT CHARSET=utf8 à la fin.
Posté le : 25/05/2015 18:22
|
Xoops 2.5.7.2 - Debian 8.2 - Apache 2.4.10 - MySQL 5.5.47 - Php 5.6.17
|
Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.
|