WebsiteBaker Support (2.8.x) > Bakery Shop

Upgrade instructions from Bakery older 1.70

(1/2) > >>

jacobi22:
We make a Upgrade from a older Bakery Version 1.59 directly to a 1.73 in the last week and have some problems, to add the old pictures into the new image-database.  the code for that is missing in bakery 1.73 and 1.74.
No problem, if you know, that you have to upgrade to a Vers. 1.70 or 1.71 first, if you start with a older Version, but i didnt found any instructions about this

is it possible, to make a little notice about this step in the upgrade instructions here? 

freeSbee:
Hallo Uwe

ENGLISH

This little helper script scans the Bakery image directory and adds all item images to the database, as long as they are not yet saved. In other words it synchronizes the database with the Bakery image directory.


* I strongly recommend that you test the script locally, before running it on  a productive site!
* It is always a good idea to backup your current WB installation before running this script.
* The use of this helper script is at your own risk!
1. Download _sync_img_helper.php.zip.
2. Unzip _sync_img_helper.php.zip.
3. Upload _sync_img_helper.php via FTP into the "bakery" module directory.
4. Call the script in your browser (replace "example" by your domain): http://www.example.com/modules/bakery/_sync_img_helper.php
5. Depending on the number of images it may take a moment until the job is done.
6. The script prints a log that should be saved for later use. Please post errors in this thread.
7. Delete the helper script from your webspace.


DEUTSCH

Hier ein kleines Helper-Skript, welches alle Bakery-Bilder, die im Bilderverzeichnis von Bakery abgelegt sind, in der Datenbank ergänzt, sofern sie noch nicht vorhanden sind. Mit anderen Worten: Es synchronisiert die Datenbank mit dem Bakery Bilderverzeichnis.


* Ich empfehle dringend, das Skript lokal zu testen, bevor es im produktiven Shop zur Anwendung kommt!
* Zudem ist ein Backup immer eine gute Idee.
* Die Verwendung des Skripts erfolgt auf eigenes Risiko!
1. _sync_img_helper.php.zip herunterladen.
2. _sync_img_helper.php.zip entpacken.
3. _sync_img_helper.php per FTP ins Modulverzeichnis "bakery" laden.
4. Im Browser das Skript aufrufen unter: http://www.example.com/modules/bakery/_sync_img_helper.php
5. Je nach Anzahl Bilder kann es einen Moment dauern, bis der Job abgearbeitet ist.
6. Das Skript gibt Rückmeldungen, die bei Fehlern kopiert und in diesem Thread gepostet werden können.
7. Das Skript am Schluss löschen.

Gruss Christoph

jacobi22:
hi christoph and thanks for the fast solution  (Y)

everythings works fine!

mgeene:
Hello,

I did not work for me, ik had 1.6.0. and upgrade to 1.7.6 do you have a solution to sync the images?

freeSbee:
Hi mgeene

What did the error log tell you after you have run the helper script _sync_img_helper.ph p ?
Hope you saved a copy as the instructions at step 6 have told to do!

Regards Christoph

Navigation

[0] Message Index

[#] Next page

Go to full version