Problem 2.8 --> 3.0

Please report bugs here!

Moderator: Thorsten

Post Reply
rav
Posts: 37
Joined: Thu Oct 20, 2005 7:23 am

Problem 2.8 --> 3.0

Post by rav »

Die anybody had a similar problem? I've to update from 2.8 to 3.0 because my provider upgraded PHP 5 -> 7.

1) Installed update to phpMyFaq 3.0. Problem when starting the update (no connection do db)
2) I had to change $DB["type"] = 'mysql'; --> "mysqli"
--> Updated.php successfull, last step (3 of 3) said:

DB error: Duplicate key name 'index_time'
CREATE INDEX index_time ON faqsessions (time)


Any Idea what do do?

Installed PHP -Version: 7.0.28
Thorsten
Posts: 15559
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Problem 2.8 --> 3.0

Post by Thorsten »

Hi,

which version did you have before with 2.8?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rav
Posts: 37
Joined: Thu Oct 20, 2005 7:23 am

Re: Problem 2.8 --> 3.0

Post by rav »

Hi Thorsten

I uses PhpMyFaq for a very long time now and updated before version 2.8 about 2 times (can't remember..)

Therefore a lot of data are recorded, to which I do not have access currently due the problem.
Thorsten
Posts: 15559
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Problem 2.8 --> 3.0

Post by Thorsten »

Hi,

please update to 2.9.11, not 3.0 as it's not stable yet.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rav
Posts: 37
Joined: Thu Oct 20, 2005 7:23 am

Re: Problem 2.8 --> 3.0

Post by rav »

Could not find 2.9.11,
Donwloaded 2.9.10 and tried again after a full restore of the DB:

The connection to the database server could not be established.
The error message of the database server:
Invalid Database Type: mysql

database.php edited:
--> $DB["type"] = 'mysqli';


run Update.php
Your current phpMyFAQ version: 2.8.13

Step 3/3

Error: Please install your version of phpMyFAQ once again or send us a bug report.
DB error: Duplicate key name 'index_time'
CREATE INDEX index_time ON faqsessions (time)


Same behavior as during the last update trials - what can I do more?
rav
Posts: 37
Joined: Thu Oct 20, 2005 7:23 am

Re: Problem 2.8 --> 3.0

Post by rav »

Has anybody made the same experience?
Any idea how I can get my phpMyFAQ working again or
extract all my faq I collected over years know?

Help needed.
Thorsten
Posts: 15559
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Problem 2.8 --> 3.0

Post by Thorsten »

Hi,

please send me an e-mail and I'll help

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