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

Author Topic: logging in problems  (Read 6105 times)

0 Members and 1 Guest are viewing this topic.

stonesy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
logging in problems
« on: December 01, 2006, 06:27:28 pm »

After MANY hours searching for a way to solve this problem i admit defeat and i'll ask the experts  ;)

The main problem i have now is i can't log in to my gallery.If i try to log in with my 'normal' details i get the error can't log in
When i try with mt admin log in i get the welcome and then i'm logged out again.

I've deleted cookies/temp files.

I reinstalled the gallery and it works fine with the same database but when i change config.inc.php to the prevous tables i get the problem.I've not/never installed any mods/hacks

Also noticed if i request a new password/password lost i get :-

Here is the new password you requested: Username: stonesy Password: ********* Click http://coppermine.sourceforge.net/login.php to log in.

my gallery is http://www.tribal-living.co.uk/gallery

Thank you in advance for your time and help
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: logging in problems
« Reply #1 on: December 02, 2006, 07:33:49 am »

Here is the new password you requested: Username: stonesy Password: ********* Click http://coppermine.sourceforge.net/login.php to log in.

my gallery is http://www.tribal-living.co.uk/gallery
Then you have failed to provide the actual URL in coppermine's config, that's why the login fails (you still have the default value there). Try to log in manually without clicking the link and review your config. If you can't access it, edit directly in your database. Use a tool like phpMyAdmin, browse the table yourCopperminePrefix_config, find the entry "ecards_more_pic_target" and change it to "http://www.tribal-living.co.uk/gallery"
Logged

stonesy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: logging in problems
« Reply #2 on: December 02, 2006, 12:01:48 pm »

THANK YOU very much for your time  8)
That has solved the email password problem,However i am still un able to log in.Still the same as before.
*** Couldn't log in. Try again ***

If i log in with my admin password i get logged in then its as if i haven't loged in  :(
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: logging in problems
« Reply #3 on: December 02, 2006, 02:47:26 pm »

So your login doesn't stick? Mind the use of the www subdomain.
Logged

stonesy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: logging in problems
« Reply #4 on: December 02, 2006, 03:03:22 pm »

the admin login doesn't stick and normal members login get 'can't log in'

'Mind the use of the www subdomain.'
Im not sure what you mean here.....   if you mean
http://tribal-living.co.uk/gallery/index.php without the www i still have the same problem

Regards and thanks
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: logging in problems
« Reply #5 on: December 02, 2006, 03:05:59 pm »

Send me a PM that contains:
* a link to this thread
* a link to your page
* an admin user account and password
Logged

stonesy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: logging in problems
« Reply #6 on: December 02, 2006, 03:39:07 pm »

PM sent.
Thanks in advance
Logged

wwwilson

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: logging in problems
« Reply #7 on: December 04, 2006, 06:06:19 am »

I've had the same problem, I think.
I try to log in and it acknowledges the log in with the welcome statement and when it goes to the Home screen I'm not logged in.

This happens randomly.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: logging in problems
« Reply #8 on: December 04, 2006, 07:44:43 am »

@wwwilson: keep out of this thread. Start your own instead, posting a link and non-admin test user account if possible.

@stonesy: sorry for the delay. I didn't have the time to look into this yet.
Logged

stonesy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: logging in problems
« Reply #9 on: December 04, 2006, 06:12:31 pm »

No Problem  ;)
Logged

stonesy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: logging in problems
« Reply #10 on: December 08, 2006, 05:33:33 pm »



@stonesy: sorry for the delay. I didn't have the time to look into this yet.

Any luck yet my friend??  I really could do with getting this sorted...

Br
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: logging in problems
« Reply #11 on: December 08, 2006, 06:25:29 pm »

Oops, sorry for the delay. I must admit defeat as well - the login doesn't stick for me neither, and the cookies look OK. I tried sniffing the headers (using HTTP live headers), and I'm not sure about mod_auth_passthrough - maybe someone else could look into this? For now, I recommend two things:
  • Ask your webhost for support. Ask them if they have any hardening or security mods on their server that might interfere
  • You appear to have upgraded; let's make sure that this issue is not related to upgrading; please perform a fresh install of cpg1.4.10 into another folder (using another mysql table prefix) on your server and test authentification there
Logged

stonesy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: logging in problems
« Reply #12 on: December 08, 2006, 06:52:23 pm »


    • You appear to have upgraded; let's make sure that this issue is not related to upgrading; please perform a fresh install of cpg1.4.10 into another folder (using another mysql table prefix) on your server and test authentification there

    I've already tried this my friend and have no problem at all......

    i then edit my config.inc.php to change table prefix to my 'old tables'.... my albums/photots aprear but loging in is not possible :(
    Logged

    Joachim Müller

    • Dev Team member
    • Coppermine addict
    • ****
    • Offline Offline
    • Gender: Male
    • Posts: 47843
    • aka "GauGau"
      • gaugau.de
    Re: logging in problems
    « Reply #13 on: December 08, 2006, 06:56:33 pm »

    OK, with this piece of information we're getting somewhere. I suspect that the database update hasn't been successfull. Possible reasons: your mysql user doesn't have the needed permissions or your sql files are outdated. Let me check option 2... It seems to be cpg1.4.9.
    You'll need to upgrade to cpg1.4.10 anyway, so I suggest you perform the upgrade now.
    Logged

    stonesy

    • Coppermine newbie
    • Offline Offline
    • Posts: 9
    Re: logging in problems
    « Reply #14 on: December 08, 2006, 07:04:47 pm »


    You'll need to upgrade to cpg1.4.10 anyway, so I suggest you perform the upgrade now.

    I'll try that now

    Thanks  ;)
    Br
    Logged

    stonesy

    • Coppermine newbie
    • Offline Offline
    • Posts: 9
    Re: logging in problems
    « Reply #15 on: December 08, 2006, 09:18:20 pm »

    Updated........  still got the same problem....   must be something to do with SQL?-- other prefix tables work fine...
     :'(
    Logged

    Joachim Müller

    • Dev Team member
    • Coppermine addict
    • ****
    • Offline Offline
    • Gender: Male
    • Posts: 47843
    • aka "GauGau"
      • gaugau.de
    Re: logging in problems
    « Reply #16 on: December 09, 2006, 07:50:10 am »

    The prefix doesn't matter. I raather suspect that some table operations performed by the updater didn't stick because of missing permissions for the mysql database user account. Please create a dump of your database (only the structure, not the actual content) and try to compare the structure to the dump of the vanilla install. If you can't, send me the dump by PM.
    Logged
    Pages: [1]   Go Up
     

    Page created in 0.022 seconds with 20 queries.