title & description missing from upload page title & description missing from upload page
 

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

Main Menu

title & description missing from upload page

Started by mark_rh, February 22, 2012, 06:17:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mark_rh

Hi,

We have just updated a couple of our galleries to v1.5.18 from the old v1.4.x series but have run into a small problem with the file upload page. Basically we don't allow new user registrations but we do allow Anonymous/Guest uploads. Anonymous uploading works fine but for some reason the boxes where you would enter the picture's title, description, etc. are not visible to Guests ? (They are visible if I'm logged in to my admin account)

I looked trough the documentation but can't find any relevant settings to change.

Any help world be appreciated.

Cheers,

Mark

Αndré

I guess you're talking about the simple upload page? Please post a link to your gallery.

mark_rh

It's actually both the simple and the flash upload pages but only when you're not logged in with the admin account ?

Here's a link to one of the galleries ...
  http://www.oldcuriosityshop.net/draculas-mirror/

mark_rh

After looking through upload.php I worked out what was causing the problem.

It appears that display of the title/description boxes is governed by a setting named "allow_guests_enter_file_details" and this was set to "0" on both of our upgraded galleries. As I couldn't find anywhere to change this from the admin interface I tried manually updating the config table and it worked.


UPDATE cpgprefix_config
SET `value` = '1'
WHERE `name` = 'allow_guests_enter_file_details';


Αndré

From the docs:
Quote from: http://documentation.coppermine-gallery.net/en/known_issues.htmIf 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'.


Thanks for resolving your thread. You can mark your thread as solved in our board by
Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.

I've just done that for you.