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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Password field on userupdate page.

Thread began 2/01/2015 1:00 pm by Kumel | Last modified 2/05/2015 1:01 pm by Jason Byrnes | 963 views | 7 replies |

Kumel

Password field on userupdate page.

i got userupdate page by security assist.
I wanna make all fields optionals also don't want to include password text field in the same page.(userupdate) may be a small modal pop up or different page where different form seperately for changing password should be fine with all other data as it is.
What and how should i make changes for it?
Attached is a userupdate page.

Any tutorials for the same would be awesome.


Regards

Sign in to reply to this post

Jason ByrnesWebAssist

you can remove the password columns from the page, edit the server validation behavior to remove the validation for the password fields and edit the update record server behavior to remove the bindings for the user password column


you would then need to create the separate password update page. On the password update page add the password update form and the Update recordset server behavior.

in the update behavior, use the UserID session as the ID Value same as on the user update page.

Sign in to reply to this post

Kumel

i recreated userupdate page just for password fields. page named as userupdate2.php

Now userupdate2.php page has only password fields.
but when i open the page. i get an error.
please can you check the page..?

Error shown is :

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@gmail.com' at line 1

I had logged in using gmail ac.

Sign in to reply to this post

Jason ByrnesWebAssist

edit the recordset and make sure to set the Type for the ParamUserEmail variable to text, it is currently set to be an integer, but contains a text string which is the cause of the error.

Sign in to reply to this post

Kumel

i m getting an error on userupdate2.php when i enter passwords (password fields)

Notice: Undefined variable: con in /Applications/XAMPP/xamppfiles/htdocs/showoffgallery/userupdate2.php on line 5

Notice: Undefined variable: _SESSION in /Applications/XAMPP/xamppfiles/htdocs/showoffgallery/userupdate2.php on line 12

Notice: Undefined variable: WA_AB_Split in /Applications/XAMPP/xamppfiles/htdocs/showoffgallery/userupdate2.php on line 12

Notice: Undefined index: Log_In_group_Password in /Applications/XAMPP/xamppfiles/htdocs/showoffgallery/userupdate2.php on line 12

Notice: Undefined variable: row_SecurityAssistusers in /Applications/XAMPP/xamppfiles/htdocs/showoffgallery/userupdate2.php on line 12

Notice: Undefined variable: WA_AB_Split in /Applications/XAMPP/xamppfiles/htdocs/showoffgallery/userupdate2.php on line 16

Warning: explode(): Empty delimiter in /Applications/XAMPP/xamppfiles/htdocs/showoffgallery/userupdate2.php on line 16

Notice: Undefined variable: WA_AB_Split in /Applications/XAMPP/xamppfiles/htdocs/showoffgallery/userupdate2.php on line 23

Warning: explode(): Empty delimiter in /Applications/XAMPP/xamppfiles/htdocs/showoffgallery/userupdate2.php on line 23

Notice: Undefined variable: database_con in /Applications/XAMPP/xamppfiles/htdocs/showoffgallery/userupdate2.php on line 27

Warning: mysql_select_db() expects parameter 2 to be resource, null given in /Applications/XAMPP/xamppfiles/htdocs/showoffgallery/userupdate2.php on line 28

Fatal error: Call to undefined function WA_AB_generateInsertParams() in /Applications/XAMPP/xamppfiles/htdocs/showoffgallery/userupdate2.php on line 30

& on update server behaviour only password field was selected.

FYI, I created this userupdate2.php & login2.php page from create security assist.

login.php & user-update were earlier made from security assist.
i wanna use login.php as default login page & user-update.php for changing general info like name & etc. & userupdate2.php is only for changing password.

Sign in to reply to this post

Ray BorduinWebAssist

What are you trying to do on this page? The errors are because you have code to update the user table that is above the includes. Moving lines 1-41 down below the include files that currently end on line 47 will correct that.

But I'm a bit confused about what you are trying to do with that update in the first place. It looks like it is updating the database for logged in users and encrypting the password field. But then you have another update doing it again on lines 135-175.

Instead of moving the update on the top of the page it may be more appropriate to remove it, since it appears to be repetitive.

Sign in to reply to this post

Kumel

I removed password field from userupdate (original by securityassist) page.

I wanted a seperate page for changing password.
So i created userupdate2.php page just for changing password.
userupdate2.php has only password & confirm password field.

That was the basic idea.

Sign in to reply to this post

Jason ByrnesWebAssist

like ray suggested:

The errors are because you have code to update the user table that is above the includes. Moving lines 1-41 down below the include files that currently end on line 47 will correct that.

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