Everlasting login in.

Permalink
After authorization on the site and after attempt to enter the control panel, the CMS is constantly sending us to the login and password page. Reinstallation didn’t help.

Below is the server configuration.

CGI:
Active
FrontPage Extensions:
No
Logs:
View Logs

Document Root:
/home/users/web/b1265/sl.digsys/public_html
Platform Type
Debian

MySQL Version
5.0.45

Perl Version
5.8.8

PHP Version
5.2.2

Path to SendMail
/usr/sbin/sendmail

Path to Perl
/usr/bin/perl

Path to PHP
/usr/local/bin/php

Is there any quick way to fix this problem? Without changing of CMS.

ugeen
 
frz replied on at Permalink Reply
frz
did you turn pretty url's on when you were last in the dashboard? this sounds like a problem someone else had after doing that.
ugeen replied on at Permalink Reply
ugeen
Again - we are loging in, URL's are turned OFF, clicking on Sidewide settings - entering USERNAME and PASS page again. That is the loop!
frz replied on at Permalink Reply
frz
who are you logging in as, admin i assume?
You can't get to ANY page in the dashboard or just some?

Can you edit pages on the front end? or as soon as you login you can't hit any page without this?

weird.
ugeen replied on at Permalink Reply
ugeen
First of all, thank you a lot for your help.
Then step by step.

1) We have only one login name - ADMIN.
2) The problem of going to the login page is acting on random basis. At the same time the page address is viewed correctly in browser but the page itself is Login and pass page.
3) SOMEtimes after entering the settings and throwing out on the login and pass page we can press ENTER 3-5 times at the address bar and SOMETIMES we enter the Settings page. But only sometimes.
loko replied on at Permalink Reply
Has anyone resolved this yet? I'm having the same issue. I go to the site, click the login link, use Admin and my password and it doesn't fail per se (no error), but it just shows the login screen again.

I sometimes can manually go to the dashboard page, but usually when I click another page, I get returned to the login screen.

Thanks for any help.
ryan replied on at Permalink Reply
ryan
Did you try "admin", not "ADMIN"
- Also you may want to use the reset password feature.
If email doesn't send out on your box, you can still get the new password by looking in the "Logs" table in the db.

-- I just re-read the post, looks like your problem is a bit more messy than just access denied.

You may want to check that you have cookies (on your browser) & sessions (in php) enabled. Also clear your cache, close down your browser & delete your cookies.

I have also seen on rare occasions the directory that php is set to store session info is either full or the disk does not have any room left on it. That may cause some similar funkyness.

try printing out:
<?
echo var_dump($_SESSION);
?>

in the theme's footer:
/concrete/themes/default/elements/footer.php

That may give you some extra info to see if things are being set.
ugeen replied on at Permalink Reply
ugeen
And in footer. Under admin session.

-------Successful login---------

array(10)
{
["uGroups"]=> array(3)
{
[2]=> string(16) "Registered Users"
[3]=> string(14) "Administrators"
[1]=> string(5) "Guest" }
["uID"]=> string(1) "1"
["uName"]=> string(5) "admin" ["superUser"]=> bool(true) ["uBlockTypesSet"]=> bool(false) ["uOnlineCheck"]=> int(1235686794) ["uLastOnline"]=> int(1235686794) ["dsbSitemapNodes"]=> array(3)
{
[0]=> int(1) [1]=> NULL
[2]=> string(1) "7" } ["dsbSitemapShowSystem"]=> string(1) "1" ["editCID"]=> string(2) "69" }

-------Unsuccessful login---------

array(7)
{
["uGroups"]=> array(3)
{
[2]=> string(16) "Registered Users"
[3]=> string(14) "Administrators"
[1]=> string(5) "Guest" }
["uID"]=> string(1) "1"
["uName"]=> string(5) "admin" ["superUser"]=> bool(true) ["uBlockTypesSet"]=> bool(false) ["uOnlineCheck"]=> int(1235687018) ["uLastOnline"]=> int(1235686801) }
ugeen replied on at Permalink Reply
ugeen
There was a problem with sessions.
local Fixed. hope
----------------------------------
run
<?PHP echo dirname(__FILE__); ?>

in php_execute block.
get the full path to the site folder.
Make tmp directory for example in
full_path/public_html/tmp/
and point session.save_path in php.ini there.
for example
session.save_path = "/full_path/public_html/tmp/"
or
session.save_path = "/full_path/public_html/files/cache_objects/"
Quicker)))
----------------------------------
I am a designer, what I do? 8)))
jommla users have the same problem, thanks to their forums
AndyB37 replied on at Permalink Reply
AndyB37
I had this problem on a new install when a previous install on the same server had been working perfectly.

What happened for me was that I could get to most of the first level pages in the dashboard, but whenever I tried to go deeper (such as dashboard/install/-/packages) it would send me back to the login page - then back to the main dashboard page.

SOLUTION - for me what worked was to go into my Users and Groups setting and add my "admin" account to the "Administrators" group (which it wasn't a part of by default). Once I did that, I was able to go anywhere in the dashboard I wanted without problems.

No guarantee it's the answer to your issue, ugeen, but try it out and see if it helps.
loko replied on at Permalink Reply
None of these have worked for me. I keep getting stuck in the login loop. Very frustrating. What can I do to get a solid resolution to this?