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: Login issues  (Read 4262 times)

0 Members and 1 Guest are viewing this topic.

S-Unit

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Login issues
« on: January 16, 2006, 08:43:26 pm »

Hello Coppermine-gallery supporter,

I can not login to my Coppermine-gallery. A warning message appears: "Your Browser does not accept the cookies of this script."

This problems has occured after Coppermine-gallery has been running about one day. This is the second time that I have installed Coppermine-gallery.
Before I have had the same problem. Paradoxically the login problem has occured everytime after 1-2 days. Using Mozilla Firefox or Internet Explorer does not make a difference. Both browser accept cookies. Other people do have the same problem logging in with my data.

I have not changed the cookie names. I have made modifications in the theme folder to adjust the page to my design. I have included the gallery script into my page using <?php require('head.php'); ?> and <?php require('head.php'); ?>.

URL: http://ffm.junetz.de/liebig/ps_ssvs/cpg143/index.php?seite=galerie

Data for entering website
Account: shieh
Password: 2k6

Data for entering gallery
Account: shieh
Password: hokay

If you could help me to solve this problem I would be very glad. Thank you very much.


Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Login issues
« Reply #1 on: January 17, 2006, 08:19:45 am »

adding your cutom header disables coppermine's (or rather PHP's) ability to set cookies, they have to be set before header data is sent. As a result, there are no cookies that could be used to log in. Undo your changes, coppermine just doesn't work that way. If you need to add a custom header that includes your site navigation, use the custom header settings in coppermine's config. However, you can't add everything there - only HTML markup that is suppossed to show up within the <body> section of a page is valid. I suggest you create your own coppermine theme that matches the overall look of your page as suggested in the coppermine docs.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.