[Solved] SQL Error in Control Panel in 2.0.1

Threads related to Joom!Fish 2.0.x that were already resolved
Forum rules
Do not start new topics in this forum. This forum is for threads that are resolved and moved from the bug reporting forum.

[Solved] SQL Error in Control Panel in 2.0.1

Postby dino on Wed Jan 28, 2009 12:31 pm

After upgrading from RC to 2.0, I get the following SQL error at the control panel:

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 'COLLATE utf8_general_ci' at line 8 SQL=CREATE TABLE IF NOT EXISTS `jos_dbcache` ( `id` varchar ( 32 ) NOT NULL default '', `groupname` varchar ( 32 ) NOT NULL default '', `expire` datetime NOT NULL default '0000-00-00 00:00:00', `value` MEDIUMBLOB NOT NULL default '', PRIMARY KEY ( `id`,`groupname` ), KEY ( `expire`,`groupname` ) ) CHARACTER SET utf8 COLLATE utf8_general_ci
CREATE TABLE IF NOT EXISTS `jos_dbcache` ( `id` varchar ( 32 ) NOT NULL default '', `groupname` varchar ( 32 ) NOT NULL default '', `expire` datetime NOT NULL default '0000-00-00 00:00:00', `value` MEDIUMBLOB NOT NULL default '', PRIMARY KEY ( `id`,`groupname` ), KEY ( `expire`,`groupname` ) ) CHARACTER SET utf8 COLLATE utf8_general_ci

I even tried to uninstall and reinstall Joomfish, but the error persists :-(
Any help would be greatly appreciated.

Dino
dino
Newbee
 
Posts: 9
Joined: Wed Jan 28, 2009 12:20 pm
Location: Ratingen, Germany

Re: SQL Error in Control Panel in 2.0.1

Postby caro84g on Wed Jan 28, 2009 12:33 pm

Hi,

could you give us the info asked for in the pink box (forum rules)

Regards, Carolien
Joom!Fish club members can get priority support at the support forums and have access to extra addons and pre-releases. So join the club today!

You need more Joomla Support? May be Open Source Support Desk can help you!
User avatar
caro84g
Contributor
 
Posts: 1861
Joined: Wed Aug 27, 2008 2:28 pm

Re: SQL Error in Control Panel in 2.0.1

Postby dino on Wed Jan 28, 2009 1:08 pm

PHP 5.2.8
MySQL 4.0.27
Joomla 1.5.9
JoomFish 2.0.1
Memory Limit 40M

Server OS should be Linux and Web Server Apache, but I'm not sure. Can't see this info in my Customer Menu.
dino
Newbee
 
Posts: 9
Joined: Wed Jan 28, 2009 12:20 pm
Location: Ratingen, Germany

Re: SQL Error in Control Panel in 2.0.1

Postby alex on Thu Jan 29, 2009 11:05 am

Hi,

Have you tried the 2.0.2 patch?

Alex
JoomFish core team member
Think Network GmbH - strategic consulting and internet services

You need more Joomla Support? May be Open Source Support Desk can help you!
User avatar
alex
Core Member
 
Posts: 1915
Joined: Fri Oct 19, 2007 4:58 pm
Location: Konstanz, Germany

Re: SQL Error in Control Panel in 2.0.1

Postby dino on Thu Jan 29, 2009 4:15 pm

Hi Alex,

I've just tried the 2.0.2 patch, but the error is still there :-(
Suggestions?

TIA,
Dino
dino
Newbee
 
Posts: 9
Joined: Wed Jan 28, 2009 12:20 pm
Location: Ratingen, Germany

Re: SQL Error in Control Panel in 2.0.1

Postby dino on Thu Jan 29, 2009 5:12 pm

Okay, I've played a little bit with PhpMyAdmin... I can execute the SQL-Command when I remove the COLLATE statement at the end.

Code: Select all
CREATE TABLE IF NOT EXISTS `jos_dbcache` ( `id` varchar ( 32 ) NOT NULL default '', `groupname` varchar ( 32 ) NOT NULL default '', `expire` datetime NOT NULL default '0000-00-00 00:00:00', `value` MEDIUMBLOB NOT NULL default '', PRIMARY KEY ( `id`,`groupname` ), KEY ( `expire`,`groupname` ) ) CHARACTER SET utf8

This SQL-Command works, so I thinks it's an issue with the MySQL Version 4.0.27 at my hosting provider. I'm no MySQL Guru, but is it possible that this version doesn't support the COLLATE statement?
dino
Newbee
 
Posts: 9
Joined: Wed Jan 28, 2009 12:20 pm
Location: Ratingen, Germany

Re: SQL Error in Control Panel in 2.0.1

Postby alex on Thu Jan 29, 2009 8:15 pm

Hi,

Yes I think 4.0.27 is critical with these statements.
I might need to check if we can do something different in the installation process. Did you tried it with removing the collate?

Alex -- checking where I can find such a MySQL server still
JoomFish core team member
Think Network GmbH - strategic consulting and internet services

You need more Joomla Support? May be Open Source Support Desk can help you!
User avatar
alex
Core Member
 
Posts: 1915
Joined: Fri Oct 19, 2007 4:58 pm
Location: Konstanz, Germany

Re: SQL Error in Control Panel in 2.0.1

Postby dino on Fri Jan 30, 2009 11:35 am

Hi Alex,

you can find a such a MySQL Server at 1&1, their hotline told me it's their current version and it's not possible to update by myself... and they won't do it anyway :-(

The installation process run without any errors, but you'll get the error afterwards in your control panel.
As I wrote before, yes, the SQL-Statement works when I remove the collate. So I don't think it will help if you do something different in the installation process, because the statement is executed everytime you open the control panel.

Servus ;-)
Dino
dino
Newbee
 
