4.4.8 auf 4.5 Update Problem

Erstmal einen schönen guten Abend an alle die noch wach sind und sich hier rumtummeln!

Ich versuche seit gestern das Update auf 4.5 durchzuführen, leider bislang ohne Erfolg. Ich benutze die CE 4.4.8 - mittlerweile wieder ohne jegliche Veränderungen (oxchkversion sagt auch alles 100% OK) - beim Update Vorgang geht es jedesmal (egal ob ich ja oder nein anklicke) bei der ersten Frage (was soll mit dem Basic Template passieren) wieder auf Anfang zurück.

Nachdem ich schon so ziemlich alles versucht habe, also erst alles neue hochgeladen, dann updateApp durchgeführt und umgekehrt, habe ich eine komplett neue 4.5er aufgesetzt. Die einzelnen Tabellen in der Datenbank sind nun auch alle importiert, aber hier habe ich nun das Problem, dass mir im Backend keine Kategorien mehr angezeigt werden. Ich bekomme die Seitenanzahl (3) aber keine einzige Kategorie wird angezeigt. Ich kann auch keine neue erstellen. Ja, auf “Kategorie Baum neu indizieren” habe ich auch schon des öfteren geklickt, aber ohne Erfolg.

Is grad alles a bisserl verfahren, ich danke schonmal für ein wenig neuen Input!!

Grüße,
Alex

Moin!

noch folgendes zur technischen Seite:
php 5.2.14
mysql 5.1.50

Die Kategorien sind im Dropdown uns in der DB aufgeführt, aber wie gesagt leider nicht im Backend.

Angehängt ist mal ein Screenshot von dem was ich meine:

Gruß Alex

Hallo Alex,

geh mal über Service -> Tools -> Views aktualisieren.

Gruß

Hi Marco!

Danke für deine Nachricht, ich habe die Views gestern aktualisieren lassen, und noch ein paar andere Knöpfle gedrückt und seitdem geht es und der Shop läuft!

Trotzdem würde ich das Thema noch ganz gerne stehen lassen, denn ich kann bzw will mir nicht vorstellen, dass ich der Einzige bin, der Probleme während des Updatevorgangs beim Template-Update hat. Evtl findet sich ja noch die Wurzel allen Übels…

Fröhliche Oster-Samstags Grüße,
Alex

Hallo,
ich habe auch Probleme mit dem Update von 4.4.8 auf 4.5.

Ich hab mir DB und Daten gedumpt um lokal ersteinmal das Update zu testen.
Lokal hat auch alles soweit geklappt, Template angepasst, Dateien aus neuer Version eingespielt, updateApp ausgeführt.

Nun wollte ich Online neben dem LiveShop, den lokalen upgedateten Shop laufen lassen und falls dieser dann ohne Probleme funktioniert, auf diesen umswitchen.

Also habe ich mir die Dateien genommen online aufgespielt, und um mit den Bestell/Artikel/Daten aktuell zu bleiben kein Dump von der lokalen DB genommen, sondern noch eins von der 4.4.8 die online läuft. So und dann im nächsten Schritt führe ich die updateApp aus, und bekomme immer folgenden Fehler:

Forbidden
You don’t have permission to access /updateApp/ui/http/ajax.php on this server.

Habe auch probiert der Datei 777 Rechte zu geben, keine Änderung. Komisch an der Sache ist ausserdem noch das die updateApp manchmal weiter im Skript kommt und z.B. frägt ob das Template geändert werden soll, und manchmal nur 3 Sql-Statments ausführt.

Lokal gabs kein Problem mit der updateApp weshlab ich erstmal dachte das es an einem fehlenden Modul liegt. Also eine komplett jungfräuliche 4.5 installiert … und funktioniert online, also kann es nicht an einem fehlenden Modul liegen.Ich habe noch andere Dinge probiert um den Fehler einzugrenzen, z.B. die updateApp auf einem andern Server getestet, aber nichts hat mich schlauer gemacht. Jemand eine Idee woran die updateApp scheitert?

I have the same problem…I have copied the copy folder and now I am trying to run updateApp/ but either way I click yes or no, I come back to the same page. I get continuously these messages on the right side…

