Zum Inhalt springen

Ich krieg die News nicht upgedatet!

Erstellt am 18. März 2005 · 3 Antworten · letzte Antwort am 18. März 2005

Tags: tt_news, Update & Upgrade, Frage

Sonja ·

Immerhin hab ich es geschafft, die News im Extension Manager auf die Version 2.1.1 zu bringen. Doch wenn ich die Extension installieren möchte krieg ich folgende Meldung:

Fatal error: Call to a member function on a non-object in C:apachehtdocsquickstart ypo3ext t_newsclass.ext_update.php on line 169

Bitte kann mir einer helfen? Ich wäre für Hilfe sehr dankbar.

jenses ·

Es gibt ein Manual zu tt_news, sehr ausführlich ;-)

How to update:
If you upgrade your tt_news extension from a prior version (< 1.2.x), its required to use the “UPDATE!” function to synchronize table data.

The Updater does two things:
it transfers the configuration data (e.g. LIST//1) from the old content element to the new flexform based parts of the content element
it creates relations to the categories in a new relation table (tt_news_cat_mm).

To perform this action, open the extension manager and click on the tt_news extension:

then click on the dropdown menu in the upper right corner and choose "UPDATE!"
If you don't see the option named "UPDATE!" the updater didn't find anything to update.

The update script will inform you about what it is going to do, by showing the number of items found to be updated.

Note: This action will not change your old data in the tt_news or tt_content table. So even if you perform this action, you will still be able to downgrade to an earlier version of tt_news retaining the old category relations and CODE field data.
Just click the "DO IT" button to perform the update.

FAQ
Q: can this update-script update the tables and fields of any version of tt_news to the current one?
A: No. First thing to know: from which version of tt_news do you upgrade to the current version?
case 1: If you upgrade from the "classic" 1.0.4 version without any other news-extension installed, you can use the updater and all should be ok. :-)
case 2: if you upgrade from a tt_news version 1.0.x with one of the news-extensions installed that provides the "multiple categories"-feature, the updater will only update the content elements to flexforms but won't touch the category relation-table because its already present.
case 3: if you upgrade your tt_news extension from a version higher than 1.2.0 the updater will find data in the flexforms fields and also a category relation table. In this case the option "UPDATE!" won't appear in the extension manager.
Q: after updating my tt_news version (< 1.2.0) to the new tt_news version I don't see my old settings in the fields "Starting point" & "recursive". Is this a bug in the updater?
A: No. Your old settings are still present and they work. If you set a new "Starting Point" in the Flexform field, this value will have priority over the old "invisible" value.
Q: I upgraded my tt_news version 1.0.x to the actual one and don't see the “UPDATE!” option in the dropdown menu in the extension manager.
A: This happens, if you look in this menu directly after clicking the “Click here to install the extension” link in EM. Reload the page or choose any other option from the function-menu, and the look again in the menu.

jenses

Sonja ·

Vielen Dank, aber dies Manual ist mir schon mehr als vertraut. Die Fehlermeldung kommt doch schon wenn ich auf die Infoseite von NEWS klicke.

Es will einfach nicht funzen.

jenses ·
Sonja schrieb

Immerhin hab ich es geschafft, die News im Extension Manager auf die Version 2.1.1 zu bringen.

Die Fehlermeldung kommt doch schon wenn ich auf die Infoseite von NEWS klicke.

Eben, weil du dich nicht an das Manual gehalten hast,
auch wenn es dir mehr als vertraut ist ;-) .
Du hast die neue Version heruntergeladen und nicht die Update-Prozedur durchgeführt.

Ich würde an deiner stelle noch mal eine alte News-Version über die neue installieren und dann updaten.

jenses