phpBMS

Ticket #7 (closed defect: fixed)

Opened 5 years ago

Last modified 22 months ago

Fails to create tabledefs table

Reported by: Anonymous Owned by: brieb
Priority: major Milestone: 0.62
Component: phpbms Version: 0.61
Keywords: Cc:

Description

Fails to create tabledefs table

When installing on MySQL version 4.1.13 the tabledefs table is not created.

the problem is in the createtables.sql file.

CREATE TABLE tabledefs ( <snip> id int(11) NOT NULL auto_increment default '1000', <snip> ) TYPE=MyISAM;

should be...

CREATE TABLE tabledefs ( <snip> id int(11) NOT NULL auto_increment, <snip> ) TYPE=MyISAM;

you can only set a default value of null to an auto_increment field.

Change History

Changed 5 years ago by pokejabba

In createtables.sql, in the tabledefs function, change this line:

) TYPE=MyISAM;

to this:

) TYPE=MyISAM AUTO_INCREMENT=1000;

Also, remove " default '1000'" from 'id' line.

Changed 5 years ago by Anonymous

ALTER TABLE tabledefs AUTO_INCREMENT=1000;

is probably what was trying to be done.

- Stewart Smith (stewart@…)

Changed 5 years ago by brieb

  • status changed from new to assigned
  • milestone changed from unknown to 0.70

Changed 5 years ago by brieb

  • priority changed from minor to major

Changed 5 years ago by mipalmer

This looks like it was resolved in changeset:67

Changed 5 years ago by anonymous

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.
Scanned by Orvant Copyright © 2010 Kreotek, LLC. All Rights reserved.