Posts: 9
Joined: Wed Jan 28, 2009 12:20 pm
Location: Ratingen, Germany

Re: SQL Error in Control Panel in 2.0.1

Postby lucbonnaerens on Fri Jan 30, 2009 3:38 pm

Hi Gents,

I get :
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 'COLLATE utf8_general_ci' at line 8 SQL=CREATE TABLE IF NOT EXISTS `jos_dbcache` ( `id` varchar ( 32 ) NOT NULL default '', `groupname` varchar ( 32 ) NOT NULL default '', `expire` datetime NOT NULL default '0000-00-00 00:00:00', `value` MEDIUMBLOB NOT NULL default '', PRIMARY KEY ( `id`,`groupname` ), KEY ( `expire`,`groupname` ) ) CHARACTER SET utf8 COLLATE utf8_general_ci
CREATE TABLE IF NOT EXISTS `jos_dbcache` ( `id` varchar ( 32 ) NOT NULL default '', `groupname` varchar ( 32 ) NOT NULL default '', `expire` datetime NOT NULL default '0000-00-00 00:00:00', `value` MEDIUMBLOB NOT NULL default '', PRIMARY KEY ( `id`,`groupname` ), KEY ( `expire`,`groupname` ) ) CHARACTER SET utf8 COLLATE utf8_general_ci

is there a solution for this issue yet ?

groetjes, Niels.
lucbonnaerens
Newbee
 
Posts: 17
Joined: Mon Jan 19, 2009 8:27 pm

Re: SQL Error in Control Panel in 2.0.1

Postby dino on Fri Jan 30, 2009 4:29 pm

Hi Niels,

what is your MySQL Server Version?

cu,
Dino
dino
Newbee
 
Posts: 9
Joined: Wed Jan 28, 2009 12:20 pm
Location: Ratingen, Germany

Next

Return to Joom!Fish 2.0.x Stable Solved Threads

Who is online

Users browsing this forum: No registered users and 0 guests