You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I would like to use your py script to migrate my current gallery3 to zenphoto. Zenphoto is already installed, but I have no zenphoto.cfg file in my installation, just zenphoto.cfg.php (inside zp-data folder) - is it the right one?
Also where in the file should I put define ('FILESYSTEM_CHARSET', 'UTF-8');?
Tnaks.
The text was updated successfully, but these errors were encountered:
Heads up: I've had lots of people mail for help and my success rate is pretty close to zero. ;) I should rewrite this script one day so it's easier to use and less crappy.
I have no zenphoto.cfg file in my installation, just zenphoto.cfg.php (inside zp-data folder) - is it the right one?
zenphoto.cfg.php should be fine, yes. I just double-checked the ZenPhoto code and it makes references to both filenames--maybe leftover stuff from an older version.
Also where in the file should I put define ('FILESYSTEM_CHARSET', 'UTF-8');?
Anywhere below where it says "do not edit above this line", and anywhere before the PHP closing tag at the end of the file ("?>"). I usually stick it after the database config stuff.
Thanks, that helped :) And another thing to improve: the script copies albums and photots to current working directory even though you set destination directory in its configuration... so you need to be in destination directory to it working correctly.
But besides this and some empty albums in my source gallery (so I had to restore everything and start again) it worked fine :) And for restoring: what worked to me was deleting albums from destination dir and refreshing database from zenphoto -> overview -> utility functions -> refresh the database (maybe it helps someone).
Hi, I would like to use your py script to migrate my current gallery3 to zenphoto. Zenphoto is already installed, but I have no zenphoto.cfg file in my installation, just zenphoto.cfg.php (inside zp-data folder) - is it the right one?
Also where in the file should I put define ('FILESYSTEM_CHARSET', 'UTF-8');?
Tnaks.
The text was updated successfully, but these errors were encountered: