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:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL: http://www.theherbsplace.com/gallery1.6/
Gallery version: 1.6
Apache version: Apache/2.0.52 (Red Hat)
PHP version: 4.4.6
Graphics Toolkit: ImageMagick
Operating system: OS X 10.4
Web browser/version (if applicable): FF 3.0.7

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
**************************************
"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>
**************************************

 
1294dahl

Joined: 2006-01-13
Posts: 35
Posted: Tue, 2009-03-10 14:09

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>
**************************************

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2009-03-10 17:27

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

 
1294dahl

Joined: 2006-01-13
Posts: 35
Posted: Tue, 2009-04-21 13:16

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>
**************************************

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2009-04-21 13:29

Never used the script so you are on your own unless somebody else chimes in.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
1294dahl

Joined: 2006-01-13
Posts: 35
Posted: Wed, 2009-04-22 02:37

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>
**************************************