close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

error data bride

Thread began 3/17/2015 10:44 am by QuiruNet | Last modified 3/17/2015 11:37 am by Jason Byrnes | 1134 views | 5 replies |

QuiruNet

error data bride

when i use show region utility. Happens. thanks

Notice: Undefined index: pass in /var/www/vhosts/mueblesvillamor.es/httpdocs/mi-cuenta/index.php on line 379 Notice: Undefined index: error in /var/www/vhosts/mueblesvillamor.es/httpdocs/mi-cuenta/index.php on line 386 Notice: Undefined index: not in /var/www/vhosts/mueblesvillamor.es/httpdocs/mi-cuenta/index.php on line 393

Sign in to reply to this post

Jason ByrnesWebAssist

by default DW does not use asset() which it should for GET variables.

in the show region behavior, when you select a URL Variable binding, the code will look like:
<?php echo $_GET['error']; ?>

you should change that to use asset to prevent undefined index errors if the URRL variable is not set:
<?php echo(isset($_GET['error'])?$_GET['error']:""); ?>


this is a limitation to the DW Bindings panel.

Sign in to reply to this post

QuiruNet

info

I have to include the code here:

<?php
if ("".$_GET['pass'] ."" == "1") { // WebAssist Show If
?>
<div class="pass">TE HAS DADO DE ALTA CON EXITO EN NUESTRA PÁGINA </div>
<?php
} // ("".$_GET['pass'] ."" == "1")
?>

Sign in to reply to this post

Jason ByrnesWebAssist

you don't need to edit the code, you can edit the behavior.

in the behavior, when you select the pass binding, the biding code will look like:
<?php echo $_GET['pass']; ?>

change that to include the asset function:
<?php echo(isset($_GET['pass'])?$_GET['pass']:""); ?>

Sign in to reply to this post

QuiruNet

thanks

Thanks, it works.

Is a dreamweaver problem?

Sign in to reply to this post

Jason ByrnesWebAssist

yes, the DW Bindings panel doesn't write the asset code, it leaves that off, so if you have a page that references a URL binding but it doesn't exist, it will cause that error.

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