FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Error in Step 2 on Installation
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Error in Step 2 on Installation [message #20479] Sat, 16 October 2004 04:13 Go to next message
Bugblndr is currently offline  Bugblndr   Canada
Messages: 6
Registered: October 2004
Karma: 0
Junior Member
I'm running a Windows 2003 Server, PHP 4.3.9, MySQL 4.1.5 and attempting to install Fudforum for the first time.

Step 2 is failing and I'm getting the error message:

Failed to create table "fud_thread_view" ("ALTER TABLE fud26_thread_view CHANGE pos pos INT NOT NULL AUTO_INCREMENT"), SQL Reason: Incorrect table definition; there can be only one auto column and it must be defined as a key

Any ideas on what's causing this?
Re: Error in Step 2 on Installation [message #20483 is a reply to message #20479] Sat, 16 October 2004 17:23 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Can you please tell me what is the output of the following query:

describe fud_thread_view;


FUDforum Core Developer
Re: Error in Step 2 on Installation [message #20489 is a reply to message #20479] Sat, 16 October 2004 21:06 Go to previous messageGo to next message
Bugblndr is currently offline  Bugblndr   Canada
Messages: 6
Registered: October 2004
Karma: 0
Junior Member
Field Type Null Key Default Extra
----- ---- ---- --- ------- -----
forum_id int(11) PRI 0
page int(11) PRI 0
thread_id int(11) 0
pos int(11) PRI 0
tmp int(11) YES [NULL

[Updated on: Sat, 16 October 2004 21:07]

Report message to a moderator

Re: Error in Step 2 on Installation [message #20496 is a reply to message #20489] Sun, 17 October 2004 17:46 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Try executing the following query followed by the query that has failed and let me know what are the results.

CREATE UNIQUE INDEX fud26_idx_test ON fud26_thread_view (pos, page, forum_id);


FUDforum Core Developer
Re: Error in Step 2 on Installation [message #20503 is a reply to message #20479] Mon, 18 October 2004 04:45 Go to previous messageGo to next message
Bugblndr is currently offline  Bugblndr   Canada
Messages: 6
Registered: October 2004
Karma: 0
Junior Member
I executed the query and then the query that failed. The queries executed successfully.
Re: Error in Step 2 on Installation [message #20530 is a reply to message #20503] Mon, 18 October 2004 12:58 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fixed in CVS.

FUDforum version 2.6.7 won't have this problem.


FUDforum Core Developer
Re: Error in Step 2 on Installation [message #20579 is a reply to message #20479] Tue, 19 October 2004 22:05 Go to previous messageGo to next message
Bugblndr is currently offline  Bugblndr   Canada
Messages: 6
Registered: October 2004
Karma: 0
Junior Member
Is there a way for me to continue then? I downloaded 2.6.7 RC2 and it also has this problem.

Thanks,
Re: Error in Step 2 on Installation [message #20580 is a reply to message #20579] Tue, 19 October 2004 22:20 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
what does

show index from fud26_thread_view;

show?


FUDforum Core Developer
Re: Error in Step 2 on Installation [message #20582 is a reply to message #20479] Wed, 20 October 2004 01:17 Go to previous messageGo to next message
Bugblndr is currently offline  Bugblndr   Canada
Messages: 6
Registered: October 2004
Karma: 0
Junior Member
It shows the exact same as before.
Re: Error in Step 2 on Installation [message #20593 is a reply to message #20582] Wed, 20 October 2004 13:11 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
No no, the new query should show the table's indexes, the one we've ran before showed the table fields.

The fix I've implemented was to add another index that according to your comments (queries we've tested) should've solved the problem.


FUDforum Core Developer
Re: Error in Step 2 on Installation [message #20597 is a reply to message #20479] Wed, 20 October 2004 14:02 Go to previous messageGo to next message
Bugblndr is currently offline  Bugblndr   Canada
Messages: 6
Registered: October 2004
Karma: 0
Junior Member
http://www.catrich.com/webpics/thread_index.jpg
Re: Error in Step 2 on Installation [message #20598 is a reply to message #20597] Wed, 20 October 2004 14:58 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Ok I found and fixed one bug in the intaller. The other problem is actually a bug specific to MySQL 4.1.5, I verified that it does not exist with MySQL 4.1.6.

Here is an updated installer I've confirmed to work with MySQL 4.1.6

http://bb.prohost.org/new_installer.tar.gz


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Apache 2.0.51 [CAN-2004-0811.patch] step 4 - 5
Next Topic: newbie on egroupware
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 04:24:56 GMT 2024

Total time taken to generate the page: 0.01937 seconds