Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Members have to re login after uploading  (Read 2368 times)

0 Members and 1 Guest are viewing this topic.

dolphinwen

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Members have to re login after uploading
« on: February 04, 2009, 11:28:16 pm »

After the members post a photo, they are having to log in again.  They are logged in, post a photo, but then when it takes them back to the homepage of the gallery it says they need to login.

www.thescrapcity.com/gallery
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Members have to re login after uploading
« Reply #1 on: February 05, 2009, 07:23:41 am »

If this happens to registered users it would be very helpfull if you posted a non-admin test user account, don't you agree?. In fact, you should do exactly as suggested in the docs, section "asking for support on upload issues".
Logged

Riox

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 55
Re: Members have to re login after uploading
« Reply #2 on: February 07, 2009, 07:17:07 pm »

Change
Code: [Select]
URL of your coppermine gallery folder (no 'index.php' or similar at the end) to http://www.thescrapcity.com/gallery/

http://www.thescrapcity.com/gallery/ and
http://thescrapcity.com/gallery/
are not the same!

To avoid such problems you can use the following lines in your .htaccess file to force only the www version of your web site:
Code: [Select]
RewriteEngine on
RewriteCond %{HTTP_HOST} !^http://www.thescrapcity.com$
RewriteRule ^(.*)$ http://www.thescrapcity.com/$1 [R=301]

also, rename the gallery cookie so all cookies for http://thescrapcity.com/ go bad :)

Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.