close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Unable to log in.

Thread began 1/20/2011 7:47 am by gpaul | Last modified 1/21/2011 8:33 am by Jason Byrnes | 3305 views | 15 replies |

gpaul

Unable to log in.

I have created a digital download file, following the tutorial provided on the site. I have created the databases using Wa_Commerce_xxx.sql, inserted my information to be able to log in, created download_center.php, set up Security Assist.

I am unable to log in. After some failures, I set log in fail to the download_center.php just to test the DL, and I get the error message that Widows Could not Display the page. All files are on the testing server. So it would seem my issue is with Security Assist.

I'm sorry, I am just not sure what code to post for this, if someone could let me know.

Thank you

Gary

Sign in to reply to this post

Jason ByrnesWebAssist

can you send me your login page, the download page and the WA_SecurityAssist/HelperGroupRules_php.php page in a zip archive so i can see how it is set up.

Sign in to reply to this post

gpaul

Thank you, find attached the files.

Gary

Attached Files
johnfin.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the login looks OK. lets double check that the testing server is properly set for sessions. use the session test page form the following thread to test the server:
showpost.php?p=23826&postcount=2

Sign in to reply to this post

gpaul

This is what I got

This link does not contain the URL variable, so it will not set the session variable again, but the session variables value should not be changed.

Session Test = test
(When the page is first loaded, the session variable test will = NULL, when you click the first link, the session variable test will be set to test. Clicking the second link will only reload the page, the session variable test should still equal test, if it equals NULL, your server has a problem with session management.

Session ID = 9aq0et0bjugbqrqr7gqetm4fd3
(NOTE: if sessions are working correctly, the session ID should not change.)

Sign in to reply to this post

Jason ByrnesWebAssist

what do you get when clicking the second link, that is the key

Sign in to reply to this post

gpaul

That was it, there was not change... I'll click first and paste, then second and paste

First

This link does not contain the URL variable, so it will not set the session variable again, but the session variables value should not be changed.

Session Test = test
(When the page is first loaded, the session variable test will = NULL, when you click the first link, the session variable test will be set to test. Clicking the second link will only reload the page, the session variable test should still equal test, if it equals NULL, your server has a problem with session management.

Session ID = 9aq0et0bjugbqrqr7gqetm4fd3
(NOTE: if sessions are working correctly, the session ID should not change.)

Second

This link does not contain the URL variable, so it will not set the session variable again, but the session variables value should not be changed.

Session Test = test
(When the page is first loaded, the session variable test will = NULL, when you click the first link, the session variable test will be set to test. Clicking the second link will only reload the page, the session variable test should still equal test, if it equals NULL, your server has a problem with session management.

Session ID = 9aq0et0bjugbqrqr7gqetm4fd3
(NOTE: if sessions are working correctly, the session ID should not change.)

Sign in to reply to this post

Jason ByrnesWebAssist

just to double check, you have registered a user through the registration page, right?

add the following code at line 1 of the login page and the download page to turn on error reporting:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
Sign in to reply to this post

gpaul

[QUOTE=Jason Byrnes;87768]just to double check, you have registered a user through the registration page, right?

I beleive so, I had created the log in page a while back, had entered my information. I did have to manully enter my username directly into the database because the form did not have an input for it.

The error message on the download_center page is

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampplite\htdocs\johnfin\download_center.php:5) in C:\xampplite\htdocs\johnfin\WA_SecurityAssist\Helper_PHP.php on line 5

Warning: Cannot modify header information - headers already sent by (output started at C:\xampplite\htdocs\johnfin\download_center.php:5) in C:\xampplite\htdocs\johnfin\WA_SecurityAssist\Helper_PHP.php on line 67

For the log in, the page displays, however there is this error message


Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampplite\htdocs\johnfin\cust_login_LogIn.php:4) in C:\xampplite\htdocs\johnfin\cust_login_LogIn.php on line 6

Sign in to reply to this post

Jason ByrnesWebAssist

the error messages are showing because you left blank space between php code blocks when you pasted the error code I gave, make sure there are no blank lines or spaces between the error code and the next php code block.

can you send a backup of the users table from your database please.

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