close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

extension places php code in my asp page

Thread began 5/26/2010 4:49 am by pipm98004 | Last modified 5/26/2010 9:46 am by Jason Byrnes | 2279 views | 7 replies |

pipm98004

extension places php code in my asp page

Hi There,

I am new to SecurityAssist (paid for it 2 days ago), I am using Adobe Dreamweaver CS3 (have been using dreamweaver for about 8 years so am very familiar with it)

All I am trying to do is create a login page - the standard Members_Login.asp.

At the end of the 3rd step when it tries to create the page i get
"While executing onClick in SecurityAssistWizard.htm, a JavaScript error occured" with just an OK button, which when clicked just takes you back to the error message.

I have followed all of the suggestions for removing the cache, rename the config file, delete and reload all my extensions (what a pain that is). I have even re-downloaded the extension.

I am still getting the error message
"While executing onClick in SecurityAssistWizard.htm, a JavaScript error occured"

It looks like it is inserting php code into the asp page. Example below

<div id="LogInContainer" class="WAATK">
<form action="<?php echo ($_SERVER["PHP_SELF"].(isset($_SERVER["QUERY_STRING"])?"?".htmlentities($_SERVER["QUERY_STRING"]):""));?>" method="post" name="WAATKLogInForm" id="WAATKLogInForm">
<h1>Log In</h1>
<table class="WAATKDataTable" cellpadding="0" cellspacing="0" border="0">
<tr>
<th>User name</th>
<td><input type="text" class="WAATKTextField" name="username" value="<?php echo((isset($_COOKIE["RememberMeUN"]) && isset($_COOKIE["RememberMePWD"]))?$_COOKIE["RememberMeUN"]:"") ?>" /></td>
</tr>
<tr>
<th>Password</th>
<td><input type="password" class="WAATKTextField" name="userpassword" value="<?php echo((isset($_COOKIE["RememberMePWD"]))?$_COOKIE["RememberMePWD"]:"") ?>" /></td>
</tr>
<tr>
<th class="WAATKDataTableHeader"><input type="checkbox" name="remembermeoption" <?php echo((isset($_COOKIE["RememberMeUN"]))?"checked":"") ?> value="1" /></th>
<td class="WAATKDataTableCell">Remember me</td>
</tr>
</table>
<div class="WAATKButtonRow">
<input type="image" hspace="0" vspace="0" border="0" name="LogIn" id="LogIn" value="Log In" alt="Log In" src="WA_SecurityAssist/images/Pacifica/Refined_login.gif" />
</div>
</form>
</div>

I assume this is wrong.

I purchased this product because i thought it might help me to remove the labourious process of creating user login and admin pages for page level access. If i cannot get a resolution to this problem soon I will have to go back to old way of just hand coding - at least i would have finished the site!!!

PLEASE PLEASE PLEASE HELP Me. - What am i doing wrong? - Is there a configuration setting that i have missed?

regards

Pip

Sign in to reply to this post

CraigRBeta Tester

Oh dear.

I am pretty sure that asp is no longer supported.

Someone from WA may be able to advise if an earlier version of Security Assist supports asp

Sign in to reply to this post

pipm98004

double checked

Hi CraigR

I have just been and checked in the documentation and on the website, it doesn't say anywhere that it is only for php!

If this is the case do you think that they will do a refund? The extension will be no use to me whatsoever. :-(

cheers

Pip

Sign in to reply to this post

CraigRBeta Tester

I can't speak for WA as I don't work for them, but I am sure that, as SecurityAssist is an extension and not a solution, it is eligible for a refund within 15 days if it doesn't meet your requirements.

there is an entry in the faq section here securityassist/

under the section 'do you offer a trial or demo'

Although not very obvious, php is alluded to for extensions on this page dreamweaver-extensions/

Sign in to reply to this post

Jason ByrnesWebAssist

Security Assist Is compatible with the ASP server model.

The type of code generated by the wizard will be determined by a couple of factors:
1) The server model specified on the Testing Server tab of the site definition

2) The type of document that is open in Dreamweaver when you start the Wizard.

If you have a PHP page open when the wizard starts, it will generate PHP code.

to generate ASP code, Set the Server Model in the site Definition to ASP/VB Script or ASP/Javascript. Then create a new ASP Page and save it to your site.

Have this new ASP page open in Dreamweaver before starting the security assist wizard.

Sign in to reply to this post

CraigRBeta Tester

Oops, I stand corrected.

Sign in to reply to this post

pipm98004

Hi Jason

thank you for your reply.

I have never used php anywhere on my site. But I followed your instructions by creating the asp page (blank this time - i didn't even apply my template to it). Ran the securityassist - it now creates and saves the page without an extension and the code within it is exactly the same as posted earlier (in php). I did save the page with an asp extension but it didn't make any difference.

Any more suggestions please.

regards

Pip

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