close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

I installed the Mysqli Server Behavior (with project seven) in DW CC 2018 but I can't find it inside DW. Can you tell me where it is?

Thread began 2/20/2018 5:45 pm by Nick V | Last modified 3/05/2018 10:53 am by Nick V | 1506 views | 15 replies

Nick V

I will describe here step by step what I did, you or the others can try and check if there is an error of mine in that:

step 1: login.php page
- I have created a "login.php" page, a simple page with a form on it with 2 fields (username & password) and a submit button.
- Then I've added to it your Mysqli Login User behavior with these settings on the General panel:
Login name: myloginone
Trigger Button: submit pressed
Success redirect: menu.php
Return to restrict page: not checked
Failure Redirect: login-denied.php
Table: table_name
(set also Find Record & Stored values (MM_Username) panels

step 2: menu.php page
- I've created the "menu.php" page, a simple white page with <h1> MENU </h1>
- Then I've added to it the Restrict Access To Page Behavior with these settings:
Trigger: before page load
Authentication: myloginone
Failed Redirect: not-authorized.php

step 3: Duplicated "menu.php" and renamed the duplacated version in "any-restricted-page.php" . Changed h1 to <h1> ANY RESTRICTED PAGE </h1>

step 4: Created a simple "login-denied.php" and a "not-authorized.php" page

In this environment Login works fine: if you insert a right username/password combination you will be redirected to the "menu.php" page. From here you can navigate to the "any-restricted-page.php" and back to "menu.php" page. (if not, you will be redirected to "login-denied.php")

I have also set up the Logout function. So, now let's log out and try in a browser the URL of the "menu.php" and the "any-restricted-page.php", like this: -> it works fine and I get the "not-authorized.php" page -> I get a Server Error that exactly says this: (I copied&pasted it from the browser changed only my sites relevant) :
Warning: Cannot modify header information - headers already sent by (output started at /home/sth/ in /home/sth/ on line 206

And in that line in your /webassist/mysqli/authentication.php you can read:
"... header("location: " . $this->addQuerystring($url)); ..."


I have the same settings in DW CS6 on its Deprecated Server Behavior and there I haven't got this error: "menu.php" and all the other restricted pages go to the "not-authorized.php" page if I'm not logged in and insert their URLs in a browser.

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





Ease of use


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