Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #11  
Old 07-17-2008, 07:15 PM
torby Offline
forum loafer
 
Join Date: Jul 2008
Posts: 2
Hi!

I've been suffering from the same problem myself - I keep getting kicked back to .../admin/index.php?x=login. Tried Opera, IE and Firefox.

However - I believe I've found a workaround, so please test this extremely complicated solution and give feedback.

After getting kicked back to the login page, simply press the login button again, without entering user/pass.

Worked for me. Tested in Opera 9.51 and IE 6.0 so far.
Reply With Quote
  #12  
Old 07-20-2008, 02:06 AM
robbkore Offline
forum loafer
 
Join Date: Jul 2008
Posts: 1
I resolved this issue!

I was having the same problem and started poking around the code to see if I could figure it out myself.

There are two changes which have to be made in order for the login system to function properly:

1) Open admin/index.php in your editor of choice.

2) Find the line that says session_start();
(Line 56)

3) Move this line to ABOVE where is says error_reporting(0);
(Line 42)

4) Find the line which reads if(($cfgrow['admin'] == $_POST['user']) AND ($cfgrow_password == $cfgrow['password']))
(Line 159)

5) Replace it with this: if($cfgrow['admin'] == $_POST['user'] && $cfgrow_password == $cfgrow['password'])

6) Save the file

7) If you are running this on a server FTP in to the server and browse to your document root folder and then the admin folder

8) Overwrite the file

9) Try to login again


This fixed the issue on my specific host, not sure if this will work for everyone.
Reply With Quote
  #13  
Old 07-20-2008, 11:46 AM
torby Offline
forum loafer
 
Join Date: Jul 2008
Posts: 2
Robbkore, - I tried your solution, but unfortunately it didn't work for me.

I've also found that my solution works regardless of previous login attempts, I can simply just press login without entering user and pass. So this is a serious security issue. I've tested this on IE, FF and Opera, with all cookies cleared etc.

EDIT - Update:
After applying Robbkore's solution, I changed the admin username and password, and everything seems to work normally now! Thanks!

EDIT 2: Before I changed the username and password, the admin panel showed no username or password, so this could mean that they were not stored initially. So for those who can't login, try with blank user/pass and then change.

Last edited by torby; 07-21-2008 at 01:20 PM.
Reply With Quote
  #14  
Old 12-01-2008, 02:35 AM
dayzee Offline
forum loafer
 
Join Date: Dec 2008
Posts: 3
same problems

hello everybody,

i've been reading all the posts related to the admin login problem and still i'm not able to solve my problem.

so...downloaded pixelpost, installed, everything ran fine until the admin login page. user & pass fine but still not able to log in. tried to reset the password, the following message came:

'The username you have mentioned is not the same as the admin user of Pixelpost.

Back to admin page.'

as a result, i can not reset.

tried everything else, fresh new copy of pp reinstalled, different user& pass, check& uncheck the remember me, no user&pass...still, the same thing.

what's up with this? what am i supposed to do now? any recent experience?

thank you.
Reply With Quote
  #15  
Old 12-01-2008, 09:36 AM
Dennis's Avatar
Dennis+ Offline
Team Pixelpost
 
Join Date: Jul 2006
Posts: 2,394
Send a message via MSN to Dennis
Try clicking the "remember me" option.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
Reply With Quote
  #16  
Old 12-01-2008, 10:45 AM
dayzee Offline
forum loafer
 
Join Date: Dec 2008
Posts: 3
@dennis

You mean, the 'Log me on automatically each visit' option, right? I tried that. Not working.

I'm with hostpapa, shoud that make any difference?

Thank you.
Reply With Quote
  #17  
Old 12-01-2008, 04:02 PM
mobius55 Offline
forum loafer
 
Join Date: Nov 2008
Posts: 9
Same problem with login, NOT a new install!

I'm also experiencing inability to login to my Admin Pages, but this is an install a couple of weeks old that has been working fine, no recent upgrades or changes (of which I am aware). Today I cannot login. Tried requesting a new password, which the system DID send, but I still just get bounced back to empty username and password fields. Tried logging in from different computers to assure it isn't a cookie or other local browser issue.

Can anyone advise what tables in the DB may have been fried and how I can repair? The fact the the NEW password is not functional tells me that there's a deeper problem, I have to suspect corruption of the DB as the culprit.

Thanx!
Reply With Quote
  #18  
Old 12-01-2008, 04:30 PM
mobius55 Offline
forum loafer
 
Join Date: Nov 2008
Posts: 9
Smile My Problem Solved - Try This, Maybe?

Went into my webserver and discovered that permissions to the pixelpost/includes/ folder did not have CHMOD 777 permissions any longer. Reset to 777 & login works again. This is not the first time I've seen folder permissions 'go south' for no apparent reason, so it's not a big surprise. Others experiencing login issues might want to check this, hope this helps someone else :-)

CR
Reply With Quote
  #19  
Old 12-01-2008, 05:09 PM
dayzee Offline
forum loafer
 
Join Date: Dec 2008
Posts: 3
Mine has it set to 777 but still no go. Went to the db, checked, user &pass are there, still, a mistery to me how it's not working.

I can't send a request for a new pass cause it bounces back to the login screen with:
'Username or Password incorrect'. Am I missing smth here?

Really, really frustrating...

Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 02:44 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs