Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Upload - Title and Description do not get inserted in the DB?  (Read 5191 times)

0 Members and 1 Guest are viewing this topic.

red1946

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Upload - Title and Description do not get inserted in the DB?
« 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?
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

red1946

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Upload - Title and Description do not get inserted in the DB?
« Reply #2 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
« Last Edit: August 16, 2012, 04:36:34 am by Jeff Bailey »
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Upload - Title and Description do not get inserted in the DB?
« Reply #3 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.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

red1946

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Upload - Title and Description do not get inserted in the DB?
« Reply #4 on: August 16, 2012, 03:50:23 am »

Upgraded to 1.5.20 earlier.
Logged

red1946

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Upload - Title and Description do not get inserted in the DB?
« Reply #5 on: August 16, 2012, 03:53:32 am »

Performed the same way before and after the update
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Upload - Title and Description do not get inserted in the DB?
« Reply #6 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.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

red1946

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Upload - Title and Description do not get inserted in the DB?
« Reply #7 on: August 16, 2012, 03:59:14 am »

No plugins installed. Something go wrong with the update maybe?
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Upload - Title and Description do not get inserted in the DB?
« Reply #8 on: August 16, 2012, 04:01:19 am »

You could perform it again because it still shows 1.5.18
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

red1946

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Upload - Title and Description do not get inserted in the DB?
« Reply #9 on: August 16, 2012, 04:05:18 am »

OK! Any problems with doing the update over again? Any caveats?
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Upload - Title and Description do not get inserted in the DB?
« Reply #10 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
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

red1946

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Upload - Title and Description do not get inserted in the DB?
« Reply #11 on: August 16, 2012, 04:09:40 am »

Thanks Jeff, I'll try the update again. Let you know what transpires.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Upload - Title and Description do not get inserted in the DB?
« Reply #12 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 the latest version from the download page (there's currently an issue uploading new files to our download section at SourceForge - however, you can download the package here)
Logged

red1946

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Upload - Title and Description do not get inserted in the DB?
« Reply #13 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!

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Upload - Title and Description do not get inserted in the DB?
« Reply #14 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
Logged

red1946

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Upload - Title and Description do not get inserted in the DB?
« Reply #15 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.
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Upload - Title and Description do not get inserted in the DB?
« Reply #16 on: August 16, 2012, 11:36:24 pm »

Those fields arn't suppose to show for guests, it's expected behavior.
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.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 19 queries.