Fork me on GitHub




(1) 2 »


common utilities installation fail avec xoops 2.5.7
Régulier
Inscrit: 10/09/2007 11:51
Messages: 476
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 syntaxcheck 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` (
  `
bidmediumint(8unsigned NOT NULL AUTO_INCREMENT,
  `
elementvarchar(50NOT NULL,
  `
element_typevarchar(20NOT NULL,
  `
optionstext NOT NULL,
  `
namevarchar(150NOT NULL DEFAULT '',
  `
descriptionvarchar(255NOT NULL,
  `
canvassmallint(5unsigned NOT NULL DEFAULT '0',
  `
weightsmallint(5unsigned NOT NULL DEFAULT '0',
  `
visibletinyint(1unsigned NOT NULL DEFAULT '0',
  `
typevarchar(6NOT NULL,
  `
content_typevarchar(20NOT NULL,
  `
contenttext NOT NULL,
  `
isactivetinyint(1unsigned NOT NULL DEFAULT '0',
  `
dirnamevarchar(50NOT NULL DEFAULT '',
  `
filevarchar(150NOT NULL,
  `
show_funcvarchar(50NOT NULL DEFAULT '',
  `
edit_funcvarchar(50NOT NULL DEFAULT '',
  `
templatevarchar(150NOT NULL,
  `
bcachetimeint(10NOT NULL,
  
PRIMARY KEY (`bid`),
  
KEY `element` (`element`),
  
KEY `visible` (`visible`)
ENGINE=InnoDB  DEFAULT CHARSET=utf8;

CREATE TABLE `mod_rmcommon_blocks_assignations` (
  `
bidint(11NOT NULL,
  `
midint(11NOT NULL,
  `
pagevarchar(50NOT NULL,
  
KEY `bid` (`bid`,`mid`)
ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE `mod_rmcommon_blocks_positions` (
  `
id_positionint(11NOT NULL AUTO_INCREMENT,
  `
namevarchar(150CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
  `
tagvarchar(150CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL,
  `
activetinyint(1NOT NULL DEFAULT '1',
  
PRIMARY KEY (`id_position`),
  
UNIQUE KEY `tag` (`tag`)
ENGINE=InnoDB  DEFAULT CHARSET=utf8;

CREATE TABLE `mod_rmcommon_comments` (
  `
id_combigint(20NOT NULL AUTO_INCREMENT,
  `
id_objvarchar(50NOT NULL,
  `
typevarchar(50NOT NULL DEFAULT 'module',
  `
parentbigint(20NOT NULL DEFAULT '0',
  `
paramsvarchar(200NOT NULL,
  `
contenttext NOT NULL,
  `
userint(11NOT NULL,
  `
ipvarchar(40NOT NULL,
  `
postedint(10NOT NULL DEFAULT '0',
  `
statusvarchar(10NOT 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_userint(11NOT NULL AUTO_INCREMENT,
  `
xuidint(11NOT NULL DEFAULT '0',
  `
namevarchar(150NOT NULL,
  `
emailvarchar(150NOT NULL,
  `
urlvarchar(150NOT NULL,
  
PRIMARY KEY (`id_user`)
ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE `mod_rmcommon_images` (
  `
id_imgint(11NOT NULL AUTO_INCREMENT,
  `
titlevarchar(100NOT NULL,
  `
desctext NOT NULL,
  `
dateint(10NOT NULL,
  `
filevarchar(150NOT NULL,
  `
catint(11NOT NULL,
  `
uidint(11NOT NULL,
  
PRIMARY KEY (`id_img`)
ENGINE=InnoDB  DEFAULT CHARSET=utf8;

CREATE TABLE `mod_rmcommon_images_categories` (
  `
id_catint(11NOT NULL AUTO_INCREMENT,
  `
namevarchar(100NOT NULL,
  `
statusvarchar(10NOT NULL DEFAULT 'active',
  `
groupstext NOT NULL,
  `
filesizeint(11NOT NULL DEFAULT '0',
  `
sizeunitmediumint(9NOT NULL DEFAULT '1024',
  `
sizestext NOT NULL,
  
PRIMARY KEY (`id_cat`)
ENGINE=InnoDB  DEFAULT CHARSET=utf8;

CREATE TABLE `mod_rmcommon_permissions` (
  `
groupint(11NOT NULL,
  `
elementvarchar(50NOT NULL,
  `
keyvarchar(50NOT NULL,
  
KEY `group` (`group`,`element`,`key`)
ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE `mod_rmcommon_plugins` (
  `
id_pluginint(11NOT NULL AUTO_INCREMENT,
  `
namevarchar(150NOT NULL,
  `
descriptiontext NOT NULL,
  `
dirvarchar(100NOT NULL,
  `
versiontext NOT NULL,
  `
statustinyint(1NOT NULL DEFAULT '1',
  
PRIMARY KEY (`id_plugin`)
ENGINE=InnoDB  DEFAULT CHARSET=utf8;

CREATE TABLE `mod_rmcommon_settings` (
  `
conf_idint(11NOT NULL AUTO_INCREMENT,
  `
elementvarchar(50NOT NULL,
  `
namevarchar(50NOT NULL,
  `
typevarchar(20NOT NULL,
  `
valuetext NOT NULL,
  `
valuetypevarchar(20NOT NULL,
  
PRIMARY KEY (`conf_id`),
  
KEY `element` (`element`,`name`)
ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE `mod_rmcommon_notifications` (
  `
id_notificationint(11NOT NULL AUTO_INCREMENT,
  `
eventvarchar(50NOT NULL,
  `
elementvarchar(50NOT NULL,
  `
paramsvarchar(50NOT NULL,
  `
uidint(11NOT NULL,
  `
typevarchar(10NOT NULL DEFAULT 'module',
  `
datedatetime 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
Partager Twitter Partagez cette article sur GG+
Re: common utilities installation fail avec xoops 2.5.7
Régulier
Inscrit: 10/09/2007 11:51
Messages: 476
J'ai enlevé tout les `

Maintenant j'ai ça:

You have an error in your SQL syntaxcheck 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
Partager Twitter Partagez cette article sur GG+
Re: common utilities installation fail avec xoops 2.5.7
Régulier
Inscrit: 10/09/2007 11:51
Messages: 476
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
Partager Twitter Partagez cette article sur GG+
Re: common utilities installation fail avec xoops 2.5.7
Régulier
Inscrit: 10/09/2007 11:51
Messages: 476
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 syntaxcheck 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(5unsigned NOT NULL auto_increment,
  
pid int(5unsigned NOT NULL default '0',
  
title varchar(50NOT NULL default '',
  
imgurl varchar(150NOT NULL default '',
  
description varchar(255NOT NULL default '',
  
total int(11NOT NULL default '0',
  
spotlighttop int(11NOT NULL default '0',
  
spotlighthis int(11NOT NULL default '0',
  
nohtml int(1NOT NULL default '0',
  
nosmiley int(1NOT NULL default '0',
  
noxcodes int(1NOT NULL default '0',
  
noimages int(1NOT NULL default '0',
  
nobreak int(1NOT NULL default '1',
  
weight int(11NOT NULL default '0',
  
client_id int(5NOT NULL default '0',
  
banner_id int(5NOT NULL default '0',
  
PRIMARY KEY  (cid),
  
KEY pid (pid)
ENGINE=MyISAM COMMENT='XoopsTube by McDonald' AUTO_INCREMENT=;

#
# Table structure for table 'xoopstube_indexpage'
#

CREATE TABLE `xoopstube_indexpage` (
  `
indeximagevarchar(255NOT NULL default 'blank.gif',
  `
indexheadingvarchar(255NOT NULL default 'XoopsTube',
  `
indexheadertext NOT NULL,
  `
indexfootertext NOT NULL,
  `
nohtmltinyint(8NOT NULL default '1',
  `
nosmileytinyint(8NOT NULL default '1',
  `
noxcodestinyint(8NOT NULL default '1',
  `
noimagestinyint(8NOT NULL default '1',
  `
nobreaktinyint(4NOT NULL default '0',
  `
indexheaderalignvarchar(25NOT NULL default 'left',
  `
indexfooteralignvarchar(25NOT NULL default 'center',
  
lastvideosyn tinyint(1NOT NULL default '0',
  
lastvideostotal varchar(5NOT 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` (
  `
bidmediumint(8unsigned NOT NULL AUTO_INCREMENT,
  `
elementvarchar(50NOT NULL,
  `
element_typevarchar(20NOT NULL,
  `
optionstext NOT NULL,
  `
namevarchar(150NOT NULL DEFAULT '',
  `
descriptionvarchar(255NOT NULL,
  `
canvassmallint(5unsigned NOT NULL DEFAULT '0',
  `
weightsmallint(5unsigned NOT NULL DEFAULT '0',
  `
visibletinyint(1unsigned NOT NULL DEFAULT '0',
  `
typevarchar(6NOT NULL,
  `
content_typevarchar(20NOT NULL,
  `
contenttext NOT NULL,
  `
isactivetinyint(1unsigned NOT NULL DEFAULT '0',
  `
dirnamevarchar(50NOT NULL DEFAULT '',
  `
filevarchar(150NOT NULL,
  `
show_funcvarchar(50NOT NULL DEFAULT '',
  `
edit_funcvarchar(50NOT NULL DEFAULT '',
  `
templatevarchar(150NOT NULL,
  `
bcachetimeint(10NOT 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
Partager Twitter Partagez cette article sur GG+
Re: common utilities installation fail avec xoops 2.5.7
Régulier
Inscrit: 10/09/2007 11:51
Messages: 476
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
Partager Twitter Partagez cette article sur GG+
Re: common utilities installation fail avec xoops 2.5.7
Admin Frxoops
Inscrit: 05/03/2005 05:20
De Vaucluse
Messages: 960
Salut seboseboss,
CREATE TABLE `mod_rmcommon_blocks` (
  `
bidmediumint(8unsigned NOT NULL AUTO_INCREMENT,
  `
elementvarchar(50NOT NULL,
  `
element_typevarchar(20NOT NULL,
  `
optionstext NOT NULL,
  `
namevarchar(150NOT NULL DEFAULT '',
  `
descriptionvarchar(255NOT NULL,
  `
canvassmallint(5unsigned NOT NULL DEFAULT '0',
  `
weightsmallint(5unsigned NOT NULL DEFAULT '0',
  `
visibletinyint(1unsigned NOT NULL DEFAULT '0',
  `
typevarchar(6NOT NULL,
  `
content_typevarchar(20NOT NULL,
  `
contenttext NOT NULL,
  `
isactivetinyint(1unsigned NOT NULL DEFAULT '0',
  `
dirnamevarchar(50NOT NULL DEFAULT '',
  `
filevarchar(150NOT NULL,
  `
show_funcvarchar(50NOT NULL DEFAULT '',
  `
edit_funcvarchar(50NOT NULL DEFAULT '',
  `
templatevarchar(150NOT NULL,
  `
bcachetimeint(10NOT 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

Open in new window

Xoops 2.5.7.2 - Debian 8.2 - Apache 2.4.10 - MySQL 5.5.47 - Php 5.6.17
Partager Twitter Partagez cette article sur GG+
Re: common utilities installation fail avec xoops 2.5.7
Régulier
Inscrit: 10/09/2007 11:51
Messages: 476
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
Partager Twitter Partagez cette article sur GG+
Re: common utilities installation fail avec xoops 2.5.7
Admin Frxoops
Inscrit: 05/03/2005 05:20
De Vaucluse
Messages: 960
Tu la lance comment et par quoi cette requête ?

Posté le : 25/05/2015 18:16

Open in new window

Xoops 2.5.7.2 - Debian 8.2 - Apache 2.4.10 - MySQL 5.5.47 - Php 5.6.17
Partager Twitter Partagez cette article sur GG+
Re: common utilities installation fail avec xoops 2.5.7
Régulier
Inscrit: 10/09/2007 11:51
Messages: 476
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
Partager Twitter Partagez cette article sur GG+
Re: common utilities installation fail avec xoops 2.5.7
Admin Frxoops
Inscrit: 05/03/2005 05:20
De Vaucluse
Messages: 960
Essaie d'enlever DEFAULT CHARSET=utf8 à la fin.

Posté le : 25/05/2015 18:22

Open in new window

Xoops 2.5.7.2 - Debian 8.2 - Apache 2.4.10 - MySQL 5.5.47 - Php 5.6.17
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant
(1) 2 »



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.

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

65 Personne(s) en ligne (37 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 65 | Plus ...