Author Topic: Login issue  (Read 12071 times)

0 Members and 1 Guest are viewing this topic.

Offline Babybrit

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • BritneyInsider
Login issue
« on: August 17, 2010, 10:02:15 AM »
I can't log in to my gallery admin section or the normal gallery at all .... it loads like its going to cause the password is correct but then goes back to the log in page.... please help

I installed the new update... still can't log in.... also did a password reset and still can't... how can I fix this.
« Last Edit: August 17, 2010, 02:15:33 PM by Babybrit »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Login issue
« Reply #1 on: August 17, 2010, 02:46:39 PM »
Sounds like there is a problem with sessions on the server itself. If even unmodified 4images doesn't work, then contact your host's administrator, 4images requires PHP sessions
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Babybrit

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • BritneyInsider
Re: Login issue
« Reply #2 on: August 17, 2010, 11:39:35 PM »
my host is Bravenet.com ... I have full access to the site to edit it. what do i need to ask them to do...

the site is www.mybritneyinsider.com/Pictures/

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Login issue
« Reply #3 on: August 18, 2010, 12:36:45 AM »
just to be sure, what exactly did you do to reset the password?
did you do as suggested in FAQ -> Lost admin password - what to do? ?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Babybrit

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • BritneyInsider
Re: Login issue
« Reply #4 on: August 19, 2010, 02:08:09 AM »
just to be sure, what exactly did you do to reset the password?
did you do as suggested in FAQ -> Lost admin password - what to do? ?

UPDATE `bisidergallery_1913666`.`4images_users` SET `user_name` = '21232f2*************a801fc3',
`user_password` = 'admin' WHERE `4images_users`.`user_id` =1;

if I did that right it did not fix it at all.
« Last Edit: August 19, 2010, 03:27:29 AM by V@no »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Login issue
« Reply #5 on: August 19, 2010, 03:27:07 AM »
um...if that is exactly what you did, then no, it is not correct...you've put password into username and username into password ;)

P.S. for your protection I've altered password in your post.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Babybrit

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • BritneyInsider
Re: Login issue
« Reply #6 on: August 19, 2010, 03:47:54 AM »
um...if that is exactly what you did, then no, it is not correct...you've put password into username and username into password ;)

P.S. for your protection I've altered password in your post.

Ok thanks... I changed them around and now it does not even try to load the log in it just refreshes it.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Login issue
« Reply #7 on: August 19, 2010, 04:54:02 AM »
Did you do any modifications in the code?

For some reason your site returns two sets of cookies when you try to login:
Code: [Select]
Set-Cookie: 4images_lastvisit=1282185938; expires=Fri, 19-Aug-2011 02:49:28 GMT
Set-Cookie: 4images_userid=-1; expires=Fri, 19-Aug-2011 02:49:28 GMT
Set-Cookie: 4images_userpass=deleted; expires=Wed, 19-Aug-2009 02:49:27 GMT
Set-Cookie: 4images_lastvisit=1282186157; expires=Fri, 19-Aug-2011 02:49:28 GMT
Set-Cookie: 4images_userid=1; expires=Fri, 19-Aug-2011 02:49:28 GMT
Note the line with 4images_userpass that is exactly what your server returns, I didn't alter that. That is not something 4images does, it look like you've changed something in the code.

When you login at normal login page (not ACP) and selected "Log me on automatically next visit?", then you stay logged in fine, and that is the cookies server returns:
Code: [Select]
Set-Cookie: 4images_lastvisit=1282184897; expires=Fri, 19-Aug-2011 02:45:38 GMT
Set-Cookie: 4images_userid=-1; expires=Fri, 19-Aug-2011 02:45:38 GMT
Set-Cookie: 4images_userpass=21232f**************801fc3; expires=Fri, 19-Aug-2011 02:45:38 GMT
Set-Cookie: 4images_lastvisit=1282185604; expires=Fri, 19-Aug-2011 02:45:38 GMT
Set-Cookie: 4images_userid=1; expires=Fri, 19-Aug-2011 02:45:38 GMT
Again, it returns two sets...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Babybrit

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • BritneyInsider
Re: Login issue
« Reply #8 on: August 19, 2010, 08:27:11 AM »
Did you do any modifications in the code?

