Joomla! Discussion Forums



It is currently Tue Nov 24, 2009 6:32 pm (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
Posted: Fri Mar 17, 2006 5:09 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 6:03 pm
Posts: 859
Location: Frederikshavn, Nordjylland, Denmark
Hi there,
Im trying to install the newly released Joomfish beta onto my working Joomla 1.08 installation.
I get this error concerning mysql.

SQL Error DB function failed with error number 1064
You have an error in your SQL syntax near 'ENGINE=MyISAM AUTO_INCREMENT=2' at line 10 SQL=CREATE TABLE IF NOT EXISTS `jos_languages` ( `id` int(11) NOT NULL auto_increment, `name` varchar(100) NOT NULL default '', `active` tinyint(1) NOT NULL default '0', `iso` varchar(10) default NULL, `code` varchar(20) NOT NULL default '', `image` varchar(100) default NULL, `ordering` int(11) NOT NULL default '0', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=2
SQL =

CREATE TABLE IF NOT EXISTS `jos_languages` (
  `id` int(11) NOT NULL auto_increment,
  `name` varchar(100) NOT NULL default '',
  `active` tinyint(1) NOT NULL default '0',
  `iso` varchar(10) default NULL,
  `code` varchar(20) NOT NULL default '',
  `image` varchar(100) default NULL,
  `ordering` int(11) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2

Iv tried to install on a clean install and there it works fine.
That is joomfish works as expected, so its my online joomla thats causing the error.
what, why and where to change this in mysql???

/Dan

_________________
http://24bit.dk
Dansk audio, video og web community


Top
  E-mail  
 
Posted: Fri Mar 17, 2006 5:23 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Sep 28, 2005 9:17 pm
Posts: 24
I'm having the same problem...? ???

Update: Okay. Change the 'ENGINE' to 'TYPE'. This is from MySQL Manual:
Quote:
The ENGINE and TYPE  options specify the storage engine for the table. ENGINE was added in MySQL 4.0.18 (for 4.0) and 4.1.2 (for 4.1). It is the preferred option name as of those versions, and TYPE has become deprecated. TYPE is supported throughout the 4.x series, but likely will be removed in the future.


Last edited by maxman on Fri Mar 17, 2006 5:42 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Fri Mar 17, 2006 5:44 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 6:03 pm
Posts: 859
Location: Frederikshavn, Nordjylland, Denmark
Great:-)
Is this done by phpadmin or what?

/Dan

_________________
http://24bit.dk
Dansk audio, video og web community


Top
  E-mail  
 
Posted: Fri Mar 17, 2006 6:13 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Sep 28, 2005 9:17 pm
Posts: 24
Dan Stanley wrote:
Great:-)
Is this done by phpadmin or what?

/Dan

Change that straight into the file "joomfish.xml" at the zip-package and install normally after that. Notice, that because the previous install failed, the files have been already copied to the server, so you have to delete them first (components/com_joomfish and administrator/components/com_joomfish). Otherwise you'll get an error.


Top
  E-mail  
 
Posted: Fri Mar 17, 2006 6:21 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 6:03 pm
Posts: 859
Location: Frederikshavn, Nordjylland, Denmark
Great Ill give it ago.
I know that I have to delete the already installed files, since iv done it a few hundred times already:-) It s anoying.

/Dan

I changed 3 instances of ENGINE to TYPE and its installed.

Thank you very much.

/Dan

_________________
http://24bit.dk
Dansk audio, video og web community


Top
  E-mail  
 
Posted: Fri Mar 17, 2006 8:24 pm 
I've been banned!
Offline

Joined: Thu Aug 25, 2005 2:33 pm
Posts: 1853
Please remember this is a beta version and should not be used on production sites.

This problem will be fixed in the next release, which will be probably RC.

Greets


Top
   
 
Posted: Sat Mar 18, 2006 11:22 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Aug 12, 2005 6:15 am
Posts: 1550
Location: Munich, Germany
I've added this to our tracker. Not sure if Ivo fixed it already in the SVN but if not we will definitly remove this attribute.

Alex

_________________
Joomla! Community Oversight Committee Member, follow me on twitter @akempkens
Joom!Fish 2.0 your free multilingual solution for Joomla! 1.5 i - http://www.joomfish.net - follow us on twitter @joomfish
Think Network, Munich - http://www.ThinkNetwork.com


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group