coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: dolphinwen on February 04, 2009, 11:28:16 PM

Title: Members have to re login after uploading
Post by: dolphinwen 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
Title: Re: Members have to re login after uploading
Post by: Joachim Müller 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".
Title: Re: Members have to re login after uploading
Post by: Riox on February 07, 2009, 07:17:07 PM
Change 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:
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 :)