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] 2   Go Down

Author Topic: registered users login doesnt work  (Read 11579 times)

0 Members and 1 Guest are viewing this topic.

aton

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
registered users login doesnt work
« on: July 26, 2004, 01:37:35 pm »

hi!

i am experiencing big problems with the login of registered users. depending on the browser one uses, the errors differ:
mozilla on linux lets you login without problems.
konqueror on linux makes coppermine say "it seems your browser doesnt accept cookies", though i allowed all cookies in the settings.
internet explorer on windows makes coppermine show the login screen saying "welcome, aton" but then the redirection redirects to a wrong page which gives a 404...

i am having similar problems with phpbb, there konqueror and ie will let me login correctly, while mozilla wont.

what am i doing wrong?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: registered users login doesnt work
« Reply #1 on: July 26, 2004, 02:43:43 pm »

What did you set as cookie path in coppermine config? In IE, there are privacy settings you might want to check. Please post a link to your page (together with a test user account if possible - non-admin!).

GauGau
Logged

Roland_Deschain

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
    • http://www.fottergrafs.de.tt/
Re: registered users login doesnt work
« Reply #2 on: July 26, 2004, 05:38:45 pm »

I experience the same problem with Internet Explorer. Mozilla and Opera both work, IE won't. It's just as described above. I did not set any cookie path, it's still as it was as default ( / )

If you want to have a look, go to http://www.fottergrafs.de.tt/
I created a test account as well, username & password is test

Hope you can help me.

Roland
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: registered users login doesnt work
« Reply #3 on: July 26, 2004, 08:33:58 pm »

These cookie problems are often caused by you pc clock being wrong.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Roland_Deschain

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
    • http://www.fottergrafs.de.tt/
Re: registered users login doesnt work
« Reply #4 on: July 28, 2004, 10:02:04 am »

The problem occurs with several users and only with IE. What do you mean by pc clock? The time? Even when IE is set to accept all cookies it does not work. It even says that the browser does not accept cookies.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: registered users login doesnt work
« Reply #5 on: July 28, 2004, 10:11:50 am »

actually, your whole login mechanism doesn't work because you use some tricks to hide your true url. Your initial page is not located at http://www.fottergrafs.de.tt/ ,  but here: http://roland_deschain.funpic.de/fottergrafs/
When loging in, the redirect tries to send me to /roland_deschain/fottergrafs/, which doesn't exist, so I'm being sent to a 404 page.
Basically, you have set up your subdomain stuff wrong. Fix this first.

GauGau

P.S. You're using the outdated version cpg1.2.1, you should upgrade to cpg1.3.x asap. I moved your posting to the proper support board.
Logged

Roland_Deschain

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
    • http://www.fottergrafs.de.tt/
Re: registered users login doesnt work
« Reply #6 on: July 28, 2004, 04:17:09 pm »

Hi GauGau,

I changed the url-cloaking and it now shows the true url. As well, I upgraded to cpg 1.3.1. Nevertheless I get the 404 page. Is it possible to change the redirect options in coppermine? But basically I think that this problem is due to my free online space provider. But it isn't that bad, in opera I can log in, get the 404, return to the main page and reload it and after that I'm logged is. This isn't a great solution, but at least I can log in. In IE, on the other hand, this doesn't work and I still get the message that my browser doesn't accept cookies even if I change the settings to accept all cookies. I wonder why this only happens with Internet Explorer.

Greets,
Roland
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: registered users login doesnt work
« Reply #7 on: July 28, 2004, 08:05:08 pm »

post your cookie settings in coppermine config and the "target address for ecards".

GauGau
Logged

aton

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: registered users login doesnt work
« Reply #8 on: July 29, 2004, 02:19:32 am »

gaugau, i am using a frame redirection to hide my true url, too ... but i want to keep that. is it possible to hack some lines in the coppermine source to redirect the ppl to the correct page?

if that works, i think then the cookies will work, too, because i.e. and mozilla dont say anything about problems, just redirect to 404...

another problem is that when i try to turn a picture by for example 90° in the gallery, then i get an error:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /gallery/picEditor.php.
Reason: Document contains no data

... this is because of the wrong address, too, i think.
i would really like to keep my ugly real address hidden from the browsers address line. :/

« Last Edit: July 29, 2004, 02:32:17 am by aton »
Logged

