Custom Field Location Needed For Rebuild
1294dahl
Joined: 2006-01-13
Posts: 35 |
Posted: Mon, 2009-03-09 21:54 |
The following information is required to get an answer: Hello, I am ultimately trying to upgrade to 2.3. In the steps to get there my entire gallery 1.2 was lost. I installed 1.6 and found old album files that I imported and now I have migrated to 2.3. In this process my custom fields seemed to be lost. I need to know where they are stored? I need this information because I have an old backup of the 1.2 installation. In this backup I want to extract the custom field information and put it in the 1.6 installation. Then when I import the albums to 2.3 that information will come too. The backup is very old so I am hoping I can just grab the appropriate file(s). Thanks, Randal |
|
Posts: 35
I just need to know where that data is stored. Can anybody help me?
**************************************
"The Herbs Place" for People and Pets
Supplements, Herbs, Pet Foods, and More!
http://www.theherbsplace.com
<a href="http://www.theherbsplace.com"> The Herbs Place </a>
**************************************
Posts: 27300
I would assume photo.dat for the items and album.dat for the albums.
If you want to inspect the data, grab Bharat's http://codex.gallery2.org/index.php/Downloads:PHP_Deserialize, a Perl script which dumps the data out in human-readable form.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 35
I have tried the program you suggested and I am having a warning message pop up:
Expected '"' at 21155, found '1' instead
This program works fine on the album.dat file. I looked at the content of the file and can't see where it ever goes to position 21,155.
Looking at the file:
Well I think you get the picture [The last item is 21109] The commenter intended a return here, can that not be done?
GOD'S Best to You & Yours, [The first letter starts at position 1]
Please advise because I need to see if I have all the details from this file before I backup over it.
If the program won't work with returns in the comments then please give me the end of record denoter for the photos.dat file. I can then use Excel to open the file and read the contents. As it is, I haven't been able to notice what denotes and end of record. This causes Excel to make it all one record.
Thanks,
Randal
**************************************
"The Herbs Place" for People and Pets
Supplements, Herbs, Pet Foods, and More!
http://www.theherbsplace.com
<a href="http://www.theherbsplace.com"> The Herbs Place </a>
**************************************
Posts: 27300
Never used the script so you are on your own unless somebody else chimes in.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 35
Thanks for letting me know. I'll just have to hope someone will.
Randal
**************************************
"The Herbs Place" for People and Pets
Supplements, Herbs, Pet Foods, and More!
http://www.theherbsplace.com
<a href="http://www.theherbsplace.com"> The Herbs Place </a>
**************************************