Basically All my images are mainly small as its to show case some rewards that can be obtained in a GAME.
I have thousands of images and about 100 albums where all these images have been arranged into categories.
Well there is like 4 different regions and some items work in all regions.. So we was doing some massive sorting with the database.
My main problem is.. I have lots of sub albums in EU HOME
That I want to COPY to NA home.
When I do this if the sub album has another subalbum inside it it repeats where it came from making the same folders again and again. EG:
I wanted to copy this Album
http://uniquez-home.com/rewards/EU%20Home/Apartment%20-%20Store%20Game%20Rewards
When I copy Apartment - Store Game Rewards
Because I need all the sub albums in there aswell to move over
It makes more folders
Bascially I copied the album from EU home to the main dir just for a test.. You can see how if an album has a sub album it keeps making DIRS
Basically for ever album that has another sub album its repeating the original directory it came from and making them folders before it.
I can't just do an FTP copy over because that would mean re-arranging all the images again and setting album covers.
This would take a very long time..
Also I deleted all albums in NA because I was ready to port everything over and make the changes.. But I can't copy themover without it making all the folders that its not supposed to..
I am looking for a quick fix for this
Please can some one help me do something to get it over to NA Home Because its all down and people use this section ALOT.
Thank you..
I am also using the latest version of zen photo.
Basically All my images are mainly small as its to show case some rewards that can be obtained in a GAME.
I have thousands of images and about 100 albums where all these images have been arranged into categories.
Well there is like 4 different regions and some items work in all regions.. So we was doing some massive sorting with the database.
My main problem is.. I have lots of sub albums in EU HOME
That I want to COPY to NA home.
When I do this if the sub album has another subalbum inside it it repeats where it came from making the same folders again and again. EG:
I wanted to copy this Album
http://uniquez-home.com/rewards/EU%20Home/Apartment%20-%20Store%20Game%20Rewards
When I copy Apartment - Store Game Rewards
Because I need all the sub albums in there aswell to move over
It makes more folders
Bascially I copied the album from EU home to the main dir just for a test.. You can see how if an album has a sub album it keeps making DIRS
Basically for ever album that has another sub album its repeating the original directory it came from and making them folders before it.
I can't just do an FTP copy over because that would mean re-arranging all the images again and setting album covers.
This would take a very long time..
Also I deleted all albums in NA because I was ready to port everything over and make the changes.. But I can't copy themover without it making all the folders that its not supposed to..
I am looking for a quick fix for this
Please can some one help me do something to get it over to NA Home Because its all down and people use this section ALOT.
Thank you..
I am also using the latest version of zen photo.
I can reproduce this. I have made a fix in the development stream (SVN) Unfortunately, the fix does now work when applied to the base release, so something has drifted apart too far between them. You are welcome to install the SVN, but remember that it has not had a great deal of testing.
Hey,
I just installed your nightly build and its still making the folders that it shouldn't be if the album has a sub-album.
I downloaded the nightly build for the 8th.
And its still giving me the same results..
Not sure if that was the upload for the fix.. But its not corrected the problem
AWSOME...
It works now. No problems at all just a straight copy..
Also.. I am currently learning PHP and I have managed todo alot of things myself using this language and building scripts.
I understand it was an edit to the admin-functions.php script..
Under the copy section.. What did you actually do to fix it?
I would just like to know so I can learn from it..
I'm not like super noob. LOL..
Anyway I would like to thankyou for your quick fix and response.
Amazing for a free gallery that helps our website populate everyday. Thankyou!
The specific changeset that fixed this issue in trunk can be found here: http://www.zenphoto.org/trac/changeset/6682
For reference, you can see all changes to Zenphoto in Trac under "Timeline" (http://www.zenphoto.org/trac/timeline).
It might be a bit hard to just jump into the middle of the code and understand it, but if you really want to learn about how Zenphoto works, then by all means feel free. Then one day you could be the one submitting patches to fix bugs.
For your education, the fix was in two places. The first you note in admin functions. There the folder name of the album to be moved was being appended to the destination name.
Then in class-album.php copy method it was necessary first to make an adaption to the above, but only for the part where the album was created, not for where the subalbums were copied.