close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Log In / Profile problem

Thread began 5/10/2010 11:04 pm by cal375160 | Last modified 5/12/2010 10:42 am by Jason Byrnes | 881 views | 3 replies |

cal375160

Log In / Profile problem

When I try to log in on the LogIn page I am sent to the profile page which returns returns the error message "No Record Found". Following is the code I can find relating to the "No Record Found" return:

<div id="UpdateContainer" class="WAATK">
<?php if ($totalRows_WAATKusers > 0) { // Show if recordset not empty ?>
<form action="<?php echo $editFormAction; ?>" method="post" name="WAATKUpdateForm" id="WAATKUpdateForm">
<h1>Profile</h1>
<table class="WAATKDataTable" cellpadding="0" cellspacing="0" border="0">
<tr>
<th>Email:</th>
<td><?php echo(str_replace('"', '&quot;', $row_WAATKusers['email'])); ?></td>
</tr>
<tr>
<th>Password:</th>
<td><input type="password" class="WAATKTextField" name="password" id="password" value="<?php echo(str_replace('"', '&quot;', $row_WAATKusers['password'])); ?>" /></td>
</tr>
<tr>
<th>Last Name:</th>
<td><input type="text" class="WAATKTextField" name="last_name" id="last_name" value="<?php echo(str_replace('"', '&quot;', $row_WAATKusers['last_name'])); ?>" size="32" /></td>
</tr>
<tr>
<th>First Name:</th>
<td><input type="text" class="WAATKTextField" name="first_name" id="first_name" value="<?php echo(str_replace('"', '&quot;', $row_WAATKusers['first_name'])); ?>" size="32" /></td>
</tr>
<tr>
<th>Street Address:</th>
<td><input type="text" class="WAATKTextField" name="street_address" id="street_address" value="<?php echo(str_replace('"', '&quot;', $row_WAATKusers['street_address'])); ?>" size="32" /></td>
</tr>
<tr>
<th>City and Colonia:</th>
<td><input type="text" class="WAATKTextField" name="city_colonia" id="city_colonia" value="<?php echo(str_replace('"', '&quot;', $row_WAATKusers['city_colonia'])); ?>" size="32" /></td>
</tr>
<tr>
<th>State or Prov:</th>
<td><input type="text" class="WAATKTextField" name="state_prov" id="state_prov" value="<?php echo(str_replace('"', '&quot;', $row_WAATKusers['state_prov'])); ?>" size="32" /></td>
</tr>
<tr>
<th>Postal Code:</th>
<td><input type="text" class="WAATKTextField" name="postal_code" id="postal_code" value="<?php echo(str_replace('"', '&quot;', $row_WAATKusers['postal_code'])); ?>" size="32" /></td>
</tr>
<tr>
<th>Country:</th>
<td><input type="text" class="WAATKTextField" name="country" id="country" value="<?php echo(str_replace('"', '&quot;', $row_WAATKusers['country'])); ?>" size="32" /></td>
</tr>
</table>
<div class="WAATKButtonRow">
<input type="image" hspace="0" vspace="0" border="0" name="Update" id="Update" value="Update" alt="Update" src="WA_SecurityAssist/images/Pacifica/Refined_update.gif" />
<input name="id" type="hidden" id="WAATKUpdateRecordID" value="<?php echo(rawurlencode($row_WAATKusers['id'])); ?>" />
<input type="hidden" name="MM_update" value="WAATKUpdateForm" />
</div>
</form>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_WAATKusers == 0) { // Show if recordset empty ?>
<div>No record found.</div>
<?php } // Show if recordset empty ?>


Can someone help?

Sign in to reply to this post

Jason ByrnesWebAssist

please send a copy of the login page and the profile page so I can examine the code.

Sign in to reply to this post

cal375160

LogIn Page and Profile Page

Here are these pages as you requested. Thanks for your help.

Cal

Attached Files
LogIn.txt
Profile.txt
Sign in to reply to this post

Jason ByrnesWebAssist

I dont see any problems in the code, I'm wondering if the server has a problem managing session state.

See the following post for a php file to use for testing you host server session management:
showpost.php?p=23826&postcount=2

if the sessiontest.php file fails, you will need to contact the host to have them fix the problem.

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