close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Login page not redirecting to secure pages security assist 2

Thread began 10/24/2012 11:11 pm by brentkeithtaylor415603 | Last modified 11/17/2014 10:56 am by Jason Byrnes | 5700 views | 17 replies |

brentkeithtaylor415603

Login page not redirecting to secure pages security assist 2

Hi,

My login page is not redirecting correctly to any pages that are secured through access pages manager. Actually any page that has been secured will not be redirected to even from other secured pages not necessarily the login page. Is anybody else experienceing this. I have been trying to figure it out for about a day and am at my wits end.

When I log in using internet explorer the redirection address is
login.php?accesscheck=%2Fjanesitalyalternative%2Faccount%2Fmy_profile.php%3Faccesscheck%3D%252Fjanesitalyalternative%252Faccount%252Fmy_profile.php%253Faccesscheck%253D%25252Fjanesitalyalternative%25252Faccount%25252Fmy_profile.php%25253Faccesscheck%25253D%2525252Fjanesitalyalternative%2525252Faccount%2525252Fmy_profile.php%2525253Faccesscheck%2525253D%252525252Fjanesitalyalternative%252525252Faccount%252525252Fmy_profile.php%252525253Faccesscheck%252525253D%25252525252Fjanesitalyalternative%25252525252Faccount%25252525252Fmy_profile.php%25252525253Faccesscheck%25252525253D%2525252525252Fjanesitalyalternative%2525252525252Faccount%2525252525252Fmy_profile.php%2525252525253Faccesscheck%2525252525253D%252525252525252Fjanesitalyalternative%252525252525252Faccount%252525252525252Fmy_profile.php%252525252525253Faccesscheck%252525252525253D%25252525252525252Fjanesitalyalternative%25252525252525252Faccount%25252525252525252Fmy_profile.php%25252525252525253Faccesscheck%25252525252525253D%2525252525252525252Fjanesitalyalternative%2525252525252525252Faccount%2525252525252525252Fmy_profile.php%2525252525252525253Faccesscheck%2525252525252525253D%252525252525252525252Fjanesitalyalternative%252525252525252525252Faccount%252525252525252525252Fmy_profile.php%252525252525252525253Faccesscheck%252525252525252525253D%25252525252525252525252Fjanesitalyalternative%25252525252525252525252Faccount%25252525252525252525252Fmy_profile.php%25252525252525252525253Faccesscheck%25252525252525252525253D%2525252525252525252525252Fjanesitalyalternative%2525252525252525252525252Faccount%2525252525252525252525252Fmy_profile.php%2525252525252525252525253Faccesscheck%2525252525252525252525253D%252525252525252525252525252Fjanesitalyalternative%252525252525252525252525252Faccount%252525252525252525252525252Fmy_profile.php%252525252525252525252525253Faccesscheck%252525252525252525252525253D%25252525252525252525252525252Fjanesitalyalternative%25252525252525252525252525252Faccount%25252525252525252525252525252Fmy_profile.php%252525252525252525252525

In firefox
my_profile.php?accesscheck=%2Fjanesitalyalternative%2Faccount%2Fmy_profile.php%3Faccesscheck%3D%252Fjanesitalyalternative%252Faccount%252Fmy_profile.php%253Faccesscheck%253D%25252Fjanesitalyalternative%25252Faccount%25252Fmy_profile.php%25253Faccesscheck%25253D%2525252Fjanesitalyalternative%2525252Faccount%2525252Fmy_profile.php%2525253Faccesscheck%2525253D%252525252Fjanesitalyalternative%252525252Faccount%252525252Fmy_profile.php%252525253Faccesscheck%252525253D%25252525252Fjanesitalyalternative%25252525252Faccount%25252525252Fmy_profile.php%25252525253Faccesscheck%25252525253D%2525252525252Fjanesitalyalternative%2525252525252Faccount%2525252525252Fmy_profile.php%2525252525253Faccesscheck%2525252525253D%252525252525252Fjanesitalyalternative%252525252525252Faccount%252525252525252Fmy_profile.php%252525252525253Faccesscheck%252525252525253D%25252525252525252Fjanesitalyalternative%25252525252525252Faccount%25252525252525252Fmy_profile.php%25252525252525253Faccesscheck%25252525252525253D%2525252525252525252Fjanesitalyalternative%2525252525252525252Faccount%2525252525252525252Fmy_profile.php%2525252525252525253Faccesscheck%2525252525252525253D%252525252525252525252Fjanesitalyalternative%252525252525252525252Faccount%252525252525252525252Fmy_profile.php%252525252525252525253Faccesscheck%252525252525252525253D%25252525252525252525252Fjanesitalyalternative%25252525252525252525252Faccount%25252525252525252525252Fmy_profile.php%25252525252525252525253Faccesscheck%25252525252525252525253D%2525252525252525252525252Fjanesitalyalternative%2525252525252525252525252Faccount%2525252525252525252525252Fmy_profile.php%2525252525252525252525253Faccesscheck%2525252525252525252525253D%252525252525252525252525252Fjanesitalyalternative%252525252525252525252525252Faccount%252525252525252525252525252Fmy_profile.php%252525252525252525252525253Faccesscheck%252525252525252525252525253D%25252525252525252525252525252Fjanesitalyalternative%25252525252525252525252525252Faccount%25252525252525252525252525252Fmy_profile.php%25252525252525252525252525253Faccesscheck%25252525252525252525252525253D%2525252525252525252525252525252Fjanesitalyalternative%2525252525252525252525252525252Faccount%2525252525252525252525252525252Fmy_profile.php%2525252525252525252525252525253Faccesscheck%2525252525252525252525252525253D%252525252525252525252525252525252Fjanesitalyalternative%252525252525252525252525252525252Faccount%252525252525252525252525252525252Fmy_profile.php%252525252525252525252525252525253Faccesscheck%252525252525252525252525252525253D%25252525252525252525252525252525252Fjanesitalyalternative%25252525252525252525252525252525252Faccount%25252525252525252525252525252525252Fmy_profile.php%25252525252525252525252525252525253Faccesscheck%25252525252525252525252525252525253D%2525252525252525252525252525252525252Fjanesitalyalternative%2525252525252525252525252525252525252Faccount%2525252525252525252525252525252525252Fmy_profile.php%2525252525252525252525252525252525253F

