Upgrade problem from 2.6.4 to 2.6.6

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
echarpie
Posts: 12
Joined: Fri May 22, 2009 10:24 pm

Upgrade problem from 2.6.4 to 2.6.6

Post by echarpie »

I followed the directions as best as I could - but I found no "data.php" in the /inc directory. I ended up uploading the entire "2.6.6" files but now it tells me I cannot do the update that I have to do a clean install. The bottom line is I have 2.6.6 files and 2.6.4 data - how should I go about updating my data? I am afraid to run the install.php script.
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Upgrade problem from 2.6.4 to 2.6.6

Post by Thorsten »

Hi,

there is no inc/data.php file anymore in the 2.6.x releases. What's the current state of your installation now?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
echarpie
Posts: 12
Joined: Fri May 22, 2009 10:24 pm

Re: Upgrade problem from 2.6.4 to 2.6.6

Post by echarpie »

As I said, I had uploaded the new 2.6.6 files, but I have done nothing to update my data which is still 2.6.4

The system has lost where ever the definitions are for the database and login and password. I realized I read the update instructions wrong - I was going by the 2.5.x instructions. The problem is I have deleted my original files and cannot get back my config files.
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Upgrade problem from 2.6.4 to 2.6.6

Post by Thorsten »

Hi,

okay, take a look into the folder config/ and look for the file database.php.original

Rename the file to database.php, open it with a text editor and add your database credentials into the file.

Then run the update script in /install/update.php

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
echarpie
Posts: 12
Joined: Fri May 22, 2009 10:24 pm

Re: Upgrade problem from 2.6.4 to 2.6.6

Post by echarpie »

Thanks - that makes sense. What do I put for database type?

Nevermind - I figured it out - type='Mysql'
Thorsten
Posts: 15749
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Upgrade problem from 2.6.4 to 2.6.6

Post by Thorsten »

Hi,

please use lowercase characters: "mysql"

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