[Solved] Problem with backup_albums.php
Bafu
Joined: 2003-12-22
Posts: 12 |
Posted: Fri, 2005-04-15 21:01 |
I want to upgrade to 1.5, so I've been trying to get the new backup_albums.php working... I got it to work a few months back when I got the file from one of the 1.5 Release Candidates (I didn't actually upgrade though, was just to try the backup php), but now I just can't get it to work. Fatal error: Call to undefined function: getrequestvar() in /home/virtual/site84/fst/home/bal/public_html/gallery/backup_albums.php on line 35 Any ideas anyone? ---- Gallery URL: http://bal.spawnpoint.org/gallery/ |
|
Posts: 12
Hmm, well I guess no one has had this problem...
Is there anywhere I can still download the 1.5 RCs so that I can try the older versions of the backup_albums.php (I've read it was changed in the later versions).
Posts: 6818
Hello,
every version of backup_albums.php is for that Gallery you can find it in.
So backup_albums.php from 1.4.4 is for 1.4.4
and ... for 1.5 <drumroll> is for 1.5.
Different Gallery versions have different code. And the changes from 1.4.4 to 1.5 were A LOT !
Thats the reason why it doesnt work.
Regards,
Jens
Posts: 12
Doh, I'm so incredibly stupid. =)
When you released 1.5 RC2 (or 1?), you added a note about the backup_albums.php in the news item on the site, so I thought it was something new from 1.5, and I tested that one and it worked on my 1.4 gallery, when 1.4 actually had its own backup_albums.php I could have used all along.
Sorry for wasting your time, and thanks! ;)
Posts: 6818
Its not wasting time.
Maybe A LOT user had the same problem ... now you solved it
Regards,
jens
Posts: 5
I cannot find anywhere in the FAQ's or this forum on how to "restore" the backup file created with the backup_albums.php script. Is it just a tar -zxvf? Looking at the tar file, I see that it is a bunch of files out of the "albums" folder. Where do the config files get backed up to? I am looking to upgrade from 1.5 to 1.5.1, and I want to make sure my config stays intact. I have renamed the gallery path, so I guess I rename it back to "gallery", un-tar the new version over the old one, and then rename the folder back to the original name. Sound right?
Posts: 13451
The backup script only backs up the albums dir, if you want a backup of the configuration as well, make a backup of gallery/config.php
After that, all you should have to do is to extract the new version of Gallery on top of the old one.
h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org