Installation Problem [message #17248] |
Sun, 21 March 2004 13:03 |
apmoh
Messages: 5 Registered: March 2004
Karma: 0
|
Junior Member |
|
|
Installed FUDforum 2.6.1 yesterday. Everything went a lot smoother than I had expected, I am very impressed. We are having one problem:
When a message or reply is posted it can only be viewed once, subsequent views cause an error like:
(/home/.../index.php) 2000: Duplicate entry '5-3' for key 2
Query:
Server Version: 3.23.54
[Referring Page] http://mam.space-available.com/index.php?t=thread&frm_id=1&rid=3&S=04d3f7363e63bc3d5295c0da912c137a&SQ=92639ec13c69b6a2391400268ce8e4fd
As you can see we are running mysql 3.23.54 and php 4.2.3.
Our host does not allow direct connections to the mysql server, only through php. We originally left the host blank, but have experimented with localhost and :tmp/mysql.sock with no change in behaviour. Everything else seems to be working, I had expected that if the host thing was going to be a problem then it would be all or nothing.
Anyway it looks like there is some problem in marking a message as read, and judging from the paucity of comments in the forum it seems particular to our setup. Any clues on where to look would be greatly appreciated.
Thanks,
Anthony
|
|
|
Re: Installation Problem [message #17254 is a reply to message #17248] |
Sun, 21 March 2004 18:11 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Your ISP probably has the same MySQL setting defined for everyone inside PHP.ini, which is perfectly fine.
The problem is that the error message you are showing me does not include backtrace nor the query that failed. Which means I have no idea what query had failed.
I think I found 1 possible cause (patch below), but we won't know if that was indeed until you try it. Apply the patch rebuild the theme and let me know if the problem persists.
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=2548
FUDforum Core Developer
|
|
|
|
|
|
|
|
|
Re: Installation Problem [message #17304 is a reply to message #17303] |
Tue, 23 March 2004 21:31 |
apmoh
Messages: 5 Registered: March 2004
Karma: 0
|
Junior Member |
|
|
I had done some searches in the mysql forum that my web host maintains but hadn't found anything. Of course, to my chagrin I hadn't searched on the obvious, the error code 2000.
Searching on 2000 turns up a dozen or so items. Most have to do with connections to the database through telnet. Most seem to do with not having the mysql daemon connect syntax exactly right.
A couple suggested that deleting the user and then re-creating it would solve the problem. I have checked the user, and it appears to have sufficient rights (actually it has all rights), and I can log on through telnet with no problem. At least as far as being able to successfully execute a show tables command.
Anyway it seems to be working fine now.
Thanks a million,
Anthony
|
|
|