close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Can't log in... error is produced.

Thread began 4/04/2010 7:53 am by webmaster403691 | Last modified 6/16/2010 2:11 pm by Eric Mittman | 1163 views | 3 replies |

webmaster403691

Can't log in... error is produced.

Hi all,

1 little issue has me stumped. User registers, gets email confirmation link and is successful, goes to log in page registra...sers_LogIn.php

Upon submitting their u and p, the page that comes up showing an error, and the url is wrong users_LogIn.php?accesscheck=%2Fregistration%2Fusers_LogOut.php

You'll notice the folder registration//registration/ twice. Why is it putting the folder in 2 times? All other paths work... strange, my global settings are as follows:

<?php
$WAGLOBAL_Root_URL = "http://www.guestmoments.com/registration/" ;
$WAGLOBAL_Captcha_Width = "200" ;
$WAGLOBAL_Captcha_Height = "40" ;
$WAGLOBAL_Captcha_Characters = "5" ;
$WAGLOBAL_Captcha_Font = "Fonts/MOM_T___.TTF" ;
$WAGLOBAL_Captcha_BG = "ffffff" ;
$WAGLOBAL_Captcha_Noise = "437b9f" ;
$WAGLOBAL_Captcha_Text = "000000" ;
$WAGLOBAL_Captcha_BG_transparent = "0" ;
$WAGLOBAL_Email_Server = "mail.guestmoments.com " ;
$WAGLOBAL_Verification_Email_Subject = "Guest Moments Partner Program Email Verification" ;
$WAGLOBAL_Verification_Email_FROM = "partners@guestmoments.com" ;
$WAGLOBAL_Verification_Email_CC = "" ;
$WAGLOBAL_Verification_Email_BCC = "" ;
$WAGLOBAL_Registration_Email_Subject = "Welcome to the Guest Moments Partner Program" ;
$WAGLOBAL_Registration_Email_FROM = "partners@guestmoments.com" ;
$WAGLOBAL_Registration_Email_CC = "" ;
$WAGLOBAL_Registration_Email_BCC = "" ;
$WAGLOBAL_Password_Email_Subject = "Your Guest Moments Partner Program Password" ;
$WAGLOBAL_Password_Email_FROM = "partners@guestmoments.com" ;
$WAGLOBAL_Password_Email_CC = "" ;
$WAGLOBAL_Password_Email_BCC = "" ;
$WAGLOBAL_Admin_UserName = "xxxxxx" ;
$WAGLOBAL_Admin_Password = "xxxxxx" ;
?>

Thanks for all your assistance!

Dino

Sign in to reply to this post

Eric Mittman

I think the problem is a combination of how you have your URL setup in the globals and how the access page restriction is setup on your logout page.

It looks like your login link is actually going to your logout page. On this page is a check to see if the user is logged in, if they are not they are taken to the login page. The problem is that the login page will try to take the user back to the logout page on a successful login.

It seems to me that you should make the link to the login page go directly to the login page, and on your logout page you might have the URL for the page to go to set incorrectly. It looks like it is using a site link and it should be using a relative link. If you can post back with your current login and logout pages I can take a look to see if I can spot the problem.

Sign in to reply to this post

gail.bergan407744

Error in documentation

You said "It looks like your login link is actually going to your logout page. On this page is a check to see if the user is logged in, if they are not they are taken to the login page. The problem is that the login page will try to take the user back to the logout page on a successful login."

This is because there is an error in your step-by-step documentation. If you look in the file "Incorporating the user registration solution pack into your existing site.pdf," you will find the following:

"Log In: A link on all public pages is often appropriate beside the Register link. Simply create a link to the users_LogOut.php.
When a registered user accesses the users_LogOut.php page, they will automatically be logged out of the system."

This is clearly an error that tripped me up until I read it carefully. There is a whole paragraph missing. The Log In paragraph should finish with linking to the users_LogIn.php file, and then there should be a Log Out paragraph.

I too am a new user and I find this type of support documentation very disturbing. I can't get my stuff to work either and some of this is due to unclear step-by-step instructions.

Sign in to reply to this post

Eric Mittman

Thanks for pointing this out, I have forwarded this to the documentation team. If you have any other issues or find any errors with the documentation please let us know and we will look into the issue with you.

Sign in to reply to this post

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...