Update von Version 1.6.10 auf 2.0.1

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

cgba
Posts: 112
Joined: Mon Feb 05, 2007 7:11 pm

Update von Version 1.6.10 auf 2.0.1

Post by cgba »

Hallo,

ich möchte die Software auf Version 2.0.1 upgraden, allerdings werde ich aus der Dokumentation nicht ganz schlau. Dort steht:

Code: Select all

Upgrading from 1.6.x to 2.0.x is a really major upgrade. Please make a full backup before you run the upgrade! Nevertheless the update from phpMyFAQ 1.6.x to the current release is fairly simple. First you have to delete all files except:

    * the files data.php and config.php in the directory inc/
    * all files in the template/ directory

Open the following URL in your browser:

http://www.example.com/faq/install/update.php

Choose your installed phpMyFAQ version and click the button of the update script, your version will automatically be updated.
Was mache im dem entpackten zip-Archiv der Version 2.0.1? Und was soll ich wo löschen? Was passiert mit meinen angepassten Dateien?

Ich habe zwar die Versionen schon des Öfteren geupdatet, allerdings ist mir entfallen, wie ich da immer vorgegangen bin :oops:. Außerdem habe ich Bedenken, dass durch die Überarbeitung der Software nicht alles so reibungslos vonstatten geht, wie bei den vorherigen Upgrades.

Vielen Dank im Voraus für Eure Antworten.
Viele Grüße
Christian
MS Outlook FAQ
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

du solltest im Ordner /admin, /docs, /feed, /lang alles löschen, in /inc bis auf die data.php und config.php auch alles. Wenn du deine Templates behalten willst und an die 2.0 anpassen willst, dann kannst du das auch machen, ansonsten auch den Ordner /template löschen. Dann die 2.0.1er Daten einspielen und über /install/update.php das Update starten.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cgba
Posts: 112
Joined: Mon Feb 05, 2007 7:11 pm

Post by cgba »

Hallo Thorsten,

vielen Dank für Deine Antwort. Es hat alles soweit geklappt, allerdings ist es mir im Momen zuviel Aufwand, die ganzen Vorlagen wieder anzupassen.

Was mir jetzt zu schaffen macht, ist Folgendes:

Ich hatte vor der Installation der Version 2.0.1 alle Dateien und Ordner auf dem Server lokal gesichert, ebenso habe ich ein Backup der Datenbank angelegt. Nachdem ich die neue Version installiert hatte, habe ich alles wieder gelöscht und die alten Dateien und Ordner wieder auf den Server kopiert. Das Problem ist nun, dass ich mich nicht mehr im Adminbereich anmelden kann. Beim Versuch, mich mit meinem alten Benutzernamen und Kennwort anzumelden, erhalte ich folgende Fehlermeldungen:

Code: Select all

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hp/ac/aa/th/www/outlook/inc/mysql.php on line 176

Warning: Cannot modify header information - headers already sent by (output started at /hp/ac/aa/th/www/outlook/inc/mysql.php:176) in /hp/ac/aa/th/www/outlook/admin/header.php on line 27

Warning: Cannot modify header information - headers already sent by (output started at /hp/ac/aa/th/www/outlook/inc/mysql.php:176) in /hp/ac/aa/th/www/outlook/admin/header.php on line 28

Warning: Cannot modify header information - headers already sent by (output started at /hp/ac/aa/th/www/outlook/inc/mysql.php:176) in /hp/ac/aa/th/www/outlook/admin/header.php on line 29

Warning: Cannot modify header information - headers already sent by (output started at /hp/ac/aa/th/www/outlook/inc/mysql.php:176) in /hp/ac/aa/th/www/outlook/admin/header.php on line 30

Warning: Cannot modify header information - headers already sent by (output started at /hp/ac/aa/th/www/outlook/inc/mysql.php:176) in /hp/ac/aa/th/www/outlook/admin/header.php on line 31