Roland_Deschain

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
    • http://www.fottergrafs.de.tt/
Re: registered users login doesnt work
« Reply #9 on: July 29, 2004, 12:43:23 pm »

post your cookie settings in coppermine config and the "target address for ecards".

GauGau

Cookie settings:
Name of the cookie used by the script (when using bbs integration, make sure it differs from the bbs's cookie name): cpg11d        
Path of the cookie used by the script : /

I don't think I changed anything here, it should still be the default settings.

Roland   
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: registered users login doesnt work
« Reply #10 on: July 29, 2004, 01:07:44 pm »

Target address for the 'See more pictures' link in e-cards ?`

GauGau
Logged

Roland_Deschain

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
    • http://www.fottergrafs.de.tt/
Re: registered users login doesnt work
« Reply #11 on: July 29, 2004, 02:39:39 pm »

Target address for the 'See more pictures' link in e-cards ?`

GauGau

Sorry, forgot that: Target address was http://www.fottergrafs.de.tt, but I changed it to http://roland_deschain.funpic.de/fottergrafs/

Roland
Logged

aton

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: registered users login doesnt work
« Reply #12 on: July 29, 2004, 07:51:41 pm »

thanks, i changed the link in the e-cards thing and it now works perfectly. i dont use any ecards though, so i dont know what the problem was ... anyways thanks a lot
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: registered users login doesnt work
« Reply #13 on: July 29, 2004, 08:10:45 pm »

This heading is mis-named, as it is used by lots of the code, not just ecards, and causes problems if not correct.

It is being re-labelled for the next version.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Roland_Deschain

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
    • http://www.fottergrafs.de.tt/
Re: registered users login doesnt work
« Reply #14 on: July 30, 2004, 09:10:43 am »

After changing the e-card-Link the redirect-Problem seems to be gone, but it is still not possible to log in with Internet Explorer. When I log in it says Hello XXX, then I'm redirected to the main page but logged out again.

Greets,
Roland
Logged

aton

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: registered users login doesnt work
« Reply #15 on: July 30, 2004, 04:31:21 pm »

mh logging in, posting comments and everything works now.

but when logged in as admin and trying to edit a picture with picEditor, i see the picture, then i choose rotate 90° and 100% quality, click on "save" and get :

Proxy Error
The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request POST /gallery/picEditor.php.

Reason: Document contains no data

Apache Server Port 80
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: registered users login doesnt work
« Reply #16 on: July 30, 2004, 04:50:22 pm »

We have a one question per thread policy on this board. As your initial issue with login was solved, post a new thread.

GauGau
Logged

Roland_Deschain

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
    • http://www.fottergrafs.de.tt/
Re: registered users login doesnt work
« Reply #17 on: August 01, 2004, 04:31:03 pm »

Hm, seems like I was to fast in saying that the redirection works now. I tried again today and got the redirection problem again, even though I changed the "Link in eCard-address to the proper url of the main page.
As well, it is still not possible to log in with Internet Explorer. Opera works, I do not get redirected to the main page but I can reload it and am logged in after that.
Any ideas what might still be wrong?

Roland
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: registered users login doesnt work
« Reply #18 on: August 02, 2004, 08:23:20 am »

the redirection points to /roland_deschain/fottergrafs/, which is not there. Why don't you create it and add a redirector there. The whole issue comes from your "strange" usage of subdomains, trying to cloak the real url. I recommend dropping it entirely.

GauGau
Logged

Roland_Deschain

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 59
    • http://www.fottergrafs.de.tt/
Re: registered users login doesnt work
« Reply #19 on: August 02, 2004, 08:58:06 am »

OK, the redirection is now set to http://roland_deschain.funpic.de/fottergrafs/index.php, this is the original url of the main page (got this wrong when I used http://roland_deschain.funpic.de/fottergrafs/, sorry). Redirection seems to work now. But the problem with the Internet Explorer remains. It tells me "Warning your browser does not accept script's cookies", lets me login, says hi XXX, redirects me to the start page and there I'm not logged in. My clock works properly and there are several other IE-Users with the same problem. Other browsers work fine. (I'm telling everybody to quit using IE anyway  ;), but most don't want to use anything else.)

Roland
Logged
Pages: [1] 2   Go Up
 

Page created in 0.038 seconds with 18 queries.