upgrade error

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
piginzen
Posts: 5
Joined: Thu Oct 14, 2004 12:41 am

upgrade error

Post by piginzen »

i am upgrading from 1.3.14

and i get this error at step 5

phpMyFAQ 1.4.2 Update

The connection to the MySQL server could not be established.

The error message of the MySQL server:

|

Error: No Database Selected

Query:

ALTER TABLE faqvoting ADD ip VARCHAR(15) NOT NULL


prior to that, every step went perfectly...

any ideas?

thanks,
mat
Thorsten
Posts: 15743
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

strange. Are there any entries in your data.php file?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
piginzen
Posts: 5
Joined: Thu Oct 14, 2004 12:41 am

Post by piginzen »

Thorsten wrote:Hi,

strange. Are there any entries in your data.php file?

bye
Thorsten
nope... it's empty:

<?php
$DB["server"] = '';
$DB["user"] = '';
$DB["password"] = '';
$DB["db"] = '';
$DB["prefix"] = '';
?>
Thorsten
Posts: 15743
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

did you choose the right version from which you've upgraded? I think you didn't and then a error occured. Did the upgrade script wrote an backup file in the directory inc/?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
piginzen
Posts: 5
Joined: Thu Oct 14, 2004 12:41 am

Post by piginzen »

Thorsten wrote:Hi,

did you choose the right version from which you've upgraded? I think you didn't and then a error occured. Did the upgrade script wrote an backup file in the directory inc/?

bye
Thorsten
i might have... but i cant remember...

there is no backup file in the inc directory

however i did make a sql backup on my desktop prior to the upgrade...
Thorsten
Posts: 15743
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

okay, that's good. I'll check the code of the update script.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
piginzen
Posts: 5
Joined: Thu Oct 14, 2004 12:41 am

Post by piginzen »

Thorsten wrote:Hi,

okay, that's good. I'll check the code of the update script.

bye
Thorsten
thanks so much!!!
piginzen
Posts: 5
Joined: Thu Oct 14, 2004 12:41 am

Post by piginzen »

did u have any luck in finding out what happened? i'd still like to finish upgrading to the new version...

thanks,
mat
Thorsten
Posts: 15743
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

I think you've chosen a wrong version from which phpMyFAQ version you wnat to upgrade. The thing you can do is to re-install your 1.3.14 and do a clean upgrade.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply