Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 12:29 pm EST

Geeklog Forums

SQL error while upgrading from 1.3.8 to 1.3.9


Status: offline

etolocka

Forum User
Chatty
Registered: 07/19/04
Posts: 60
Hi

Upgrading form 1.3.8 to 1.3.9, I get the following error from install.php:

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 '( fid int unsigned NOT NULL auto_increment, type varchar(30

What do it means?

How can I correct it?

Best regards,
Ernesto.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Hmm, never seen this before. Which version of MySQL are you running on?

Try this:

Open the file sql/updates/mysql_1.3.8_to_1.3.9.php and find the line that reads

fid int unsigned NOT NULL auto_increment,

(near the start of that file) and add (10) after the int so that it looks like this:

fid int(10) unsigned NOT NULL auto_increment,

Then run the upgrade again.

bye, Dirk
 Quote

All times are EST. The time is now 12:29 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content