close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Change Password form not working

Thread began 5/27/2010 6:47 pm by cal375160 | Last modified 6/03/2010 2:31 pm by Jason Byrnes | 940 views | 5 replies |

cal375160

Change Password form not working

I followed the instructions to build a form to change a user's password but it doesn't change the password even though it redirects to the correct page after the submit button is pushed. The code is attached.

Attached Files
Change_Password.txt
Sign in to reply to this post

Jason ByrnesWebAssist

the code looks correct.

try adding the following at line 1:

php:
<?php if(!session_id()) session_start(); ?>
Sign in to reply to this post

cal375160

Still need help...

I added the code you suggested (I think). Now the page doesn't redirect AND no new password is posted. Arrrrgh! (new code attached).

Attached Files
Change_Password2.txt
Sign in to reply to this post

Jason ByrnesWebAssist

the page is not redirecting because the there is a blank spacee at the end of the code I had you add:
"<?php if(!session_id()) session_start(); ?> "


remove the blank space from the end of line 1 fix the redirect problem:
"<?php if(!session_id()) session_start(); ?>"


to troubleshoot the update further, add the following code after the <body> tag:

php:
<pre><?php var_dump($_SESSION); ?></pre>



This will write the contents of the session array to the screen to help me see what is going wrong.

Please post back the session information that is written to the screen.

Sign in to reply to this post

cal375160

Session info

Following is the session information from the screen as you requested:

array(11) {
["test"]=>
string(4) "test"
["id"]=>
string(1) "4"
["WAVT_usersRegistration_025_Errors"]=>
string(0) ""
["users_id"]=>
int(21)
["NewPW"]=>
string(9) "ACIdArxZm"
["WADbSearch1_users_Results"]=>
string(29) " AND (last_name LIKE '%Fox%')"
["random_answer"]=>
int(69)
["captcha_Registration_group_Security_code"]=>
string(5) "KYX56"
["WAVT_DynamicPagePublic_Errors"]=>
string(0) ""
["WAVT_usersRegistration2_Errors"]=>
string(0) ""
["WAVT_changePassword_Errors"]=>
string(0) ""
}


Thanks

Cal

Sign in to reply to this post

Jason ByrnesWebAssist

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:
login.php

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