facebookrsstwitter

SQL DB Function Error in upgrading/install

Discuss DT Register for Joomla 1.7 (2.7.9 +) and Joomla 2.5 (2.7.13+).

SQL DB Function Error in upgrading/install

Postby soundtraxx » Aug 31, 2011 1:24 pm

My problem has become more urgent as I tried a Fresh Fresh install of J1.6 and DTRegister and got the same error. I don't know how to fix this.

JInstaller::install: 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 'TYPE=MyISAM' at line 6 SQL=CREATE TABLE IF NOT EXISTS `jos_dtregister` ( `id` INT (7) NOT NULL AUTO_INCREMENT, `property` VARCHAR(255) DEFAULT NULL, `value` text DEFAULT NULL, PRIMARY KEY (`id`) ) TYPE=MyISAM;
SQL =
CREATE TABLE IF NOT EXISTS `jos_dtregister` (
`id` INT (7) NOT NULL AUTO_INCREMENT,
`property` VARCHAR(255) DEFAULT NULL,
`value` text DEFAULT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
Component Install: SQL error or missing or unreadable SQL file. 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 'TYPE=MyISAM' at line 6 SQL=CREATE TABLE IF NOT EXISTS `jos_dtregister` ( `id` INT (7) NOT NULL AUTO_INCREMENT, `property` VARCHAR(255) DEFAULT NULL, `value` text DEFAULT NULL, PRIMARY KEY (`id`) ) TYPE=MyISAM;
SQL =
CREATE TABLE IF NOT EXISTS `jos_dtregister` (
`id` INT (7) NOT NULL AUTO_INCREMENT,
`property` VARCHAR(255) DEFAULT NULL,
`value` text DEFAULT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
Last edited by soundtraxx on Aug 31, 2011 1:31 pm, edited 1 time in total.
soundtraxx
Fresh Boarder
Fresh Boarder
 
Posts: 12
Joined: Apr 04, 2011 12:06 am

Re: SQL DB Function Error in upgrading/install

Postby soundtraxx » Aug 31, 2011 1:34 pm

Looks like it's not a DTRegister only problem, has something to do with my MYSQL, I'll research and try to fix. If you have any input feel free, it might save me some time.
soundtraxx
Fresh Boarder
Fresh Boarder
 
Posts: 12
Joined: Apr 04, 2011 12:06 am

Re: SQL DB Function Error in upgrading/install

Postby soundtraxx » Aug 31, 2011 1:43 pm

http://www.joomfish.net/forum/viewtopic.php?f=47&t=8462

I opened up the sql file in com_dtregister. Copied it all into excel, used find & replace for TYPE= to ENGINE=. Repackaged and everything works.
soundtraxx
Fresh Boarder
Fresh Boarder
 
Posts: 12
Joined: Apr 04, 2011 12:06 am

Re: SQL DB Function Error in upgrading/install

Postby dthadmin » Aug 31, 2011 3:14 pm

Hey, thanks for your input here. The new 2.7.9 package actually has this change implemented for the sql install file, so no worries when you go to upgrade.
dthadmin
Platinum Boarder
Platinum Boarder
 
Posts: 5434
Joined: Dec 31, 1969 8:00 pm
Location: USA


Return to General Discussion - Joomla 1.7 / 2.5

Who is online

Users browsing this forum: No registered users and 5 guests

Training Sessions

There are no upcoming events.

DT Register - event registration for Joomla

Free Merchant Account Setup - Accept Credit Cards Online