Warning: Cannot modify header information - headers already sent by (output started at /hp/ac/aa/th/www/outlook/inc/mysql.php:176) in /hp/ac/aa/th/www/outlook/admin/header.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /hp/ac/aa/th/www/outlook/inc/mysql.php:176) in /hp/ac/aa/th/www/outlook/admin/header.php on line 33
Dass das ein Dilemma ist, kannst Du Dir ja vorstellen :-(. Da ich allerdings von solchen Sachen keine Ahnung habe, wäre es äußerst hilfreich, wenn Du mir — sofern möglich — unter die Arme greifen könntest.

Im Voraus besten Dank dafür.
Viele Grüße
Christian
MS Outlook FAQ
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

na, deine DB ist ja nun im 2er Format, dann kann das nicht gehen.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cgba
Posts: 112
Joined: Mon Feb 05, 2007 7:11 pm

Post by cgba »

Hallo,
Thorsten wrote: na, deine DB ist ja nun im 2er Format, dann kann das nicht gehen.
Und das bedeutet?
Viele Grüße
Christian
MS Outlook FAQ
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

na, die hast du ja sicher auch gesichert und musst sie auch wieder einspielen...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cgba
Posts: 112
Joined: Mon Feb 05, 2007 7:11 pm

Post by cgba »

Hallo,

nein, habe ich nicht. Ich dachte zwar, ich hätte das getan, aber auch da ist was schief gelaufen. Ich gehe nun davon aus, dass alles hin ist, oder?
Viele Grüße
Christian
MS Outlook FAQ
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

dann musst du wohl die 2.0 einsetzen... soviele Unterschiede zwischen deinem Layout und dem neuen sind auch nicht, wenn du deine style.css weiternutzt.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cgba
Posts: 112
Joined: Mon Feb 05, 2007 7:11 pm

Post by cgba »

Hallo,

ok, dann werde ich die neue Version jetzt noch mal installieren. Lieber das Gröbste neu anpassen, als dass alles hin ist.

Vielen Dank für Deine Hilfe!
Viele Grüße
Christian
MS Outlook FAQ
cgba
Posts: 112
Joined: Mon Feb 05, 2007 7:11 pm

Post by cgba »

Hallo,

so, ich habe die neue Version jetzt installiert. Beim fünften Schritt der Installation erhalte ich allerdings folgende Fehlermeldung:

Code: Select all

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /hp/ac/aa/th/www/outlook/inc/PMF_DB/Mysql.php on line 119

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /hp/ac/aa/th/www/outlook/inc/PMF_DB/Mysql.php on line 119
Allerdings kann ich trotzdem — Gott sei Dank — wieder auf den Admin-Bereich zugreifen. Hat diese Fehlermeldung irgendwelche Relevanz oder kann ich sie ignorieren?
Viele Grüße
Christian
MS Outlook FAQ
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

hast du update.php schon durchlaufen lassen und machst das ein zweites Mal?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cgba
Posts: 112
Joined: Mon Feb 05, 2007 7:11 pm

Post by cgba »

Hallo,

ja, ich habe das Setup ein zweites mal durchlaufen lassen.
Viele Grüße
Christian
MS Outlook FAQ
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

na, musst du nicht, es sieht ja alles bestens aus auf deiner Seite.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cgba
Posts: 112
Joined: Mon Feb 05, 2007 7:11 pm

Post by cgba »

Hallo,

im Großen und Ganzen funktioniert jetzt alles wieder einwandfrei. Allerdings sind alle Bilder, die ich in Artikeln zur Illustration eingefügt habe, im jeweiligen Artikel nicht mehr sichtbar, zum Beispiel in diesem.

Was bedeutet in der Artikelverwaltung Keine Skript-Unterstützung verfügbar, das hinter jedem Artikel steht?
Last edited by cgba on Sun Jun 10, 2007 8:26 pm, edited 1 time in total.
Viele Grüße
Christian
MS Outlook FAQ
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

evtl musst du die verschieben, schau doch mal, wo er sie sucht...

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