Firefox displays this error.

The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

The redirection is set to account/my_profile and the session values is set to UserID - UserID.

Please help. The link to the site is login.php

Sign in to reply to this post

Jason ByrnesWebAssist

please send a copy of the login page and the profile page so i can inspect the code.

Sign in to reply to this post

brentkeithtaylor415603

Hi,

Attached is the two pages of code you asked for.

I have worked around it for now by removing all the remember me and log me in automatically as well as all the captcha security.

But would still like to know why it is not working with these features included.

Thanks for you help.

Brent

Attached Files
login.txt
my_profile.txt
Sign in to reply to this post

Jason ByrnesWebAssist

I dont anything obvious in the code.

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

bbgd

I'm having similar issues but not the same. I am trying to get the login.php page to go to the index.php page in the clientLogin sub-directory. It keeps sending to the denied.php page. I am attaching my pages to see if you can help.

When I try to get to my login.php from another page in the site I get the following error:

Warning: require_once(Connections/InterPrimus.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\InterPrimus_CC\login.php on line 1

Fatal error: require_once() [function.require]: Failed opening required 'Connections/InterPrimus.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\InterPrimus_CC\login.php on line 1

Attached Files
BBGD_11-12-14.zip
the head code from the page that generated the error.txt
Sign in to reply to this post

Jason ByrnesWebAssist

For the login page failing login, you have the wrong bindings in the authenticate user server behavior. you are using recordset bindings where you should be using the bindings for the login form.

edit the authenticate user server behavior, on the database tab, edit the bindings used for the username and password columns to use the username and password form elements rather than using the bindings from the interprimus recordset.

for the error you get on linking from a different page, I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

bbgd

See your private message.

Sign in to reply to this post

Jason ByrnesWebAssist

open the bindings panel.

Window -> Bindings

you will see that there is a biding group for the interprimus recordset, and there is another binding group for the login form

the problem with the login failing is because you used the interprimus recordset binding group in the Authenticate user server behavior.

for the login to work properly, you need to use the bindings for the login form, this will pass the username and password you enter in the form to the authenticate user server behavior.

open the server behaviors panel, Window -> Server Behaviors,

On the Database tab, click the lightning bolt icon next to the value for the username, this opens the bindings panel. expand the Login Form binding group and select the username form element.

Repeat this for the password.

Sign in to reply to this post

bbgd

See private message

Sign in to reply to this post

Jason ByrnesWebAssist

I got no error accessing that page, it was a blank page.

i turned on error reporting, and it shows a different error from what you report, it shows:

Warning: mysql_pconnect(): Access denied for user 'root'@'localhost' (using password: YES) in /home/cinder2bob/public_html/Connections/InterPrimus.php on line 9

Fatal error: Access denied for user 'root'@'localhost' (using password: YES) in /home/cinder2bob/public_html/Connections/InterPrimus.php on line 9


this means that the MySQL database is not accepting the username and password that you have entered, you do not have the correct information for connecting to the database in the connection fie.

if you are unsure of the correct information to use, contact your host, they should be able to help you the connection details.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...