Update problem from alpha to beta2 (and workaround)

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Matti Kröger
Posts: 8
Joined: Mon Mar 05, 2007 2:34 pm

Update problem from alpha to beta2 (and workaround)

Post by Matti Kröger »

Well I tried the new development version for today. Now that I got it working it looks great.

But I had some trouble updating, which is not unusual in dev-versions, I know, but I thought I'd post a workaround for the problem I had:

Updating from alpha to beta2

Problem: the update.php complained me that it could not make a data.bak.php, because it had no rights to do it... well it did 8) but it just kept on complaining, so after some thinking(2 mins):

Workaround: Go first to the inc/ -directory, make a copy of the data.php file and rename that to data.bak.php then goto edit update.php code, check the place where it does the copying of the file and just put that inside comments(ya gotta know some php, of course)... I also did the latter part(code editing) for the config.php file(just to be sure, actually, when looking into the inc/ -directory, there was no config.php that I could see)...

I know my workaround ain't no solution - and it is quite rough, but it worked and I am testing the beta2 now :wink:
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

hm, okay, we'll test this again. The 2.0 version don't have a config.php anymore but the 1.x version have it.

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