| Author |
trouble by installing |
|
kaon3ua
Just popping in Joined: 07-May-2003 Posts: 3
|
Posted: 2003-05-07 09:27
hi, i just installed myphpnuke and get trouble. on the last page of install i have this message
Warning: Supplied argument is not a valid MySQL result resource in /mnt/ls4/05/091/00000002/htdocs/html/install.php on line 2306.
Warning: Supplied argument is not a valid MySQL result resource in /mnt/ls4/05/091/00000002/htdocs/html/install.php on line 2598.
Warning: Supplied argument is not a valid MySQL result resource in /mnt/ls4/05/091/00000002/htdocs/html/install.php on line 2883.
Warning: Supplied argument is not a valid MySQL result resource in /mnt/ls4/05/091/00000002/htdocs/html/install.php on line 2954.
Warning: Supplied argument is not a valid MySQL result resource in /mnt/ls4/05/091/00000002/htdocs/html/install.php on line 2965.
All line are with this
"$present = mysql_result($result, 0);"
what should i do? thx before
|
|
Kiril
MPN Developer Joined: 10-Nov-2001 Posts: 4181
|
Posted: 2003-05-07 12:54
For some reason your not connecting to the database. Double check your login information and make sure the database exists.
|
|
kaon3ua
Just popping in Joined: 07-May-2003 Posts: 3
|
Posted: 2003-05-07 18:13
the table already exist, and the database is created. It is just that 5 error. The other table are good. I dont know why. I have check iz and install it for about 5 times. And it is still the same 
|
|
trini0
MPN Developer Joined: 18-Jul-2001 Posts: 5096
From: FL USA
|
Posted: 2003-05-07 23:29
what version of mysql are you running? ----------------- trini0... mPN2 Test Bed
|
|
Kiril
MPN Developer Joined: 10-Nov-2001 Posts: 4181
|
Posted: 2003-05-08 14:57
This line:
$present = mysql_result($result, 0);"
Checks to see if the table exists, if it does, then the content is inserted. So in short, that check failed so no data could be inserted into the table. This means you are not connecting the DB or it is blocking queries.
|
|
kaon3ua
Just popping in Joined: 07-May-2003 Posts: 3
|
Posted: 2003-05-09 11:29
i have find the problem
it is seem that there are 6 tables that cant be made. although by installing it is say that the table already exist but it isn't.
here are the 6 tables
mpn_comments
mpn_forums
mpn_forumtopics
mpn_ranks
mpn_stories
mpn_topics
can anyone help me to create this table?
[ This message was edited by: kaon3ua on 2003-05-09 11:50 ]
|
|
Kiril
MPN Developer Joined: 10-Nov-2001 Posts: 4181
|
Posted: 2003-05-10 04:17
Drop the database and start over. If all else fails, you can connect to the database via phpMyAdmin or somthing similar and run the SQL dump provided in the sql folder.
|