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

Security Assist ==syntax error unexpected T_CONSTANT_ENCAPSED_STRING

Thread began 6/18/2010 4:25 pm by wschaepe397797 | Last modified 6/23/2010 8:43 pm by wschaepe397797 | 1381 views | 10 replies

wschaepe397797

reply - I got it!! The problem is solved

You were correct. It had to do with the connections file. What I had to do is make the username and password for the DB on the server exactly like it is on my local server. Then it worked fine.

BUT-- the problem is the user name and password on my local server is very weak. I would like to make the username and password like I had it on the server. But if I do that, then I can't connect locally to the DB to set up the login page using the wizard because unless I can connect locally, I can't tell it what tables and Columns to use.

Can I set up the connection with the local DB and the weak username and password and then edit the file so that it will now use the username and password for the remote server (they would be different and stronger)? And if so what do I have to edit?


Also when I run the wizard, it messes up the top php and leaves stuff out. I uploaded a ZIP of the bad file but here are the first few lines of the code. You can see the missing stuff like <?PHP>and ?> tags and a couple of lines missing.

php require_once('Connections/local_columbj7_members.php');php require_once( "WA_SecurityAssist/Helper_PHP.php" ); $local_columbj7_members,
"database" => $database_local_columbj7_members,
"tableName" => "members",


Do you have any thoughts on why the code is messed up from the wizard? Also do you have any clue as to why Dreamweaver makes the Form action line into two lines (lines 30 and 31)? If I make it one line as you said, it works?

At least I know how to fix the output of the wizard so that the code is correct.

Thanks a lot for your help!!

Regards,
Bill

Attached Files
members_LogIn30.ZIP

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