Login Inop - Re

6 posts by 2 authors in: Forums > CMS Builder
Last Post: September 17, 2009   (RSS)

By rentittoday - September 15, 2009 - edited: September 15, 2009

Team Interactive Tools,

I hope all is well. I am having issues with my login. It keeps redirecting me.

If you go to www.rentittoday.com and click the Orange Login Button, Enter Your Password It Takes You Into the system. The problem is when you click Add Listings it logs me out then redirects me to http://www.rentittoday.com/cmsadmin/admin.php Then if i enter a my user name and password It lets me in and then i can add listings and do what ever i want.



Any ideas?

Thanks,

Jason Glass
Jason Glass

Re: [rentittoday] Login Inop - Re

By Chris - September 15, 2009 - edited: September 17, 2009

Hi Jason,

It seems like you're using two separate login systems?

One quick fix, if you're sure people have the same login info in both systems would be to change your CMS Builder login link to include the user's username and password. For example:

EDIT: example was wrong, please see below

I hope this helps! :)
All the best,
Chris

Re: [chris] Login Inop - Re

I do not believe that it is two different systems. But it may very well be.
We have a custom user account page that displays a list of the Current Users listings as well as their account details (which is why we have them log in).
On that page there is also a button to add listings, that links to the admin.php in CMS. Before we upgraded to the newest version it worked fine.

I did try your code but for some reason it reads the // in the redirect part of the code as a comment.
http://www.rentittoday.com/cmsadmin/admin.php?action=loginSubmit&username=<?php echo urlencode($username);>&password=<?php echo urlencode($password);>&redirectUrl=http://www.rentittoday.com/cmsadmin/admin.php
Jason Glass

Re: [rentittoday] Login Inop - Re

By Chris - September 17, 2009

Hi Jason,

Oops, I should have URL encoded that! Also, my PHP tags were missing closing ?s! What was I thinking?!

http://www.rentittoday.com/cmsadmin/admin.php?action=loginSubmit&username=<?php
echo urlencode($username); ?>&password=<?php echo urlencode($password);
?>&redirectUrl=http%3A%2F%2Fwww.rentittoday.com%2Fcmsadmin%2Fadmin.php


I'm not sure why this would have stopped working when you upgraded. It could be that we changed how our sessions work. Can you post the PHP source code for your custom login?
All the best,
Chris

Re: [rentittoday] Login Inop - Re

By Chris - September 17, 2009

Hi Jason,

Can you private message me your FTP login info? I'll see if I can get this fixed quickly for you. :)
All the best,
Chris