![]() |
|
#1
|
|||
|
|||
|
Brian,
In the links table you have the linkid field as the primary and then again as an index, generating the following error: PRIMARY and INDEX keys should not both be set for column `linkid` I did the following to correct this via phpmyadmin: Code:
ALTER TABLE `links` DROP PRIMARY KEY , ADD PRIMARY KEY ( `linkid` , `suspended` , `valid` , `dateline` ) ALTER TABLE `links` DROP INDEX `linkid` |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How Do I.....Database | nubian | Chit Chat | 1 | 12-09-2004 11:35 AM |
| How do I make CMPS my forums index page - i cant replace index.php | jilly | Troubleshooting / "How do I..." Questions | 4 | 09-22-2004 12:03 PM |
| Database Error | Queensoul | Troubleshooting / "How do I..." Questions | 2 | 06-06-2004 02:34 PM |