[exec:] rev: 34028 action: requestTemplatesFilesStructureUpdate
[exec:] rev: 34028 action: requestTemplatesFilesStructureUpdate
[exec:] rev: 34028 action: requestTemplatesFilesStructureUpdate

and when I run my site I get these errors…

Warning: array_keys() [function.array-keys]: The first argument should be an array in E:\AppServ\htdocs est_shop\core\oxlang.php on line 437

Warning: in_array() [function.in-array]: Wrong datatype for second argument in E:\AppServ\htdocs est_shop\core\oxlang.php on line 343

Warning: in_array() [function.in-array]: Wrong datatype for second argument in E:\AppServ\htdocs est_shop\core\oxlang.php on line 343

Warning: max() [function.max]: Array must contain at least one element in E:\AppServ\htdocs est_shop\core\oxlang.php on line 357

Looking forward for a desperate answer…

Ahtasham

Your shop cannot run because the files from copy_this will not work without the db-changes. Which version of mysql is running on the server?

but in the update instructions it says first copy the files and then run the update…I have mysql 5.5

Let me know how should I proceed further. I really need to update my site asap.

Thanks,
Ahtasham

There is a bug in the updateApp with mysql 5.5: https://bugs.oxid-esales.com/view.php?id=2996
You have to search all files in the updateApp folder for occurrences of “TYPE=MyISAM” and replace it with “ENGINE=MyISAM”. As far as i can see this is once in updateTracker.php and once in 34028.sql in the package 448->450.

I did change it in the .sql file already…but not in the updateTracker.php …thanks for that…its working now…

one thing if you can help…I installed some d3 modules very long ago…but not using them so I deleted the d3 folders and files…without first removing them from the module in the backend admin. Do you know where these loaded modules entry are stored in the database so I can remove them from there manually.

Thanks,
Ahtasham

maybe this little helper-script would do it

you can as well uncomment the lines which check if you are logged in as admin

I see Hebsacker was faster with the script :smiley:

And in Database: The modules are stored in oxconfig in a row with oxvarname=‘aModules’, but the data is encoded, so you can only delete the whole row and remove all modules.

the script worked perfect… but I can still not login to the admin…(keep in mind that I copied the files and ran the updateApp and after that I cannot login into the admin)

I get the following error…

Access forbidden!

You don’t have permission to access the requested object. It is either read-protected or not readable by the server.

Have you deleted all files in the tmp folder?

yes…and there were .htaccess files in admin and out/admin/ I also deleted them but still permission denied error…

did you check the chmod-settings?

Those htaccess files are not standard, so it seems like the admin was somehow protected. It still looks like a server configuration issue. You could place an image file in the admin folder and try to access it via browser to see if the directory is accessible. Also it might help to empty your browser cache after deleting those files.

There is also new htaccess for the root directory in the changed_full folder of the update package, you should (if you haven’t done so already) place it in the root directory of your shop (and edit rewriteBase in case your shop resides in a subdirectory).

I can access the admin directory as I copied an image in the root admin and could access it via browser…also copied the new .htaccess file from the changed folder…I have not applied the changes from changed folder yet…are there any special changes for admin by which this access denied could be coming ???

Looking forward for a quick response.

Thanks,
Ahtasham

More details…

the login secreen appears and I put the credentials and they get authorized too and redirects to the admin home page…and at that time I get the error…

On the top frame I see…Access forbidden!
On the left frame (Top Portion) I see Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

On the left frame (Bottom Portion) I see… Error 404

On the right frame I see… Access forbidden!

You don’t have permission to access the requested object. It is either read-protected or not readable by the server.

Let me know guys…I really cant figure it out…

Thanks,
Ahtasham

[QUOTE=ahtasham82;62428]I have not applied the changes from changed folder yet…[/QUOTE]
You should apply them. The changed_full folder contains all template changes (also admin templates), normally you can just copy the whole folder just like the copy_this folder. Only in case you modified template files in their original location (for example in order to install a module) you have to transfer the modifications to the new files manually.
Be sure to empty the tmp directory again afterwards.