Update to 2.0.1 failed

Please report bugs here!

Moderator: Thorsten

Post Reply
Docstone
Posts: 26
Joined: Thu Jun 08, 2006 10:21 am

Update to 2.0.1 failed

Post by Docstone »

Hi Team!

I just tried to update to 2.0.1 from 1.6.1 and got this error:

Code: Select all

Notice: Undefined index: mod_rewrite in D:\Wissensdatenbank\Magna\install\update.php on line 1254

Notice: Undefined index: spamEnableCatpchaCode in D:\Wissensdatenbank\Magna\install\update.php on line 1269
| | | |

DB error: Field 'group_id' doesn't have a default value

Query:

INSERT INTO faq_faqcategory_group (category_id) SELECT DISTINCT id FROM faq_faqcategories

Previous version is:

Code: Select all

phpMyFAQ Version
    phpMyFAQ 1.6.1
what should i do now? i think i roll back to prev. version until you give me some hints for this!

tia,
Jörg
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

which database do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Docstone
Posts: 26
Joined: Thu Jun 08, 2006 10:21 am

Post by Docstone »

hi thorsten!

i'm using:

IIS 5
MySQL - 5.0.22-community-nt
PHP 5.1.2

I'm Using multiple FAQs in this DB. with one of them, an empty one, the update worked without any problems.

i think, there is an error, refilling the old cats in a new table?!
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

I tested this on my machine here with PHP 5.1.6 and MySQL 5.0.41 and it worked... do you have a backup?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Docstone
Posts: 26
Joined: Thu Jun 08, 2006 10:21 am

Post by Docstone »

sure, i have a backup. i tried to restore an update again, again... but everytime the same error.

asmentioned above, with an empty faq, the update worked fine, but not with any of the filled ones. Maybe you want to have access to the faq an also to phpmyadm? just write a message to me, and i will set up an account for you.

tia,
Jörg
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

it's easier to sent me your dump because I can debug here on my system.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Docstone
Posts: 26
Joined: Thu Jun 08, 2006 10:21 am

Post by Docstone »

ok. i do so tomorrow, when i'm back in my office.

thx so long,
jörg
Docstone
Posts: 26
Joined: Thu Jun 08, 2006 10:21 am

DANKE

Post by Docstone »

So, nun auch hier noch mal vielen Dank an Thorsten, der seine kostbare Zeit opferte, um mich mit meinem FAQ auf die Version 2.0.1 upzudaten!

Ich werd mir die Wishlist mal durchsehen ;-)

liebe Grüße aus Österreich & herzlichen Dank,

Jörg
freeman
Posts: 6
Joined: Wed Jan 19, 2005 7:58 pm

Post by freeman »

Hallo,

was ist den für dieses Problem die Lösung gewesen? Ich stoße bei zwei Updates auf den selben Fehler.

Eintrag im Bugtracker bzgl. dem "Fehler" habe ich ebnfalls erstellt.

PHP Version 5.2.3
MySQL-Version: 5.0.41-community-nt
Update von 1.6.12 auf 2.0.1

Gruß Christian
Thorsten
Posts: 15561
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

dieser Bug ist in der 2.0.2 gefixt, lade dir mal den stabilen CVS Snapshot runter, dann geht es.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
freeman
Posts: 6
Joined: Wed Jan 19, 2005 7:58 pm

Post by freeman »

Hallo,

sieht gut aus, das Update lief nun ohne Probleme durch. Danke!
Post Reply