For some reason your site returns two sets of cookies when you try to login:
Code: [Select]
Set-Cookie: 4images_lastvisit=1282185938; expires=Fri, 19-Aug-2011 02:49:28 GMT
Set-Cookie: 4images_userid=-1; expires=Fri, 19-Aug-2011 02:49:28 GMT
Set-Cookie: 4images_userpass=deleted; expires=Wed, 19-Aug-2009 02:49:27 GMT
Set-Cookie: 4images_lastvisit=1282186157; expires=Fri, 19-Aug-2011 02:49:28 GMT
Set-Cookie: 4images_userid=1; expires=Fri, 19-Aug-2011 02:49:28 GMT
Note the line with 4images_userpass that is exactly what your server returns, I didn't alter that. That is not something 4images does, it look like you've changed something in the code.

When you login at normal login page (not ACP) and selected "Log me on automatically next visit?", then you stay logged in fine, and that is the cookies server returns:
Code: [Select]
Set-Cookie: 4images_lastvisit=1282184897; expires=Fri, 19-Aug-2011 02:45:38 GMT
Set-Cookie: 4images_userid=-1; expires=Fri, 19-Aug-2011 02:45:38 GMT
Set-Cookie: 4images_userpass=21232f**************801fc3; expires=Fri, 19-Aug-2011 02:45:38 GMT
Set-Cookie: 4images_lastvisit=1282185604; expires=Fri, 19-Aug-2011 02:45:38 GMT
Set-Cookie: 4images_userid=1; expires=Fri, 19-Aug-2011 02:45:38 GMT
Again, it returns two sets...

The only Mods I did was in the Templates wouldn't know how to add those ones in.... how do I get rid of that...

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Login issue
« Reply #9 on: August 19, 2010, 02:33:06 PM »
First you need to find what causing this. Search in all files for keyword "delete" (no quotes), if you find anything related to cookies, it could be it.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Babybrit

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • BritneyInsider
Re: Login issue
« Reply #10 on: August 24, 2010, 01:26:54 AM »
First you need to find what causing this. Search in all files for keyword "delete" (no quotes), if you find anything related to cookies, it could be it.

Showing rows 0 - 1 (2 total, Query took 0.0007 sec)

SELECT *
FROM `bisidergallery_1913666`.`4images_settings`
WHERE (
`setting_name` LIKE '%delete%'
OR `setting_value` LIKE '%delete%'
)
LIMIT 0 , 30

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Login issue
« Reply #11 on: August 24, 2010, 03:04:42 AM »
Can you create a ftp account for me to your site and setup a test 4images gallery so I can do some testings on it?
PM me with the info if you up to it ;)
« Last Edit: August 24, 2010, 03:39:27 AM by V@no »
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Babybrit

  • Newbie
  • *
  • Posts: 15
    • View Profile
    • BritneyInsider
Re: Login issue
« Reply #12 on: August 24, 2010, 07:30:56 AM »
Can you create a ftp account for me to your site and setup a test 4images gallery so I can do some testings on it?
PM me with the info if you up to it ;)

hey I sent you through my log ins... I trust you... I think it was edited a few months back when I was hacked....
They wiped my whole site and just left the back ground images. the gallery didn't seem to be touched at the time but now I think it was.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Login issue
« Reply #13 on: August 25, 2010, 04:53:34 AM »
Ok, your gallery is fixed now :)

For anyone having same problem, the fix was posted: [1.7.1 - 1.7.8] Can't login
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline kai

  • Administrator
  • Addicted member
  • *****
  • Posts: 1.423
    • View Profile
    • 4images - Image Gallery Management System
Re: Login issue
« Reply #14 on: August 25, 2010, 08:28:04 AM »
Thanks V@no to sorting this out!
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search