English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

JInstaller::Install com_multisitesusersite
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: JInstaller::Install com_multisitesusersite
#8817
JInstaller::Install com_multisitesusersite 12 Years, 4 Months ago Karma: 0
Hi edwin,
I renew my subscription of JMS and take multiusersite on the same way...
But when i install it, i got this :

JInstaller::Install : erreur SQL Fonction DB échouée avec le numéro d'erreur 1064
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 AUTO_INCREMENT=1 DEFAULT CHARSET=utf8' at line 17 SQL=CREATE TABLE IF NOT EXISTS ..............

Have you an idea about this issue?
Regards,
titus
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#8829
Re: JInstaller::Install com_multisitesusersite 12 Years, 4 Months ago Karma: 54
You report an error in the MySQL statement but you didn't provide all the MySQL statement.
So it is difficult to tell you the reason.

Check the MySQL statement to identify what could be the cause.
For example, perhaps you put a special character in the table prefix.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#8841
Re: JInstaller::Install com_multisitesusersite 12 Years, 4 Months ago Karma: 0
Cela ne serait pas parce que ma BDD n'est pas en utf8 ?
titus
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#8842
Re: JInstaller::Install com_multisitesusersite 12 Years, 4 Months ago Karma: 0
Mais voici ce que j'ai en entier :


JInstaller::Install : erreur SQL Fonction DB échouée avec le numéro d'erreur 1064
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 AUTO_INCREMENT=1 DEFAULT CHARSET=utf8' at line 17 SQL=CREATE TABLE IF NOT EXISTS `wer77_multisites_users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(10) unsigned NOT NULL COMMENT 'reference to the joomla user id', `site_id` varchar(100) NOT NULL COMMENT 'reference to the MULTISITES_ID that created the record', `home` tinyint(1) NOT NULL default '0' COMMENT 'Default or home websites where the user were registered', `params` text NULL COMMENT 'Additional parameters.', `checked_out` tinyint(1) NOT NULL default '0', `checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `created_dt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Creation date/time', `created_by` int(10) unsigned NULL COMMENT 'reference to the user id who created the record', `modified_dt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date/Time of the modification', `modified_by` int(10) unsigned NULL COMMENT 'reference to the user id who modified the record', PRIMARY KEY (`id`), KEY `idx_usersite` (`user_id`, `site_id`) ) TYPE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
SQL =
CREATE TABLE IF NOT EXISTS `#__multisites_users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL COMMENT 'reference to the joomla user id',
`site_id` varchar(100) NOT NULL COMMENT 'reference to the MULTISITES_ID that created the record',
`home` tinyint(1) NOT NULL default '0' COMMENT 'Default or home websites where the user were registered',
`params` text NULL COMMENT 'Additional parameters.',

`checked_out` tinyint(1) NOT NULL default '0',
`checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`created_dt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Creation date/time',
`created_by` int(10) unsigned NULL COMMENT 'reference to the user id who created the record',
`modified_dt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date/Time of the modification',
`modified_by` int(10) unsigned NULL COMMENT 'reference to the user id who modified the record',

PRIMARY KEY (`id`),
KEY `idx_usersite` (`user_id`, `site_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
Installation d'un composant : erreur SQL du fichier Fonction DB échouée avec le numéro d'erreur 1064
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 AUTO_INCREMENT=1 DEFAULT CHARSET=utf8' at line 17 SQL=CREATE TABLE IF NOT EXISTS `wer77_multisites_users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(10) unsigned NOT NULL COMMENT 'reference to the joomla user id', `site_id` varchar(100) NOT NULL COMMENT 'reference to the MULTISITES_ID that created the record', `home` tinyint(1) NOT NULL default '0' COMMENT 'Default or home websites where the user were registered', `params` text NULL COMMENT 'Additional parameters.', `checked_out` tinyint(1) NOT NULL default '0', `checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `created_dt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Creation date/time', `created_by` int(10) unsigned NULL COMMENT 'reference to the user id who created the record', `modified_dt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date/Time of the modification', `modified_by` int(10) unsigned NULL COMMENT 'reference to the user id who modified the record', PRIMARY KEY (`id`), KEY `idx_usersite` (`user_id`, `site_id`) ) TYPE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
SQL =
CREATE TABLE IF NOT EXISTS `#__multisites_users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`user_id` int(10) unsigned NOT NULL COMMENT 'reference to the joomla user id',
`site_id` varchar(100) NOT NULL COMMENT 'reference to the MULTISITES_ID that created the record',
`home` tinyint(1) NOT NULL default '0' COMMENT 'Default or home websites where the user were registered',
`params` text NULL COMMENT 'Additional parameters.',

`checked_out` tinyint(1) NOT NULL default '0',
`checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`created_dt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Creation date/time',
`created_by` int(10) unsigned NULL COMMENT 'reference to the user id who created the record',
`modified_dt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Date/Time of the modification',
`modified_by` int(10) unsigned NULL COMMENT 'reference to the user id who modified the record',

PRIMARY KEY (`id`),
KEY `idx_usersite` (`user_id`, `site_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
titus
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#8846
Re: JInstaller::Install com_multisitesusersite 12 Years, 4 Months ago Karma: 54
Oui je crois que c'est parce que la nouvelle base n'est pas en UTF8.
Vous lisez une base avec de l'UTF8 et vous essayé de la répliquer dans une autre base qui n'est pas UTF8. Donc la syntax SQL utilisée par MySQL lors de la création de la table dans la nouvelle base échoue à cause d'une erreur de syntaxe.

Est-ce que cette erreur apparait lors de l'installation du composant "Multisites User Site" ou lors de la réplication d'un site.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla