coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: jphahn on August 08, 2006, 09:06:06 PM

Title: Fields don't match up after upload
Post by: jphahn on August 08, 2006, 09:06:06 PM
After uploading a single image my custom fields don't match up from what I entered on the upload page to what is seen in the edit file page .  The data entered in the first field on the upload screen ends up stored in the second field and vice-versa, the data in the fourth field appears in the third, and the data in the fourth field disappears.  Any ideas, maybe a problem with upload.php or could it be a database issue?

Thanks,
Jason
Title: Re: Fields don't match up after upload
Post by: Nibbler on August 08, 2006, 09:18:53 PM
Probably caused by the IPTC changes you made earlier. Check your code.
Title: Re: Fields don't match up after upload
Post by: jphahn on August 08, 2006, 09:40:15 PM
Thanks.  I just uploaded clean unchanged versions of the files from before my iptc tinkering and still have the same problem, user field 1 shows as user field 2 and vice versa, user field 3 shows as user field 4 and vice versa.  I hope the next step is not reinstall.... :(

Thanks,
Jason
Title: Re: Fields don't match up after upload
Post by: Nibbler on August 08, 2006, 09:45:12 PM
Post a link to your gallery, a test account with upload rights, and enable debug mode.
Title: Re: Fields don't match up after upload
Post by: jphahn on August 08, 2006, 10:42:17 PM
The site is http://www.royaltineimages.com/cpg/index.php

User: test
password: test

debug on.

Thanks for taking a look at this,
Jason
Title: Re: Fields don't match up after upload
Post by: jphahn on August 09, 2006, 03:30:58 AM
Seems to be working now.  I replaced a couple of files I know I have changed and updated the database and all is working as it should.

Thanks,
JAson