, Guest!
Already a Member? Login or Register.

Menu



Showcase


Due to the volume of spam happening on our forums, posting is now restricted to verified members only.  If you're not verified, drop us a note with your username.

Home > FlexCMS Support Forum > User Help > General Support Requests > 404 error after logging in

FlexCMS Support Forum


404 error after logging in
Started April 3, 2013 @ 11:20am by roadie02h
Post Message 
roadie02h


Posts: 27
 
404 error after logging inApril 3, 2013 @ 11:20am
I have a funky thing going on. I have a number of users that cannot login. What happens on their system is they get the front page with the login script. They enter their login info and hit submit and the page goes to a 404 error page. The rest of us do not have this problem.
Any ideas.

David L


why sleep when I can work...
 
DCSun
Administrator



Posts: 625
 
April 3, 2013 @ 11:54am
I'm thinking somewhere you have code in a block that's redirecting people somewhere that's a broken link, or you have the "Destination After Login" in the Preferences set to something that no longer exists.

David


FlexCMS v3.2 Has Been Released!
 
roadie02h


Posts: 27
 
April 3, 2013 @ 12:03pm
I thought so too. But when I go to a different PC it goes right on through. I had one lady bring her laptop in so I could see what was happening. And just as she said, on her laptop I could not login past the home page. Then we went to one of my computers and bam! we got right in. I was wondering if it is a cookie issue??


why sleep when I can work...
 
DCSun
Administrator



Posts: 625
 
April 3, 2013 @ 12:11pm
I guess there could be something cached for certain people in their browser that's making it work or not but agreed it's strange. Feel free to give me access to the site if you want me to take a look.

David


FlexCMS v3.2 Has Been Released!
 
roadie02h


Posts: 27
 
April 3, 2013 @ 12:27pm
send me an email so I can pass it on securely.

David


why sleep when I can work...
 
DCSun
Administrator



Posts: 625
 
April 3, 2013 @ 12:31pm
Please send an email to .

David


FlexCMS v3.2 Has Been Released!
 
roadie02h


Posts: 27
 
April 3, 2013 @ 12:39pm
sent.


why sleep when I can work...
 
DCSun
Administrator



Posts: 625
 
April 3, 2013 @ 1:03pm
I got the error too. There's a special character in the URL which I think is the problem, but I don't see it in the page source as where that form is going. Very strange. Has anything changed there lately? Maybe look at the file dates to make sure nothing has changed that you didn't know about?

David


FlexCMS v3.2 Has Been Released!
 
roadie02h


Posts: 27
 
April 3, 2013 @ 1:29pm
Imposible to tell as these files change daily. Really..
I saw the %20 characters also. But I am going crazy trying to figure out why it fails only on a few systems and not all. So you got the 404 error message and could not get in. I set you up as an admin so that rules out the permission levels. I will try replacing the login block...

David


why sleep when I can work...
 
roadie02h


Posts: 27
 
April 3, 2013 @ 1:32pm
This is the login block code.
Notice the extra spaces on the reference code for Main URL.
'.$MainURL . '
Could that be the problem???

print '<form action="'.$MainURL . '/login-submit" method="post">Username:<br><input type="text" name="Username" size="17" maxlength="40" style="'.$FormStyle.'"><br><img src="'.$ImagesURL.'/spacer.gif" width="1" height="10" alt="" border="0"><br>Password:<br><input type="password" name="Password" size="17" maxlength="40" style="'.$FormStyle.'"><br><br><input type="submit" value=" Login " style="'.$FormStyle.'"><br><img src="'.$ImagesURL.'/spacer.gif" width="1" height="10" alt="" border="0"><br><input type="checkbox" name="StayLoggedIn" value="y"> <font size="1">Stay logged in <br>across browser sessions</font></form>';


why sleep when I can work...
 
DCSun
Administrator



Posts: 625
 
April 3, 2013 @ 1:35pm
No that part is fine, the spaces will be removed when it processes the code. If the space was within the quotes that would be a different story. If you do a "view source" the form post URL looks fine, so I'm thinking it's possibly something in the login processing code.

David


FlexCMS v3.2 Has Been Released!
 
DCSun
Administrator



Posts: 625
 
April 3, 2013 @ 1:40pm

Quote (roadie02h)

Imposible to tell as these files change daily. Really..
I saw the %20 characters also. But I am going crazy trying to figure out why it fails only on a few systems and not all. So you got the 404 error message and could not get in. I set you up as an admin so that rules out the permission levels. I will try replacing the login block...

David


I don't think the block is the problem, it looked fine to me. You can try sending me index.php and inc-core-login-submit.php if you like.

David


FlexCMS v3.2 Has Been Released!
 
roadie02h


Posts: 27
 
April 3, 2013 @ 2:11pm
Files have been sent.

THANK YOU


why sleep when I can work...
 

Post Message 




Try & Buy FeedForAll - Easy to use RSS Feed Creator - great for iTunes users!

MEMBERS




All Contents, Code, Scripts and Technologies Copyright 2003-2009 FlexCMS.
All Rights Reserved. Software License Agreement

Processing Time: 0.07511 seconds.
 
Management Login

Powered By FlexCMS
Powered By FlexCMS