Joomla Gaming

The Gaming extensions for Joomla!

  • Increase font size
  • Default font size
  • Decrease font size
Home Forum
Welcome, Guest
Username Password: Remember me

Casino 1.0 install error
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Casino 1.0 install error

Casino 1.0 install error 4 years ago #200

  • Tinker
  • OFFLINE
  • Moderator
  • Posts: 436
  • Points: 54407
  • Casino Medal
Upload component - Failed
SQL Error DB function failed with error number 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 'tynint(3) NOT NULL, PRIMARY KEY (`id`) )' at line 19 SQL=CREATE TABLE IF NOT EXISTS `jos_casino_games` ( `id` mediumint(5) NOT NULL auto_increment, `gamename` varchar(100) NOT NULL, `title` varchar(100) NOT NULL, `height` mediumint(4) NOT NULL default '400', `width` mediumint(4) NOT NULL default '500', `description` mediumtext NOT NULL, `numplayed` int(11) NOT NULL default '0', `imagename` varchar(100) NOT NULL, `filename` varchar(100) NOT NULL, `published` tinyint(1) NOT NULL default '0', `catid` tinyint(3) default NULL, `time_played` bigint(20) NOT NULL default '0', `totalwon` bigint(20) NOT NULL default '0', `totallost` bigint(20) NOT NULL default '0', `maxbuyin` mediumint(4) NOT NULL, `creditvar` char(20) NOT NULL default 'Credits', `winlimit` mediumint(6) NOT NULL, `payoutdeduction` tynint(3) NOT NULL, PRIMARY KEY (`id`) );
SQL =
CREATE TABLE IF NOT EXISTS `jos_casino_games` (
`id` mediumint(5) NOT NULL auto_increment,
`gamename` varchar(100) NOT NULL,
`title` varchar(100) NOT NULL,
`height` mediumint(4) NOT NULL default '400',
`width` mediumint(4) NOT NULL default '500',
`description` mediumtext NOT NULL,
`numplayed` int(11) NOT NULL default '0',
`imagename` varchar(100) NOT NULL,
`filename` varchar(100) NOT NULL,
`published` tinyint(1) NOT NULL default '0',
`catid` tinyint(3) default NULL,
`time_played` bigint(20) NOT NULL default '0',
`totalwon` bigint(20) NOT NULL default '0',
`totallost` bigint(20) NOT NULL default '0',
`maxbuyin` mediumint(4) NOT NULL,
`creditvar` char(20) NOT NULL default 'Credits',
`winlimit` mediumint(6) NOT NULL,
`payoutdeduction` tynint(3) NOT NULL,
PRIMARY KEY (`id`)
);

Problem:
`payoutdeduction` tynint(3) NOT NULL,

FIX:
`payoutdeduction` tinyint(3) NOT NULL,
in both casino.xml and casino.j15.xml
Last Edit: 4 years ago by Tinker.

Re:Casino 1.0 install error 4 years ago #203

  • Vanama
  • OFFLINE
  • Administrator
  • Posts: 735
  • Points: 5068490
Sorry, I had enough a time for testing.

Hot fixed file is uploaded.
Like You My Extensions? Please donate.
Please vote my extensions here. Thanks!
  • Page:
  • 1
Moderators: Tinker
Time to create page: 0.17 seconds