forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: red1946 on August 16, 2012, 02:00:23 am

Title: Upload - Title and Description do not get inserted in the DB?
Post by: red1946 on August 16, 2012, 02:00:23 am
When I try to upload a file the Title and Description fields only show up on the upload form if I'm a Guest and when I fill them out they do not get inserted in the DB? When the approval sceen comes up they are blank. Anyone help?
Title: Re: Upload - Title and Description do not get inserted in the DB?
Post by: Jeff Bailey on August 16, 2012, 02:10:06 am
http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#upload_trouble
http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm?expand_all=1#upload_support_step-by-step
Title: Re: Upload - Title and Description do not get inserted in the DB?
Post by: red1946 on August 16, 2012, 03:37:13 am
Checked and re-applied the permissions on all folders in "Album". User "tester" Pw "tester" at www.mimawscloset.com/gallery [NSFW]. Also the "Title" and "Description" fields only show on the Upload form for guests. Thanks
Title: Re: Upload - Title and Description do not get inserted in the DB?
Post by: Jeff Bailey on August 16, 2012, 03:44:47 am
<!--Coppermine Photo Gallery 1.5.18 (stable)-->
Please upgrade first.
http://documentation.coppermine-gallery.net/en/upgrading.htm#upgrade_any

Maybe one of the files is corrupt.
Title: Re: Upload - Title and Description do not get inserted in the DB?
Post by: red1946 on August 16, 2012, 03:50:23 am
Upgraded to 1.5.20 earlier.
Title: Re: Upload - Title and Description do not get inserted in the DB?
Post by: red1946 on August 16, 2012, 03:53:32 am
Performed the same way before and after the update
Title: Re: Upload - Title and Description do not get inserted in the DB?
Post by: Jeff Bailey on August 16, 2012, 03:57:28 am
Still shows 1.5.18

If you have any plugins enabled please disable them one by one and see if that changes the form.
Title: Re: Upload - Title and Description do not get inserted in the DB?
Post by: red1946 on August 16, 2012, 03:59:14 am
No plugins installed. Something go wrong with the update maybe?
Title: Re: Upload - Title and Description do not get inserted in the DB?
Post by: Jeff Bailey on August 16, 2012, 04:01:19 am
You could perform it again because it still shows 1.5.18
Title: Re: Upload - Title and Description do not get inserted in the DB?
Post by: red1946 on August 16, 2012, 04:05:18 am
OK! Any problems with doing the update over again? Any caveats?
Title: Re: Upload - Title and Description do not get inserted in the DB?
Post by: Jeff Bailey on August 16, 2012, 04:07:35 am
As long as you follow the instructions you will be fine.
http://documentation.coppermine-gallery.net/en/upgrading.htm#upgrade_any
Title: Re: Upload - Title and Description do not get inserted in the DB?
Post by: red1946 on August 16, 2012, 04:09:40 am
Thanks Jeff, I'll try the update again. Let you know what transpires.
Title: Re: Upload - Title and Description do not get inserted in the DB?
Post by: Αndré on August 16, 2012, 02:26:57 pm
Maybe you downloaded cpg1.5.18 instead of cpg1.5.20:
Users running versions prior to 1.5.20 should update immediately by downloading (https://sourceforge.net/projects/coppermine/files/Coppermine/1.5.x/cpg1.5.20.zip/download) the latest version from the download page (http://sourceforge.net/project/showfiles.php?group_id=89658) (there's currently an issue uploading new files to our download section at SourceForge - however, you can download the package here (http://sourceforge.net/projects/eenemeenemuu.u/files/cpg1.5.20.zip/download))
Title: Re: Upload - Title and Description do not get inserted in the DB?
Post by: red1946 on August 16, 2012, 05:04:12 pm
I chose re-install 1.5.20 instead of updating. I still have a similar problem only  now "Title" and "Description" fields don't show on the "Upload" form for guests but do for administrators and registered users. When I first tested this guests and registered users worked fine but administrators did not. I'm so confused!

Title: Re: Upload - Title and Description do not get inserted in the DB?
Post by: Αndré on August 16, 2012, 05:11:05 pm
Those fields are displayed for me (as guest) as expected at http://www.mimawscloset.com/gallery/upload.php
Title: Re: Upload - Title and Description do not get inserted in the DB?
Post by: red1946 on August 16, 2012, 05:20:10 pm
http://www.mimawscloset.com/gallery/upload.php is the 1.5.18 install I tried to update. The new install is at http://www.mimawscloset.com/gallery2/upload.php.
Title: Re: Upload - Title and Description do not get inserted in the DB?
Post by: Jeff Bailey on August 16, 2012, 11:36:24 pm
Those fields arn't suppose to show for guests, it's expected behavior.
Quote from: http://documentation.coppermine-gallery.net/en/known_issues.htm
If you allow guests to upload files to your gallery, they won't be able to add file details. This feature has been disabled as it's not possible to identify the user without fail (see thread). Additionally it may attract spammers to add textual content to your gallery. If you want to enable that feature anyway, find Coppermine's configuration table in the database and change the value of allow_guests_enter_file_details to '1'.

see:
http://forum.coppermine-gallery.net/index.php/topic,74447.msg358384.html#msg358384

So to make it work:
Upgrade your gallery then make the suggested database changes.